Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.TrickleVent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8640,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.TrickleVent") translateModel(IDEAS.Airflow.Multizone.Examples.TrickleVent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8640,variableFilter="",fileNamePrefix="IDEAS_dev_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.00269/0.00269, allocations: 179.9 kB / 7.464 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6796/0.6796, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.63/1.63, allocations: 221.3 MB / 395 MB, free: 10.22 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.001186/0.001186, allocations: 91.11 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.936e-06/8.957e-06, allocations: 2.625 kB / 0.5528 GB, free: 89.16 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2016, allocations: 82.3 MB / 0.6332 GB, free: 14.13 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.735/4.936, allocations: 1.921 GB / 2.554 GB, free: 22.91 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/4.937, allocations: 83.95 kB / 2.554 GB, free: 22.83 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.31/7.246, allocations: 0.5755 GB / 3.13 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002026/7.247, allocations: 57.19 kB / 3.13 GB, free: 120.9 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: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 0.006102/7.253, allocations: 2.283 MB / 3.132 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/7.253, allocations: 10.69 kB / 3.132 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003997/7.257, allocations: 0.5805 MB / 3.133 GB, free: 119.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003794/7.261, allocations: 1.972 MB / 3.135 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.372e-05/7.261, allocations: 55.56 kB / 3.135 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000206/7.261, allocations: 104.1 kB / 3.135 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002867/7.264, allocations: 1.848 MB / 3.137 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002533/7.266, allocations: 1.682 MB / 3.138 GB, free: 119.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.389e-05/7.266, allocations: 6.672 kB / 3.138 GB, free: 119.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001452/7.266, allocations: 3.531 kB / 3.138 GB, free: 119.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.376e-05/7.267, allocations: 63.31 kB / 3.138 GB, free: 119.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01004/7.277, allocations: 7.54 MB / 3.146 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002212/7.279, allocations: 1.681 MB / 3.147 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007965/7.28, allocations: 0.6661 MB / 3.148 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007056/7.28, allocations: 0.8058 MB / 3.149 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001054/7.281, allocations: 0.843 MB / 3.15 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=142): time 5.32e-06/7.281, allocations: 0 / 3.15 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=142): time 0.003422/7.285, allocations: 1.531 MB / 3.151 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.216e-05/7.285, allocations: 273.2 kB / 3.151 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002169/7.287, allocations: 1.782 MB / 3.153 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001183/7.287, allocations: 30.8 kB / 3.153 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004213/7.288, allocations: 0.5831 MB / 3.154 GB, free: 114.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003618/7.288, allocations: 467.3 kB / 3.154 GB, free: 114 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.595e-05/7.288, allocations: 3.188 kB / 3.154 GB, free: 114 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.893e-05/7.288, allocations: 350.3 kB / 3.155 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006927/7.289, allocations: 0.4915 MB / 3.155 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007842/7.29, allocations: 0.6609 MB / 3.156 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009487/7.291, allocations: 0.5893 MB / 3.156 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/7.291, allocations: 3.938 kB / 3.156 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002895/7.294, allocations: 1.516 MB / 3.158 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001522/7.294, allocations: 0.6379 MB / 3.158 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/7.294, allocations: 0 / 3.158 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007962/7.295, allocations: 144.3 kB / 3.158 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/7.296, allocations: 308 kB / 3.159 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003097/7.299, allocations: 4.013 MB / 3.163 GB, free: 109 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001804/7.301, allocations: 148 kB / 3.163 GB, free: 109 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001387/7.301, allocations: 61.91 kB / 3.163 GB, free: 109 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.236e-06/7.301, allocations: 2.125 kB / 3.163 GB, free: 109 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002619/7.304, allocations: 1.321 MB / 3.164 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/7.304, allocations: 3.781 kB / 3.164 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007111/7.304, allocations: 141.2 kB / 3.164 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/7.306, allocations: 299.5 kB / 3.165 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002951/7.309, allocations: 4.019 MB / 3.169 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/7.311, allocations: 139.3 kB / 3.169 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001475/7.311, allocations: 55.94 kB / 3.169 GB, free: 105.2 MB / 0.6823 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.0004287/7.311, allocations: 140.9 kB / 3.169 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004696/7.312, allocations: 174.8 kB / 3.169 GB, free: 105 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004721/7.317, allocations: 1.884 MB / 3.171 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/7.317, allocations: 17.56 kB / 3.171 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-05/7.317, allocations: 0 / 3.171 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00257/7.319, allocations: 1.441 MB / 3.172 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007623/7.327, allocations: 3.677 MB / 3.176 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/7.327, allocations: 0 / 3.176 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001476/7.328, allocations: 320 kB / 3.176 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000673/7.329, allocations: 145 kB / 3.176 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.647e-05/7.329, allocations: 22.75 kB / 3.176 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002868/7.332, allocations: 4.04 MB / 3.18 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/7.332, allocations: 3.875 kB / 3.18 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003984/7.336, allocations: 2.526 MB / 3.183 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001215/7.337, allocations: 0.5783 MB / 3.183 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003247/7.338, allocations: 9.312 kB / 3.183 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00136/7.339, allocations: 120.2 kB / 3.183 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001729/7.339, allocations: 89.58 kB / 3.184 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001294/7.339, allocations: 75.61 kB / 3.184 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001688/7.341, allocations: 1.379 MB / 3.185 GB, free: 100.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003708/7.345, allocations: 1.241 MB / 3.186 GB, free: 99.84 MB / 0.6823 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.003502/7.348, allocations: 2.122 MB / 3.188 GB, free: 99.34 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003798/7.352, allocations: 2.604 MB / 3.191 GB, free: 98.71 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/7.352, allocations: 448 / 3.191 GB, free: 98.71 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001276/7.353, allocations: 1.018 MB / 3.192 GB, free: 98.41 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003018/7.356, allocations: 0.5671 MB / 3.192 GB, free: 98.39 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008155/7.364, allocations: 3.237 MB / 3.195 GB, free: 97.69 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002076/7.367, allocations: 1.811 MB / 3.197 GB, free: 96.94 MB / 0.6823 GB Notification: Performance of SimCode: time 2.284e-06/7.367, allocations: 0 / 3.197 GB, free: 96.94 MB / 0.6823 GB Notification: Performance of Templates: time 0.1027/7.469, allocations: 54.49 MB / 3.25 GB, free: 93.04 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.TrickleVent.makefile (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.TrickleVent.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.TrickleVent.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.TrickleVent.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.TrickleVent.sim & ./IDEAS_dev_IDEAS.Airflow.Multizone.Examples.TrickleVent -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.TrickleVent.pipe 2>&1)