Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.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.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw") translateModel(IDEAS.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw") [: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.003409/0.003409, allocations: 172.3 kB / 7.457 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6805/0.6805, allocations: 133.5 MB / 141.4 MB, free: 15.71 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.583/1.583, allocations: 221.3 MB / 395 MB, free: 10.23 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.001115/0.001115, allocations: 95.67 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.574e-06/7.784e-06, allocations: 2.688 kB / 0.5528 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1498, allocations: 82.3 MB / 0.6332 GB, free: 14.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.787/3.937, allocations: 1.874 GB / 2.507 GB, free: 96.36 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/3.937, allocations: 87.55 kB / 2.507 GB, free: 96.27 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.736/6.673, allocations: 0.6811 GB / 3.188 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.006e-05/6.673, allocations: 21.55 kB / 3.188 GB, free: 116.8 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.003271/6.676, allocations: 1.216 MB / 3.189 GB, free: 116.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.803e-05/6.676, allocations: 9.969 kB / 3.189 GB, free: 116.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001847/6.678, allocations: 249.9 kB / 3.189 GB, free: 116.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/6.68, allocations: 0.6412 MB / 3.19 GB, free: 116 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/6.68, allocations: 19.62 kB / 3.19 GB, free: 116 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/6.68, allocations: 30.38 kB / 3.19 GB, free: 116 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001331/6.681, allocations: 0.8992 MB / 3.191 GB, free: 116 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/6.682, allocations: 0.9265 MB / 3.192 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.013e-05/6.682, allocations: 14.69 kB / 3.192 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.092e-05/6.683, allocations: 0 / 3.192 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.071e-05/6.683, allocations: 13.62 kB / 3.192 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005513/6.688, allocations: 4.53 MB / 3.196 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000817/6.689, allocations: 0.6114 MB / 3.197 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000664/6.69, allocations: 0.5104 MB / 3.197 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001098/6.691, allocations: 1.041 MB / 3.198 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/6.691, allocations: 44.7 kB / 3.199 GB, free: 112 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=52): time 3.246e-06/6.691, allocations: 3.344 kB / 3.199 GB, free: 112 MB / 0.6823 GB Notification: Performance of matching and sorting (n=52): time 0.01247/6.703, allocations: 2.521 MB / 3.201 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/6.703, allocations: 55.75 kB / 3.201 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000937/6.704, allocations: 446.2 kB / 3.201 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002372/6.705, allocations: 25.7 kB / 3.201 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/6.705, allocations: 238.2 kB / 3.202 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002248/6.705, allocations: 175 kB / 3.202 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.475e-05/6.705, allocations: 0 / 3.202 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001425/6.705, allocations: 375.4 kB / 3.202 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005737/6.706, allocations: 364.8 kB / 3.203 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006598/6.706, allocations: 462.1 kB / 3.203 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009226/6.707, allocations: 456.2 kB / 3.203 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/6.707, allocations: 0 / 3.203 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01194/6.719, allocations: 2.509 MB / 3.206 GB, free: 111 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.645e-05/6.72, allocations: 3.75 kB / 3.206 GB, free: 111 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/6.72, allocations: 3.047 kB / 3.206 GB, free: 111 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0101/6.73, allocations: 1.654 MB / 3.208 GB, free: 111 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005951/6.73, allocations: 100.4 kB / 3.208 GB, free: 111 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01155/6.742, allocations: 6.187 MB / 3.214 GB, free: 108.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/6.743, allocations: 47.62 kB / 3.214 GB, free: 108.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/6.743, allocations: 49.41 kB / 3.214 GB, free: 108.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 4,(5,92.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002023/6.743, allocations: 119.2 kB / 3.214 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/6.744, allocations: 69 kB / 3.214 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005326/6.749, allocations: 1.694 MB / 3.216 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.375e-06/6.749, allocations: 7.594 kB / 3.216 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/6.749, allocations: 7.5 kB / 3.216 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/6.749, allocations: 3.844 kB / 3.216 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00586/6.755, allocations: 2.428 MB / 3.218 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/6.755, allocations: 3.656 kB / 3.218 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004733/6.755, allocations: 91.41 kB / 3.218 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00353/6.759, allocations: 0.7197 MB / 3.219 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.345e-05/6.759, allocations: 18.41 kB / 3.219 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005754/6.765, allocations: 4.255 MB / 3.223 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/6.765, allocations: 5.375 kB / 3.223 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005313/6.77, allocations: 2.17 MB / 3.225 GB, free: 105 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006295/6.771, allocations: 214 kB / 3.225 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/6.771, allocations: 11 kB / 3.225 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006653/6.772, allocations: 30.53 kB / 3.225 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/6.772, allocations: 44.97 kB / 3.225 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-05/6.772, allocations: 25.69 kB / 3.225 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004496/6.772, allocations: 347 kB / 3.226 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00181/6.774, allocations: 410.1 kB / 3.226 GB, free: 104.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 49 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,92.0%) 3,(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002882/6.777, allocations: 1.932 MB / 3.228 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003413/6.78, allocations: 1.243 MB / 3.229 GB, free: 104 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/6.78, allocations: 7.156 kB / 3.229 GB, free: 104 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001755/6.782, allocations: 0.812 MB / 3.23 GB, free: 103.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002247/6.784, allocations: 316.7 kB / 3.23 GB, free: 103.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004062/6.788, allocations: 1.336 MB / 3.232 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006461/6.789, allocations: 1.045 MB / 3.233 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of SimCode: time 1.252e-06/6.789, allocations: 0 / 3.233 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of Templates: time 0.04672/6.836, allocations: 26.89 MB / 3.259 GB, free: 101.4 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.sim & ./IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)