Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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/Complex 4.0.0+maint.om/package.mo): time 0.003357/0.003357, allocations: 181.6 kB / 7.457 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6821/0.6821, allocations: 133.5 MB / 141.4 MB, free: 15.68 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.56/1.56, allocations: 221.3 MB / 395 MB, free: 10.25 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 109.2 kB / 477.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 9.158e-06/9.418e-06, allocations: 2.969 kB / 0.5528 GB, free: 88.99 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1843, allocations: 82.3 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.881/4.066, allocations: 1.893 GB / 2.526 GB, free: 64.47 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001947/4.066, allocations: 87.95 kB / 2.526 GB, free: 64.39 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.473/7.539, allocations: 1.075 GB / 3.601 GB, free: 37.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001402/7.539, allocations: 47.98 kB / 3.601 GB, free: 37.91 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.006118/7.545, allocations: 2.166 MB / 3.603 GB, free: 35.69 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/7.545, allocations: 12.02 kB / 3.603 GB, free: 35.68 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003973/7.549, allocations: 0.5556 MB / 3.603 GB, free: 35.12 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002886/7.552, allocations: 1.299 MB / 3.605 GB, free: 33.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.653e-05/7.552, allocations: 48 kB / 3.605 GB, free: 33.72 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001808/7.552, allocations: 87.92 kB / 3.605 GB, free: 33.63 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002061/7.555, allocations: 1.255 MB / 3.606 GB, free: 32.38 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002061/7.557, allocations: 1.468 MB / 3.608 GB, free: 30.83 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.974e-05/7.557, allocations: 7.984 kB / 3.608 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/7.557, allocations: 7.938 kB / 3.608 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-05/7.557, allocations: 54.53 kB / 3.608 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00803/7.565, allocations: 7.353 MB / 3.615 GB, free: 22.98 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/7.566, allocations: 1.039 MB / 3.616 GB, free: 21.93 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006837/7.567, allocations: 0.6116 MB / 3.616 GB, free: 21.32 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006661/7.568, allocations: 0.8633 MB / 3.617 GB, free: 20.27 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000789/7.569, allocations: 0.624 MB / 3.618 GB, free: 19.64 MB / 0.698 GB Notification: Performance of pre-optimization done (n=110): time 3.727e-06/7.569, allocations: 0 / 3.618 GB, free: 19.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=110): time 0.002859/7.571, allocations: 1.259 MB / 3.619 GB, free: 18.37 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/7.571, allocations: 86.11 kB / 3.619 GB, free: 18.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009728/7.572, allocations: 0.8268 MB / 3.62 GB, free: 17.43 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.053e-05/7.572, allocations: 29.7 kB / 3.62 GB, free: 17.39 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002971/7.573, allocations: 496.6 kB / 3.62 GB, free: 16.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002749/7.573, allocations: 366.5 kB / 3.621 GB, free: 16.54 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.314e-05/7.573, allocations: 4 kB / 3.621 GB, free: 16.54 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.342e-05/7.573, allocations: 345.8 kB / 3.621 GB, free: 16.19 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005438/7.574, allocations: 433.8 kB / 3.622 GB, free: 15.77 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000637/7.574, allocations: 0.5996 MB / 3.622 GB, free: 15.11 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009167/7.575, allocations: 0.5342 MB / 3.623 GB, free: 14.57 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/7.575, allocations: 4 kB / 3.623 GB, free: 14.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001861/7.577, allocations: 1.232 MB / 3.624 GB, free: 13.33 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001801/7.577, allocations: 0.9805 MB / 3.625 GB, free: 12.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/7.577, allocations: 0 / 3.625 GB, free: 12.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/7.577, allocations: 8 kB / 3.625 GB, free: 12.28 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/7.579, allocations: 235.7 kB / 3.625 GB, free: 12.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/7.579, allocations: 8 kB / 3.625 GB, free: 12.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/7.58, allocations: 135.1 kB / 3.625 GB, free: 11.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/7.58, allocations: 47.92 kB / 3.625 GB, free: 11.86 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.386e-06/7.58, allocations: 7.938 kB / 3.625 GB, free: 11.86 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001649/7.582, allocations: 1.064 MB / 3.626 GB, free: 10.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/7.582, allocations: 4 kB / 3.626 GB, free: 10.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/7.582, allocations: 12.31 kB / 3.626 GB, free: 10.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009838/7.583, allocations: 223.7 kB / 3.627 GB, free: 10.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/7.583, allocations: 15.84 kB / 3.627 GB, free: 10.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/7.584, allocations: 123.2 kB / 3.627 GB, free: 10.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.24e-05/7.584, allocations: 43.98 kB / 3.627 GB, free: 10.38 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (126): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * 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.0002695/7.585, allocations: 132.2 kB / 3.627 GB, free: 10.24 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002102/7.585, allocations: 142.3 kB / 3.627 GB, free: 10.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00223/7.587, allocations: 1.263 MB / 3.628 GB, free: 8.824 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/7.587, allocations: 16 kB / 3.628 GB, free: 8.809 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/7.587, allocations: 0 / 3.628 GB, free: 8.809 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001436/7.589, allocations: 1.028 MB / 3.629 GB, free: 7.77 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004605/7.593, allocations: 3.022 MB / 3.632 GB, free: 4.652 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/7.593, allocations: 0 / 3.632 GB, free: 4.652 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001268/7.595, allocations: 260 kB / 3.632 GB, free: 4.398 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.188e-05/7.595, allocations: 4 kB / 3.632 GB, free: 4.395 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-05/7.595, allocations: 27.97 kB / 3.632 GB, free: 4.367 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.037e-06/7.595, allocations: 11.94 kB / 3.632 GB, free: 4.355 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/7.595, allocations: 0 / 3.632 GB, free: 4.355 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002608/7.597, allocations: 2.19 MB / 3.635 GB, free: 2.07 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007301/7.598, allocations: 371 kB / 3.635 GB, free: 1.688 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002192/7.598, allocations: 4 kB / 3.635 GB, free: 1.684 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/7.599, allocations: 95.75 kB / 3.635 GB, free: 1.59 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/7.6, allocations: 72.75 kB / 3.635 GB, free: 1.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-05/7.6, allocations: 43.97 kB / 3.635 GB, free: 1.477 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0009154/7.601, allocations: 0.6344 MB / 3.636 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003019/7.604, allocations: 1.013 MB / 3.637 GB, free: 15.81 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (111): * Single equations (assignments): 109 * 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.004658/7.608, allocations: 3.093 MB / 3.64 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002822/7.611, allocations: 1.698 MB / 3.641 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/7.611, allocations: 0 / 3.641 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000888/7.612, allocations: 0.5715 MB / 3.642 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003559/7.616, allocations: 0.6753 MB / 3.643 GB, free: 9.574 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005449/7.621, allocations: 2.762 MB / 3.645 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001436/7.623, allocations: 1.536 MB / 3.647 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of SimCode: time 9.02e-07/7.623, allocations: 4 kB / 3.647 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of Templates: time 0.4509/8.073, allocations: 47.19 MB / 3.693 GB, free: 141.7 MB / 0.7136 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)