Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Airflow.Multizone.Examples.CO2TransportStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.CO2TransportStep") translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.CO2TransportStep") [: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/Buildings 1.6.0+build.1/package.mo): time 0.5292/0.5292, allocations: 94.73 MB / 102 MB, free: 10.36 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00129/0.00129, allocations: 175.9 kB / 125.3 MB, free: 11.98 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.209/1.209, allocations: 170.5 MB / 319 MB, free: 9.348 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001657/0.001657, allocations: 104.5 kB / 381 MB, free: 18.16 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.342e-06/6.372e-06, allocations: 224 / 448.6 MB, free: 2.105 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1464, allocations: 61.52 MB / 0.4981 GB, free: 4.492 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.109/1.256, allocations: 410.9 MB / 0.8994 GB, free: 187.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/1.256, allocations: 89.03 kB / 0.8995 GB, free: 187.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.11/3.367, allocations: 0.7784 GB / 1.678 GB, free: 28.76 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001278/3.367, allocations: 53.95 kB / 1.678 GB, free: 28.71 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 512 * Number of variables: 512 Notification: Performance of Generate backend data structure: time 0.006343/3.373, allocations: 2.77 MB / 1.681 GB, free: 25.86 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/3.373, allocations: 8.781 kB / 1.681 GB, free: 25.86 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008797/3.374, allocations: 284.9 kB / 1.681 GB, free: 25.57 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003298/3.377, allocations: 1.736 MB / 1.683 GB, free: 23.82 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.414e-05/3.378, allocations: 64 kB / 1.683 GB, free: 23.75 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002476/3.378, allocations: 129.2 kB / 1.683 GB, free: 23.63 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003082/3.381, allocations: 2.086 MB / 1.685 GB, free: 21.54 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002849/3.384, allocations: 2.047 MB / 1.687 GB, free: 19.38 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.843e-05/3.384, allocations: 9.578 kB / 1.687 GB, free: 19.37 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001751/3.384, allocations: 7.938 kB / 1.687 GB, free: 19.36 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.863e-05/3.384, allocations: 48 kB / 1.687 GB, free: 19.31 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01124/3.395, allocations: 9.992 MB / 1.697 GB, free: 8.914 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/3.397, allocations: 0.9779 MB / 1.698 GB, free: 7.93 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001211/3.398, allocations: 1.071 MB / 1.699 GB, free: 6.859 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006338/3.404, allocations: 5.582 MB / 1.704 GB, free: 0.6211 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001586/3.406, allocations: 1.051 MB / 1.705 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=202): time 4.208e-06/3.406, allocations: 0.75 kB / 1.705 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of matching and sorting (n=220): time 0.01439/3.42, allocations: 5.166 MB / 1.71 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.694e-05/3.42, allocations: 201.9 kB / 1.71 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001313/3.422, allocations: 0.9391 MB / 1.711 GB, free: 9.172 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001449/3.422, allocations: 25.7 kB / 1.711 GB, free: 9.141 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005204/3.422, allocations: 0.6602 MB / 1.712 GB, free: 8.469 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006609/3.423, allocations: 0.7236 MB / 1.713 GB, free: 7.734 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/3.423, allocations: 0 / 1.713 GB, free: 7.734 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001706/3.423, allocations: 395.4 kB / 1.713 GB, free: 7.344 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/3.425, allocations: 0.7581 MB / 1.714 GB, free: 6.582 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001589/3.426, allocations: 1.247 MB / 1.715 GB, free: 5.129 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002946/3.429, allocations: 1.107 MB / 1.716 GB, free: 4.027 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.277e-06/3.429, allocations: 4 kB / 1.716 GB, free: 4.023 MB / 0.5417 GB Notification: Performance of matching and sorting (n=283) (initialization): time 0.005311/3.434, allocations: 2.384 MB / 1.718 GB, free: 1.629 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/3.435, allocations: 11.89 kB / 1.718 GB, free: 1.617 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.909e-05/3.435, allocations: 12 kB / 1.718 GB, free: 1.605 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.647e-05/3.435, allocations: 28.06 kB / 1.718 GB, free: 1.578 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002804/3.437, allocations: 0.5851 MB / 1.719 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.943e-05/3.437, allocations: 23.94 kB / 1.719 GB, free: 0.9688 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002282/3.44, allocations: 185.9 kB / 1.719 GB, free: 0.7891 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002632/3.44, allocations: 87.97 kB / 1.719 GB, free: 0.7031 MB / 0.5417 GB Warning: Assuming fixed start value for the following 3 variables: volTop.dynBal.medium.p:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))))))) max = min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, 100000000.0))))))))))) start = 101325.0 unit = "Pa" nominal = 100000.0 stateSelect=StateSelect.prefer protected = true ) "Absolute pressure of medium" type: Real volWes.dynBal.medium.p:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))))))))))))))) max = min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, 100000000.0)))))))))))))))))) start = 101325.0 unit = "Pa" nominal = 100000.0 stateSelect=StateSelect.prefer protected = true ) "Absolute pressure of medium" type: Real volEas.dynBal.medium.p:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))))))))))))))))) max = min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, 100000000.0))))))))))))))))))))) start = 101325.0 unit = "Pa" nominal = 100000.0 stateSelect=StateSelect.prefer protected = true ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (282): * Single equations (assignments): 281 * Array equations: 0 * Algorithm blocks: 1 * 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.0007624/3.441, allocations: 373 kB / 1.72 GB, free: 340 kB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005045/3.441, allocations: 181.8 kB / 1.72 GB, free: 156 kB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006412/3.448, allocations: 2.61 MB / 1.722 GB, free: 13.52 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.443e-05/3.448, allocations: 27.94 kB / 1.722 GB, free: 13.49 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/3.448, allocations: 0 / 1.722 GB, free: 13.49 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-05/3.448, allocations: 11.95 kB / 1.722 GB, free: 13.48 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01075/3.459, allocations: 4.522 MB / 1.727 GB, free: 8.891 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/3.459, allocations: 11.97 kB / 1.727 GB, free: 8.879 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002697/3.461, allocations: 491.4 kB / 1.727 GB, free: 8.398 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-05/3.461, allocations: 22.42 kB / 1.727 GB, free: 8.379 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001856/3.462, allocations: 29.22 kB / 1.727 GB, free: 8.352 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.901e-05/3.462, allocations: 15.94 kB / 1.727 GB, free: 8.336 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/3.462, allocations: 3.906 kB / 1.727 GB, free: 8.332 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007164/3.469, allocations: 3.748 MB / 1.731 GB, free: 4.496 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001444/3.47, allocations: 498.4 kB / 1.732 GB, free: 3.988 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005518/3.471, allocations: 4 kB / 1.732 GB, free: 3.984 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001986/3.473, allocations: 131.7 kB / 1.732 GB, free: 3.855 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002676/3.473, allocations: 137.8 kB / 1.732 GB, free: 3.723 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002039/3.473, allocations: 75.97 kB / 1.732 GB, free: 3.648 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.001177/3.475, allocations: 0.6921 MB / 1.733 GB, free: 2.953 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003141/3.478, allocations: 0.8472 MB / 1.733 GB, free: 2.105 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (volEas.dynBal.medium.p,oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volWes.dynBal.medium.p,oriEasTop.mExc,volTop.dynBal.medium.p) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (244): * Single equations (assignments): 236 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.002278/3.48, allocations: 1.201 MB / 1.735 GB, free: 0.9492 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.2341/3.714, allocations: 2.117 MB / 1.737 GB, free: 103.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/3.714, allocations: 0 / 1.737 GB, free: 103.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001378/3.716, allocations: 1.127 MB / 1.738 GB, free: 103.1 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003461/3.719, allocations: 0.7158 MB / 1.738 GB, free: 103.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006272/3.725, allocations: 3.735 MB / 1.742 GB, free: 102.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001656/3.727, allocations: 1.853 MB / 1.744 GB, free: 101.6 MB / 0.5573 GB Notification: Performance of SimCode: time 1.092e-06/3.727, allocations: 5.281 kB / 1.744 GB, free: 101.6 MB / 0.5573 GB Notification: Performance of Templates: time 0.06254/3.79, allocations: 44.56 MB / 1.787 GB, free: 99.62 MB / 0.5573 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)