Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.TrickleVent.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.TrickleVent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8640,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.TrickleVent") translateModel(IDEAS.Airflow.Multizone.Examples.TrickleVent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8640,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.TrickleVent") [: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.002889/0.002889, allocations: 181.7 kB / 7.456 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6995/0.6995, allocations: 130.6 MB / 138.5 MB, free: 2.262 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.749/1.749, allocations: 221.3 MB / 391.4 MB, free: 13.06 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.001116/0.001116, allocations: 99.89 kB / 473.5 MB, free: 14.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.947e-06/9.127e-06, allocations: 3.938 kB / 0.5479 GB, free: 89.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.1839, allocations: 81.58 MB / 0.6276 GB, free: 18.19 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.864/4.048, allocations: 1.921 GB / 2.548 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/4.048, allocations: 89.69 kB / 2.549 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.21/6.258, allocations: 0.5755 GB / 3.124 GB, free: 124.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002551/6.258, allocations: 51.84 kB / 3.124 GB, free: 124.7 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: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 0.005981/6.264, allocations: 2.291 MB / 3.126 GB, free: 123.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/6.264, allocations: 13.56 kB / 3.126 GB, free: 123.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004246/6.269, allocations: 0.5791 MB / 3.127 GB, free: 123.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004343/6.273, allocations: 1.969 MB / 3.129 GB, free: 123.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-05/6.273, allocations: 53.16 kB / 3.129 GB, free: 123.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004681/6.274, allocations: 102.2 kB / 3.129 GB, free: 123.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003529/6.277, allocations: 1.843 MB / 3.131 GB, free: 123.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003308/6.28, allocations: 1.686 MB / 3.132 GB, free: 123 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.927e-05/6.281, allocations: 5.438 kB / 3.132 GB, free: 123 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002144/6.281, allocations: 3.812 kB / 3.132 GB, free: 123 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.051e-05/6.281, allocations: 62.7 kB / 3.132 GB, free: 123 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01171/6.293, allocations: 7.523 MB / 3.14 GB, free: 120.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002406/6.295, allocations: 1.675 MB / 3.141 GB, free: 120 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009318/6.296, allocations: 0.6678 MB / 3.142 GB, free: 120 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008782/6.297, allocations: 0.8107 MB / 3.143 GB, free: 119.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001138/6.298, allocations: 0.8397 MB / 3.144 GB, free: 119 MB / 0.698 GB Notification: Performance of pre-optimization done (n=142): time 3.777e-06/6.298, allocations: 0 / 3.144 GB, free: 119 MB / 0.698 GB Notification: Performance of matching and sorting (n=142): time 0.003691/6.302, allocations: 1.522 MB / 3.145 GB, free: 118.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.04e-05/6.302, allocations: 281.3 kB / 3.145 GB, free: 118.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002356/6.304, allocations: 1.778 MB / 3.147 GB, free: 118.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001456/6.304, allocations: 36.42 kB / 3.147 GB, free: 118.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004611/6.305, allocations: 0.5826 MB / 3.148 GB, free: 118.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003605/6.305, allocations: 465.2 kB / 3.148 GB, free: 117.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.978e-05/6.305, allocations: 0 / 3.148 GB, free: 117.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.064e-05/6.305, allocations: 360.5 kB / 3.149 GB, free: 117.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006394/6.306, allocations: 490.1 kB / 3.149 GB, free: 117.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007989/6.307, allocations: 0.6674 MB / 3.15 GB, free: 117.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009294/6.308, allocations: 0.5904 MB / 3.15 GB, free: 117.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/6.308, allocations: 0 / 3.15 GB, free: 117.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002834/6.311, allocations: 1.52 MB / 3.152 GB, free: 117.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001358/6.311, allocations: 0.629 MB / 3.152 GB, free: 116.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.926e-05/6.311, allocations: 0 / 3.152 GB, free: 116.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007843/6.312, allocations: 145.8 kB / 3.153 GB, free: 116.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/6.313, allocations: 311.4 kB / 3.153 GB, free: 116.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003022/6.316, allocations: 4.02 MB / 3.157 GB, free: 112.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/6.318, allocations: 148.8 kB / 3.157 GB, free: 112.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/6.318, allocations: 60.03 kB / 3.157 GB, free: 112.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.472e-06/6.318, allocations: 5.531 kB / 3.157 GB, free: 112.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00259/6.32, allocations: 1.328 MB / 3.158 GB, free: 112.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/6.32, allocations: 3.562 kB / 3.158 GB, free: 112.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006983/6.321, allocations: 137.8 kB / 3.158 GB, free: 112.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/6.322, allocations: 302.4 kB / 3.159 GB, free: 112.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003143/6.326, allocations: 4.015 MB / 3.163 GB, free: 109.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001887/6.327, allocations: 137.4 kB / 3.163 GB, free: 109 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001715/6.328, allocations: 55.95 kB / 3.163 GB, free: 109 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 146 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004347/6.328, allocations: 145.1 kB / 3.163 GB, free: 108.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005795/6.329, allocations: 172.8 kB / 3.163 GB, free: 108.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00418/6.333, allocations: 1.889 MB / 3.165 GB, free: 108.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/6.333, allocations: 18 kB / 3.165 GB, free: 108.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/6.333, allocations: 0 / 3.165 GB, free: 108.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002509/6.335, allocations: 1.44 MB / 3.166 GB, free: 108.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006989/6.342, allocations: 3.679 MB / 3.17 GB, free: 108.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/6.342, allocations: 0 / 3.17 GB, free: 108.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001549/6.344, allocations: 319 kB / 3.17 GB, free: 108.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006892/6.345, allocations: 140 kB / 3.17 GB, free: 108.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001248/6.345, allocations: 27.53 kB / 3.17 GB, free: 108.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002957/6.348, allocations: 4.042 MB / 3.174 GB, free: 104.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/6.348, allocations: 2.562 kB / 3.174 GB, free: 104.5 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004124/6.352, allocations: 2.527 MB / 3.177 GB, free: 104.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001398/6.353, allocations: 0.5832 MB / 3.177 GB, free: 104 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005708/6.354, allocations: 10.62 kB / 3.177 GB, free: 104 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001801/6.356, allocations: 119.6 kB / 3.178 GB, free: 104 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001936/6.356, allocations: 82.56 kB / 3.178 GB, free: 104 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001766/6.356, allocations: 73.62 kB / 3.178 GB, free: 104 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.002124/6.358, allocations: 1.384 MB / 3.179 GB, free: 103.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004529/6.363, allocations: 1.235 MB / 3.18 GB, free: 103.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (room.dynBal.U,room.dynBal.m,room.dynBal.mXi[1],tabDat_m_flow.mExc,tabDat_V_flow.mExc) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 144 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004571/6.367, allocations: 2.134 MB / 3.182 GB, free: 103.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004995/6.372, allocations: 2.611 MB / 3.185 GB, free: 102.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/6.373, allocations: 3.688 kB / 3.185 GB, free: 102.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001525/6.374, allocations: 1.014 MB / 3.186 GB, free: 102.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003466/6.378, allocations: 0.5695 MB / 3.186 GB, free: 102.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009374/6.387, allocations: 3.236 MB / 3.19 GB, free: 101.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001867/6.389, allocations: 1.81 MB / 3.191 GB, free: 100.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.122e-06/6.389, allocations: 0 / 3.191 GB, free: 100.7 MB / 0.698 GB Notification: Performance of Templates: time 0.09424/6.483, allocations: 54.48 MB / 3.245 GB, free: 86.26 MB / 0.698 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.TrickleVent.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.TrickleVent.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.TrickleVent.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.TrickleVent.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.TrickleVent.sim & ./IDEAS_IDEAS.Airflow.Multizone.Examples.TrickleVent -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.TrickleVent.pipe 2>&1)