Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(Annex60.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ChimneyShaftWithVolume") [: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/Annex60 1.0.0/package.mo): time 0.2812/0.2812, allocations: 54.39 MB / 61.67 MB, free: 11.16 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001185/0.001185, allocations: 186.9 kB / 75.37 MB, free: 1.516 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.542/1.542, allocations: 194.2 MB / 283.2 MB, free: 3.555 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001777/0.001777, allocations: 125.5 kB / 341.3 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.755e-06/7.795e-06, allocations: 0 / 404.9 MB, free: 27.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1339, allocations: 57.65 MB / 462.6 MB, free: 1.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.255/4.389, allocations: 2.14 GB / 2.592 GB, free: 61.84 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/4.389, allocations: 83.95 kB / 2.592 GB, free: 61.75 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$mRoo_flow.getDerTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$mRoo_flow.getTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$mRoo_flow.getTableTimeTmin. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$mRoo_flow.getTableTimeTmax. Notification: Performance of FrontEnd: time 3.11/7.499, allocations: 0.9372 GB / 3.529 GB, free: 53.22 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002867/7.499, allocations: 46.75 kB / 3.529 GB, free: 53.21 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 371 * Number of variables: 371 Notification: Performance of Generate backend data structure: time 0.009782/7.509, allocations: 2.304 MB / 3.531 GB, free: 52.18 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.992e-05/7.509, allocations: 12.34 kB / 3.531 GB, free: 52.18 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005098/7.514, allocations: 0.5434 MB / 3.532 GB, free: 52.07 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005421/7.519, allocations: 1.38 MB / 3.533 GB, free: 51.67 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000132/7.52, allocations: 44.53 kB / 3.533 GB, free: 51.67 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007962/7.52, allocations: 96.78 kB / 3.533 GB, free: 51.66 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004254/7.525, allocations: 1.361 MB / 3.535 GB, free: 51.66 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004511/7.529, allocations: 1.566 MB / 3.536 GB, free: 51.46 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.741e-05/7.529, allocations: 3.75 kB / 3.536 GB, free: 51.46 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003818/7.53, allocations: 0 / 3.536 GB, free: 51.46 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.869e-05/7.53, allocations: 64.14 kB / 3.536 GB, free: 51.46 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01394/7.544, allocations: 7.322 MB / 3.543 GB, free: 48.05 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002142/7.546, allocations: 1.075 MB / 3.544 GB, free: 48.02 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008706/7.547, allocations: 0.5805 MB / 3.545 GB, free: 48 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006046/7.547, allocations: 0.6825 MB / 3.546 GB, free: 47.25 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001211/7.549, allocations: 0.7694 MB / 3.546 GB, free: 47.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=109): time 6.402e-06/7.549, allocations: 5.188 kB / 3.546 GB, free: 47.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=109): time 0.003505/7.552, allocations: 1.22 MB / 3.548 GB, free: 46.97 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/7.552, allocations: 374.3 kB / 3.548 GB, free: 46.53 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002054/7.554, allocations: 0.8948 MB / 3.549 GB, free: 46.38 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002203/7.555, allocations: 31.7 kB / 3.549 GB, free: 46.35 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006499/7.555, allocations: 0.5428 MB / 3.549 GB, free: 46.03 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004196/7.556, allocations: 373.4 kB / 3.55 GB, free: 45.79 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.881e-05/7.556, allocations: 0 / 3.55 GB, free: 45.79 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001118/7.556, allocations: 347.4 kB / 3.55 GB, free: 45.48 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007486/7.557, allocations: 467.1 kB / 3.551 GB, free: 45.48 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008111/7.558, allocations: 0.6961 MB / 3.551 GB, free: 45.26 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/7.559, allocations: 0.5807 MB / 3.552 GB, free: 45.24 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/7.559, allocations: 3.75 kB / 3.552 GB, free: 45.24 MB / 0.5261 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002415/7.561, allocations: 1.339 MB / 3.553 GB, free: 45.12 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002604/7.561, allocations: 1.146 MB / 3.554 GB, free: 43.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/7.561, allocations: 0 / 3.554 GB, free: 43.94 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.945e-05/7.561, allocations: 11.28 kB / 3.554 GB, free: 43.94 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/7.563, allocations: 257.9 kB / 3.555 GB, free: 43.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.469e-05/7.563, allocations: 10.47 kB / 3.555 GB, free: 43.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002033/7.565, allocations: 160.7 kB / 3.555 GB, free: 43.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001414/7.565, allocations: 52.56 kB / 3.555 GB, free: 43.89 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/7.565, allocations: 7.812 kB / 3.555 GB, free: 43.89 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002066/7.567, allocations: 1.17 MB / 3.556 GB, free: 43.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/7.567, allocations: 4.625 kB / 3.556 GB, free: 43.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/7.567, allocations: 7.281 kB / 3.556 GB, free: 43.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/7.568, allocations: 244.2 kB / 3.556 GB, free: 43.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.798e-05/7.568, allocations: 6.562 kB / 3.556 GB, free: 43.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001918/7.57, allocations: 147.2 kB / 3.556 GB, free: 43.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001394/7.57, allocations: 45.11 kB / 3.556 GB, free: 43.82 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 136 * 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.0003879/7.571, allocations: 132 kB / 3.556 GB, free: 43.71 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005612/7.571, allocations: 143.8 kB / 3.557 GB, free: 43.64 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002505/7.574, allocations: 1.24 MB / 3.558 GB, free: 43.55 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/7.574, allocations: 12.59 kB / 3.558 GB, free: 43.55 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/7.574, allocations: 0 / 3.558 GB, free: 43.55 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001444/7.575, allocations: 0.9798 MB / 3.559 GB, free: 43.46 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00518/7.58, allocations: 2.969 MB / 3.562 GB, free: 42.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/7.581, allocations: 7.812 kB / 3.562 GB, free: 42.95 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001281/7.582, allocations: 252.3 kB / 3.562 GB, free: 42.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.495e-05/7.582, allocations: 7.594 kB / 3.562 GB, free: 42.95 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.464e-05/7.582, allocations: 15.78 kB / 3.562 GB, free: 42.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/7.582, allocations: 6.781 kB / 3.562 GB, free: 42.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/7.582, allocations: 5.5 kB / 3.562 GB, free: 42.95 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002945/7.585, allocations: 1.996 MB / 3.564 GB, free: 42.61 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001108/7.586, allocations: 390.5 kB / 3.564 GB, free: 42.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002672/7.586, allocations: 3.75 kB / 3.564 GB, free: 42.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001364/7.588, allocations: 111.7 kB / 3.564 GB, free: 42.43 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/7.588, allocations: 52.64 kB / 3.564 GB, free: 42.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.198e-05/7.588, allocations: 48.66 kB / 3.564 GB, free: 42.43 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0009593/7.589, allocations: 0.6786 MB / 3.565 GB, free: 42.32 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002791/7.592, allocations: 1.085 MB / 3.566 GB, free: 42.16 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 9 (roo.dynBal.U,roo.dynBal.m,roo.dynBal.mXi[1],oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.U,sha.vol.dynBal.m,sha.vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 107 * 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.004203/7.596, allocations: 3.07 MB / 3.569 GB, free: 41.04 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003595/7.6, allocations: 1.866 MB / 3.571 GB, free: 40.94 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/7.6, allocations: 4.219 kB / 3.571 GB, free: 40.94 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009491/7.6, allocations: 0.5492 MB / 3.572 GB, free: 40.91 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003919/7.604, allocations: 0.6627 MB / 3.572 GB, free: 40.87 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006331/7.611, allocations: 2.79 MB / 3.575 GB, free: 40.25 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001641/7.612, allocations: 1.584 MB / 3.576 GB, free: 39.52 MB / 0.5261 GB Notification: Performance of SimCode: time 8.41e-07/7.612, allocations: 0.5312 kB / 3.576 GB, free: 39.52 MB / 0.5261 GB Notification: Performance of Templates: time 0.07792/7.69, allocations: 49.41 MB / 3.625 GB, free: 6.785 MB / 0.5261 GB make -j1 -f Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)