Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Airflow.Multizone.Examples.PowerLaw") translateModel(IDEAS.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.003402/0.003402, allocations: 175.4 kB / 7.451 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.676/0.676, allocations: 130.6 MB / 138.5 MB, free: 2.238 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 221.3 MB / 391.4 MB, free: 13.08 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.001097/0.001098, allocations: 94.41 kB / 473.4 MB, free: 14.43 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.202e-05/1.204e-05, allocations: 3.469 kB / 0.5479 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1586, allocations: 81.58 MB / 0.6276 GB, free: 18.25 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.649/3.808, allocations: 1.873 GB / 2.501 GB, free: 2.102 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/3.808, allocations: 87.95 kB / 2.501 GB, free: 2.016 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.588/6.396, allocations: 0.6811 GB / 3.182 GB, free: 76.95 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001015/6.396, allocations: 20 kB / 3.182 GB, free: 76.93 MB / 0.6667 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.003788/6.4, allocations: 1.222 MB / 3.183 GB, free: 75.67 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/6.4, allocations: 11.97 kB / 3.183 GB, free: 75.66 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002225/6.402, allocations: 250.6 kB / 3.184 GB, free: 75.41 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001786/6.404, allocations: 0.6362 MB / 3.184 GB, free: 74.75 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.372e-05/6.404, allocations: 16 kB / 3.184 GB, free: 74.74 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002174/6.404, allocations: 32 kB / 3.184 GB, free: 74.71 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00149/6.405, allocations: 0.9009 MB / 3.185 GB, free: 73.8 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/6.407, allocations: 0.9362 MB / 3.186 GB, free: 72.78 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.129e-05/6.407, allocations: 3.938 kB / 3.186 GB, free: 72.78 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.319e-05/6.407, allocations: 4 kB / 3.186 GB, free: 72.77 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/6.407, allocations: 16 kB / 3.186 GB, free: 72.76 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006117/6.413, allocations: 4.518 MB / 3.19 GB, free: 68.11 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008556/6.414, allocations: 0.6043 MB / 3.191 GB, free: 67.5 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006571/6.415, allocations: 0.5176 MB / 3.192 GB, free: 66.98 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001024/6.416, allocations: 1.044 MB / 3.193 GB, free: 65.71 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/6.416, allocations: 39 kB / 3.193 GB, free: 65.66 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=52): time 3.427e-06/6.416, allocations: 0 / 3.193 GB, free: 65.66 MB / 0.6667 GB Notification: Performance of matching and sorting (n=52): time 0.01214/6.428, allocations: 2.526 MB / 3.195 GB, free: 63.13 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/6.428, allocations: 59.84 kB / 3.195 GB, free: 63.06 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008345/6.429, allocations: 446.4 kB / 3.196 GB, free: 62.62 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001971/6.429, allocations: 25.7 kB / 3.196 GB, free: 62.59 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/6.429, allocations: 232.7 kB / 3.196 GB, free: 62.36 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002912/6.43, allocations: 169.4 kB / 3.196 GB, free: 62.19 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.964e-05/6.43, allocations: 4 kB / 3.196 GB, free: 62.18 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001472/6.43, allocations: 378.7 kB / 3.196 GB, free: 61.8 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005703/6.43, allocations: 368.8 kB / 3.197 GB, free: 61.45 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005534/6.431, allocations: 457.7 kB / 3.197 GB, free: 60.96 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008334/6.432, allocations: 452.5 kB / 3.198 GB, free: 60.52 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/6.432, allocations: 0 / 3.198 GB, free: 60.52 MB / 0.6667 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01158/6.443, allocations: 2.51 MB / 3.2 GB, free: 58 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.646e-05/6.444, allocations: 4 kB / 3.2 GB, free: 58 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.517e-05/6.444, allocations: 4 kB / 3.2 GB, free: 57.99 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00958/6.453, allocations: 1.657 MB / 3.202 GB, free: 56.33 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000563/6.454, allocations: 99.81 kB / 3.202 GB, free: 56.23 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01139/6.465, allocations: 6.178 MB / 3.208 GB, free: 49.83 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/6.466, allocations: 47.58 kB / 3.208 GB, free: 49.78 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002523/6.467, allocations: 51.86 kB / 3.208 GB, free: 49.73 MB / 0.6667 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.0002811/6.467, allocations: 120.8 kB / 3.208 GB, free: 49.61 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002868/6.467, allocations: 67.16 kB / 3.208 GB, free: 49.54 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005497/6.473, allocations: 1.7 MB / 3.21 GB, free: 47.83 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/6.473, allocations: 12 kB / 3.21 GB, free: 47.82 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/6.473, allocations: 4 kB / 3.21 GB, free: 47.81 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/6.473, allocations: 7.891 kB / 3.21 GB, free: 47.8 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006274/6.479, allocations: 2.415 MB / 3.212 GB, free: 45.33 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/6.479, allocations: 4.25 kB / 3.212 GB, free: 45.33 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005013/6.48, allocations: 103.8 kB / 3.212 GB, free: 45.23 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003372/6.483, allocations: 0.7216 MB / 3.213 GB, free: 44.5 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.024e-05/6.483, allocations: 4 kB / 3.213 GB, free: 44.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005635/6.489, allocations: 4.266 MB / 3.217 GB, free: 40.01 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/6.489, allocations: 3.906 kB / 3.217 GB, free: 40.01 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005313/6.494, allocations: 2.175 MB / 3.219 GB, free: 37.74 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005919/6.495, allocations: 220 kB / 3.219 GB, free: 37.51 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002643/6.495, allocations: 4 kB / 3.219 GB, free: 37.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008408/6.496, allocations: 31.91 kB / 3.219 GB, free: 37.47 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/6.496, allocations: 40.36 kB / 3.219 GB, free: 37.43 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.168e-05/6.496, allocations: 23.98 kB / 3.22 GB, free: 37.41 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.000511/6.497, allocations: 346.9 kB / 3.22 GB, free: 37.07 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00189/6.499, allocations: 409 kB / 3.22 GB, free: 36.67 MB / 0.6667 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.003261/6.502, allocations: 1.936 MB / 3.222 GB, free: 34.85 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003219/6.505, allocations: 1.246 MB / 3.223 GB, free: 33.58 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/6.505, allocations: 4 kB / 3.223 GB, free: 33.58 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.00159/6.507, allocations: 0.8022 MB / 3.224 GB, free: 32.76 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001912/6.509, allocations: 309.7 kB / 3.224 GB, free: 32.46 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003354/6.512, allocations: 1.353 MB / 3.226 GB, free: 31.05 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007493/6.513, allocations: 1.044 MB / 3.227 GB, free: 29.98 MB / 0.6667 GB Notification: Performance of SimCode: time 1.313e-06/6.513, allocations: 0 / 3.227 GB, free: 29.98 MB / 0.6667 GB Notification: Performance of Templates: time 0.04036/6.553, allocations: 26.9 MB / 3.253 GB, free: 3.211 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.sim & ./IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)