Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDp") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDp") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7415/0.7415, allocations: 141.8 MB / 149.1 MB, free: 13.06 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 189.9 kB / 181.9 MB, free: 9.742 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 221.3 MB / 436 MB, free: 2.168 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009852/0.0009852, allocations: 95.12 kB / 0.507 GB, free: 10.92 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001962/0.001963, allocations: 274.7 kB / 0.5884 GB, free: 7.75 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 1.386e-05/1.389e-05, allocations: 4 kB / 0.6759 GB, free: 14.11 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5354/0.5354, allocations: 82.77 MB / 0.7567 GB, free: 139 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.149/4.684, allocations: 1.831 GB / 2.588 GB, free: 206.7 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/4.684, allocations: 95.75 kB / 2.588 GB, free: 206.7 MB / 0.6982 GB Notification: Performance of FrontEnd: time 2.987/7.672, allocations: 0.9805 GB / 3.569 GB, free: 9.918 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.0001808/7.672, allocations: 31.97 kB / 3.569 GB, free: 9.887 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.004466/7.676, allocations: 1.212 MB / 3.57 GB, free: 8.621 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/7.676, allocations: 8.031 kB / 3.57 GB, free: 8.613 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/7.678, allocations: 190.4 kB / 3.57 GB, free: 8.426 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004218/7.682, allocations: 1.393 MB / 3.571 GB, free: 6.977 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.29e-05/7.682, allocations: 16 kB / 3.571 GB, free: 6.961 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/7.682, allocations: 36 kB / 3.571 GB, free: 6.926 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008544/7.683, allocations: 0.4978 MB / 3.572 GB, free: 6.426 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008894/7.684, allocations: 0.7085 MB / 3.573 GB, free: 5.641 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/7.684, allocations: 7.938 kB / 3.573 GB, free: 5.633 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.862e-05/7.684, allocations: 0 / 3.573 GB, free: 5.633 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/7.684, allocations: 16 kB / 3.573 GB, free: 5.617 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003972/7.688, allocations: 4.163 MB / 3.577 GB, free: 1.203 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005417/7.689, allocations: 454.3 kB / 3.577 GB, free: 0.7461 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003338/7.689, allocations: 331.8 kB / 3.577 GB, free: 428 kB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002888/7.689, allocations: 194.2 kB / 3.578 GB, free: 196 kB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3222/8.012, allocations: 285.8 kB / 3.578 GB, free: 231.9 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=33): time 3.857e-06/8.012, allocations: 0 / 3.578 GB, free: 231.9 MB / 0.6982 GB Notification: Performance of matching and sorting (n=33): time 0.001338/8.013, allocations: 0.5194 MB / 3.578 GB, free: 231.9 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/8.013, allocations: 84.08 kB / 3.579 GB, free: 231.8 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009791/8.014, allocations: 0.8797 MB / 3.579 GB, free: 231.6 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 4.714e-05/8.014, allocations: 25.7 kB / 3.579 GB, free: 231.6 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002214/8.014, allocations: 337.5 kB / 3.58 GB, free: 231.5 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 6.992e-05/8.014, allocations: 108.2 kB / 3.58 GB, free: 231.4 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.249e-05/8.014, allocations: 0 / 3.58 GB, free: 231.4 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 6.068e-05/8.014, allocations: 324.2 kB / 3.58 GB, free: 231.1 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002284/8.015, allocations: 204.8 kB / 3.58 GB, free: 231.1 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003463/8.015, allocations: 0.5177 MB / 3.581 GB, free: 230.8 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003039/8.015, allocations: 288.7 kB / 3.581 GB, free: 230.8 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/8.015, allocations: 3.875 kB / 3.581 GB, free: 230.8 MB / 0.6982 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007896/8.016, allocations: 0.6473 MB / 3.582 GB, free: 230.7 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003583/8.017, allocations: 2.101 MB / 3.584 GB, free: 228.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.527e-06/8.017, allocations: 3.969 kB / 3.584 GB, free: 228.5 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/8.017, allocations: 11.12 kB / 3.584 GB, free: 228.5 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001869/8.018, allocations: 298.9 kB / 3.584 GB, free: 228.5 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002752/8.021, allocations: 6.236 MB / 3.59 GB, free: 222.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/8.022, allocations: 97.69 kB / 3.59 GB, free: 222.6 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.626e-05/8.023, allocations: 28.91 kB / 3.59 GB, free: 222.6 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/8.023, allocations: 3.219 kB / 3.59 GB, free: 222.6 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006185/8.023, allocations: 457.4 kB / 3.591 GB, free: 222.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/8.023, allocations: 7 kB / 3.591 GB, free: 222.6 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/8.023, allocations: 7.125 kB / 3.591 GB, free: 222.6 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006092/8.024, allocations: 153.8 kB / 3.591 GB, free: 222.6 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/8.024, allocations: 9.875 kB / 3.591 GB, free: 222.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007814/8.025, allocations: 88.2 kB / 3.591 GB, free: 222.6 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-05/8.025, allocations: 27.97 kB / 3.591 GB, free: 222.6 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000158/8.025, allocations: 129.2 kB / 3.591 GB, free: 222.5 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/8.025, allocations: 99.38 kB / 3.591 GB, free: 222.5 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008248/8.026, allocations: 496.7 kB / 3.592 GB, free: 222.4 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/8.026, allocations: 3.938 kB / 3.592 GB, free: 222.4 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/8.026, allocations: 3.625 kB / 3.592 GB, free: 222.4 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/8.026, allocations: 0 / 3.592 GB, free: 222.4 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001798/8.028, allocations: 1.351 MB / 3.593 GB, free: 222 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/8.028, allocations: 3.688 kB / 3.593 GB, free: 222 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007323/8.028, allocations: 159.2 kB / 3.593 GB, free: 222 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/8.028, allocations: 6.562 kB / 3.593 GB, free: 222 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.612e-05/8.028, allocations: 3.969 kB / 3.593 GB, free: 222 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002108/8.031, allocations: 6.081 MB / 3.599 GB, free: 216.2 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/8.031, allocations: 6 kB / 3.599 GB, free: 216.2 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006632/8.031, allocations: 0.6762 MB / 3.6 GB, free: 215.8 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003146/8.032, allocations: 217.9 kB / 3.6 GB, free: 215.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/8.032, allocations: 7.062 kB / 3.6 GB, free: 215.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006548/8.032, allocations: 67.47 kB / 3.6 GB, free: 215.7 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.772e-05/8.032, allocations: 29.52 kB / 3.6 GB, free: 215.7 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-05/8.032, allocations: 14.78 kB / 3.6 GB, free: 215.7 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.000708/8.033, allocations: 0.6861 MB / 3.601 GB, free: 215.5 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001318/8.035, allocations: 481.3 kB / 3.601 GB, free: 215.5 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001346/8.036, allocations: 1.11 MB / 3.602 GB, free: 215.3 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.002817/8.039, allocations: 1.018 MB / 3.603 GB, free: 215.3 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/8.039, allocations: 0 / 3.603 GB, free: 215.3 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0007689/8.039, allocations: 311.9 kB / 3.604 GB, free: 215.3 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002454/8.042, allocations: 0.53 MB / 3.604 GB, free: 215.3 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002085/8.044, allocations: 1.397 MB / 3.606 GB, free: 214.9 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006389/8.045, allocations: 1.274 MB / 3.607 GB, free: 214.2 MB / 0.6982 GB Notification: Performance of SimCode: time 4.2e-07/8.045, allocations: 0 / 3.607 GB, free: 214.2 MB / 0.6982 GB Notification: Performance of Templates: time 0.0367/8.081, allocations: 24.15 MB / 3.63 GB, free: 213.9 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDp.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDp.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe 2>&1)