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: translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") [: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.001307/0.001307, allocations: 188.7 kB / 7.805 MB, free: 2.473 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4505/0.4505, allocations: 90.85 MB / 99.07 MB, free: 14.95 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.214/1.214, allocations: 221.4 MB / 342.8 MB, free: 5.211 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.0008909/0.0008909, allocations: 92.88 kB / 415.5 MB, free: 6.434 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.652e-06/6.692e-06, allocations: 0 / 493.9 MB, free: 8.078 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3429, allocations: 72.3 MB / 0.5529 GB, free: 73.36 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.618/3.961, allocations: 1.824 GB / 2.377 GB, free: 235.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/3.961, allocations: 92.2 kB / 2.377 GB, free: 235.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 5.571/9.532, allocations: 1.816 GB / 4.193 GB, free: 31.85 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001638/9.533, allocations: 31.98 kB / 4.193 GB, free: 31.82 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 0.004296/9.537, allocations: 1.199 MB / 4.195 GB, free: 30.57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/9.537, allocations: 8.031 kB / 4.195 GB, free: 30.56 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/9.538, allocations: 186.5 kB / 4.195 GB, free: 30.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003979/9.542, allocations: 1.393 MB / 4.196 GB, free: 28.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.135e-05/9.542, allocations: 16 kB / 4.196 GB, free: 28.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001659/9.543, allocations: 36 kB / 4.196 GB, free: 28.88 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007551/9.543, allocations: 0.5095 MB / 4.197 GB, free: 28.36 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008483/9.544, allocations: 0.7059 MB / 4.197 GB, free: 27.58 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/9.544, allocations: 0 / 4.197 GB, free: 27.58 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.832e-05/9.544, allocations: 7.906 kB / 4.197 GB, free: 27.57 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/9.544, allocations: 16 kB / 4.197 GB, free: 27.56 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003926/9.548, allocations: 4.162 MB / 4.201 GB, free: 23.16 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005611/9.549, allocations: 458.1 kB / 4.202 GB, free: 22.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003319/9.549, allocations: 334.7 kB / 4.202 GB, free: 22.37 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002976/9.549, allocations: 198.2 kB / 4.202 GB, free: 22.14 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003141/9.55, allocations: 274.9 kB / 4.203 GB, free: 21.85 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 3.456e-06/9.55, allocations: 0 / 4.203 GB, free: 21.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.001155/9.551, allocations: 0.5169 MB / 4.203 GB, free: 21.32 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/9.551, allocations: 93 kB / 4.203 GB, free: 21.21 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/9.552, allocations: 0.8757 MB / 4.204 GB, free: 20.32 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.1e-05/9.552, allocations: 29.7 kB / 4.204 GB, free: 20.29 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/9.552, allocations: 332.2 kB / 4.204 GB, free: 19.95 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.362e-05/9.552, allocations: 106.4 kB / 4.205 GB, free: 19.85 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.213e-05/9.553, allocations: 0 / 4.205 GB, free: 19.85 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.939e-05/9.553, allocations: 333.9 kB / 4.205 GB, free: 19.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002749/9.553, allocations: 200.9 kB / 4.205 GB, free: 19.32 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003993/9.553, allocations: 0.5171 MB / 4.206 GB, free: 18.66 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003369/9.554, allocations: 298.3 kB / 4.206 GB, free: 18.37 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/9.554, allocations: 4 kB / 4.206 GB, free: 18.37 MB / 0.6042 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009248/9.555, allocations: 0.6453 MB / 4.206 GB, free: 17.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004501/9.555, allocations: 2.107 MB / 4.209 GB, free: 15.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/9.555, allocations: 4 kB / 4.209 GB, free: 15.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/9.555, allocations: 8 kB / 4.209 GB, free: 15.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005476/9.556, allocations: 111.9 kB / 4.209 GB, free: 15.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.685e-05/9.556, allocations: 15.92 kB / 4.209 GB, free: 15.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/9.557, allocations: 95.5 kB / 4.209 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.648e-05/9.557, allocations: 28 kB / 4.209 GB, free: 15.19 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/9.557, allocations: 4.109 kB / 4.209 GB, free: 15.19 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005584/9.557, allocations: 457 kB / 4.209 GB, free: 14.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/9.557, allocations: 8 kB / 4.209 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/9.557, allocations: 8 kB / 4.209 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004445/9.558, allocations: 112.5 kB / 4.209 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/9.558, allocations: 15.84 kB / 4.209 GB, free: 14.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000936/9.559, allocations: 91.59 kB / 4.209 GB, free: 14.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.843e-05/9.559, allocations: 24 kB / 4.209 GB, free: 14.49 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.0001451/9.559, allocations: 128.8 kB / 4.21 GB, free: 14.36 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/9.559, allocations: 98.72 kB / 4.21 GB, free: 14.26 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007672/9.56, allocations: 483 kB / 4.21 GB, free: 13.77 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/9.56, allocations: 4 kB / 4.21 GB, free: 13.77 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/9.56, allocations: 4 kB / 4.21 GB, free: 13.77 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/9.56, allocations: 7.891 kB / 4.21 GB, free: 13.76 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001912/9.562, allocations: 1.358 MB / 4.211 GB, free: 12.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/9.562, allocations: 4 kB / 4.211 GB, free: 12.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003415/9.562, allocations: 72.11 kB / 4.212 GB, free: 12.26 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/9.562, allocations: 4 kB / 4.212 GB, free: 12.25 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/9.562, allocations: 8 kB / 4.212 GB, free: 12.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/9.562, allocations: 4 kB / 4.212 GB, free: 12.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/9.562, allocations: 3.984 kB / 4.212 GB, free: 12.24 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005969/9.563, allocations: 0.6734 MB / 4.212 GB, free: 11.49 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003711/9.563, allocations: 219.8 kB / 4.212 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/9.563, allocations: 4 kB / 4.212 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006623/9.564, allocations: 75.75 kB / 4.213 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.618e-05/9.564, allocations: 23.97 kB / 4.213 GB, free: 11.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/9.564, allocations: 15.98 kB / 4.213 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0007327/9.565, allocations: 0.6924 MB / 4.213 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001432/9.566, allocations: 471.4 kB / 4.214 GB, free: 9.973 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.00141/9.568, allocations: 1.111 MB / 4.215 GB, free: 8.859 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001115/9.569, allocations: 0.7803 MB / 4.216 GB, free: 8.066 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/9.569, allocations: 8 kB / 4.216 GB, free: 8.059 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002527/9.569, allocations: 208.8 kB / 4.216 GB, free: 7.855 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002869/9.572, allocations: 0.533 MB / 4.216 GB, free: 7.332 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002944/9.575, allocations: 1.402 MB / 4.218 GB, free: 5.871 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009567/9.576, allocations: 1.268 MB / 4.219 GB, free: 4.578 MB / 0.6042 GB Notification: Performance of SimCode: time 2.064e-06/9.576, allocations: 4 kB / 4.219 GB, free: 4.574 MB / 0.6042 GB Notification: Performance of Templates: time 0.2667/9.843, allocations: 23.33 MB / 4.242 GB, free: 195.4 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)