Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) [: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/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001325, allocations: 191.8 kB / 7.804 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4863/0.4863, allocations: 90.85 MB / 99.06 MB, free: 14.97 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 221.4 MB / 342.8 MB, free: 5.289 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 93.06 kB / 415.5 MB, free: 9.875 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.185/0.186, allocations: 78.46 MB / 494 MB, free: 11.49 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.5874, allocations: 72.3 MB / 0.553 GB, free: 44.86 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.025/4.612, allocations: 1.824 GB / 2.377 GB, free: 239.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/4.612, allocations: 94.14 kB / 2.378 GB, free: 239 MB / 0.6042 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 5.62/10.23, allocations: 1.817 GB / 4.195 GB, free: 33.62 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/10.23, allocations: 8 kB / 4.195 GB, free: 33.62 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009216/10.23, allocations: 194.4 kB / 4.195 GB, free: 33.43 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003325/10.24, allocations: 1.401 MB / 4.196 GB, free: 31.97 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/10.24, allocations: 16 kB / 4.196 GB, free: 31.95 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-05/10.24, allocations: 40 kB / 4.196 GB, free: 31.91 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007272/10.24, allocations: 0.5056 MB / 4.197 GB, free: 31.41 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007988/10.24, allocations: 0.7125 MB / 4.197 GB, free: 30.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/10.24, allocations: 0 / 4.197 GB, free: 30.62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.585e-05/10.24, allocations: 11.91 kB / 4.197 GB, free: 30.61 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/10.24, allocations: 12 kB / 4.197 GB, free: 30.59 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003171/10.24, allocations: 4.151 MB / 4.201 GB, free: 26.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004945/10.24, allocations: 456.4 kB / 4.202 GB, free: 25.74 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003413/10.24, allocations: 336.6 kB / 4.202 GB, free: 25.41 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002783/10.24, allocations: 198.3 kB / 4.202 GB, free: 25.18 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002981/10.24, allocations: 274.8 kB / 4.203 GB, free: 24.89 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 1.854e-06/10.24, allocations: 0 / 4.203 GB, free: 24.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.0009273/10.24, allocations: 0.5286 MB / 4.203 GB, free: 24.36 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/10.24, allocations: 81.11 kB / 4.203 GB, free: 24.26 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008866/10.25, allocations: 0.8834 MB / 4.204 GB, free: 23.36 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.913e-05/10.25, allocations: 29.7 kB / 4.204 GB, free: 23.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/10.25, allocations: 325.1 kB / 4.204 GB, free: 23 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.808e-05/10.25, allocations: 110.4 kB / 4.205 GB, free: 22.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.24e-05/10.25, allocations: 0 / 4.205 GB, free: 22.89 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.759e-05/10.25, allocations: 333.9 kB / 4.205 GB, free: 22.56 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002326/10.25, allocations: 200.9 kB / 4.205 GB, free: 22.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003954/10.25, allocations: 0.5123 MB / 4.206 GB, free: 21.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003587/10.25, allocations: 290.1 kB / 4.206 GB, free: 21.42 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/10.25, allocations: 4 kB / 4.206 GB, free: 21.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008159/10.25, allocations: 0.6451 MB / 4.206 GB, free: 20.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005359/10.25, allocations: 2.105 MB / 4.209 GB, free: 18.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/10.25, allocations: 4 kB / 4.209 GB, free: 18.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/10.25, allocations: 8 kB / 4.209 GB, free: 18.49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005373/10.25, allocations: 119.8 kB / 4.209 GB, free: 18.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/10.25, allocations: 8 kB / 4.209 GB, free: 18.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008902/10.25, allocations: 103.6 kB / 4.209 GB, free: 18.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.805e-05/10.25, allocations: 31.98 kB / 4.209 GB, free: 18.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.242e-06/10.25, allocations: 4 kB / 4.209 GB, free: 18.23 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005624/10.25, allocations: 449.4 kB / 4.209 GB, free: 17.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/10.25, allocations: 8.656 kB / 4.209 GB, free: 17.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.073e-06/10.25, allocations: 8 kB / 4.209 GB, free: 17.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004432/10.25, allocations: 119.8 kB / 4.209 GB, free: 17.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/10.25, allocations: 11.94 kB / 4.209 GB, free: 17.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006963/10.25, allocations: 99.44 kB / 4.209 GB, free: 17.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.942e-05/10.25, allocations: 28 kB / 4.21 GB, free: 17.52 MB / 0.6042 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): 54 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001174/10.25, allocations: 128.7 kB / 4.21 GB, free: 17.39 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.442e-05/10.25, allocations: 94.78 kB / 4.21 GB, free: 17.29 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006922/10.25, allocations: 487 kB / 4.21 GB, free: 16.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/10.25, allocations: 4 kB / 4.21 GB, free: 16.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/10.25, allocations: 4 kB / 4.21 GB, free: 16.79 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/10.25, allocations: 4 kB / 4.21 GB, free: 16.79 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001556/10.25, allocations: 1.347 MB / 4.212 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/10.25, allocations: 8.062 kB / 4.212 GB, free: 15.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003276/10.25, allocations: 79.81 kB / 4.212 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/10.25, allocations: 4 kB / 4.212 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/10.25, allocations: 4 kB / 4.212 GB, free: 15.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/10.25, allocations: 4 kB / 4.212 GB, free: 15.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/10.25, allocations: 0 / 4.212 GB, free: 15.28 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005846/10.25, allocations: 0.6772 MB / 4.212 GB, free: 14.52 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007674/10.26, allocations: 1.101 MB / 4.213 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002652/10.26, allocations: 219.8 kB / 4.214 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/10.26, allocations: 4 kB / 4.214 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006232/10.26, allocations: 75.77 kB / 4.214 GB, free: 13.03 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.048e-05/10.26, allocations: 27.95 kB / 4.214 GB, free: 13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.76e-05/10.26, allocations: 15.91 kB / 4.214 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.000638/10.26, allocations: 0.6847 MB / 4.214 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002629/10.26, allocations: 0.6595 MB / 4.215 GB, free: 11.63 MB / 0.6042 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): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001357/10.26, allocations: 1.123 MB / 4.216 GB, free: 10.51 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009132/10.26, allocations: 0.792 MB / 4.217 GB, free: 9.703 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/10.26, allocations: 0 / 4.217 GB, free: 9.703 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002698/10.26, allocations: 204.5 kB / 4.217 GB, free: 9.504 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002463/10.27, allocations: 0.5278 MB / 4.218 GB, free: 8.98 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/10.27, allocations: 1.39 MB / 4.219 GB, free: 7.535 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006942/10.27, allocations: 1.271 MB / 4.22 GB, free: 6.238 MB / 0.6042 GB Notification: Performance of SimCode: time 3.5e-07/10.27, allocations: 4 kB / 4.22 GB, free: 6.234 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)