Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume") translateModel(IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume") [: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.001582/0.001582, allocations: 186.8 kB / 7.804 MB, free: 2.473 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.508/0.508, allocations: 90.85 MB / 99.07 MB, free: 14.95 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.212/1.212, allocations: 221.4 MB / 342.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 94.39 kB / 415.5 MB, free: 6.422 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.793e-06/7.013e-06, allocations: 0 / 493.9 MB, free: 8.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3518, allocations: 72.3 MB / 0.5529 GB, free: 73.39 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9901/1.342, allocations: 412.9 MB / 0.9561 GB, free: 211.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003112/1.342, allocations: 90.81 kB / 0.9562 GB, free: 211.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.07/2.413, allocations: 338.8 MB / 1.287 GB, free: 125.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002196/2.413, allocations: 37.28 kB / 1.287 GB, free: 125.8 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.004955/2.418, allocations: 1.325 MB / 1.288 GB, free: 124.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.886e-05/2.418, allocations: 11.69 kB / 1.288 GB, free: 124.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009434/2.419, allocations: 137.4 kB / 1.289 GB, free: 124.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003125/2.422, allocations: 0.9731 MB / 1.289 GB, free: 124.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.937e-05/2.422, allocations: 26.09 kB / 1.289 GB, free: 124.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002642/2.423, allocations: 49.81 kB / 1.29 GB, free: 124.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001509/2.424, allocations: 0.523 MB / 1.29 GB, free: 123.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/2.426, allocations: 0.7202 MB / 1.291 GB, free: 123.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.976e-05/2.426, allocations: 5.094 kB / 1.291 GB, free: 123.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.783e-05/2.426, allocations: 3.438 kB / 1.291 GB, free: 123.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.426e-05/2.426, allocations: 16.22 kB / 1.291 GB, free: 123.4 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006087/2.432, allocations: 3.734 MB / 1.294 GB, free: 120.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007862/2.433, allocations: 394.8 kB / 1.295 GB, free: 120.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004907/2.433, allocations: 259.9 kB / 1.295 GB, free: 120.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001033/2.434, allocations: 1.246 MB / 1.296 GB, free: 118.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005595/2.435, allocations: 294.6 kB / 1.297 GB, free: 118.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=63): time 4.048e-06/2.435, allocations: 0 / 1.297 GB, free: 118.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=63): time 0.002251/2.437, allocations: 0.6312 MB / 1.297 GB, free: 118.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/2.437, allocations: 85.77 kB / 1.297 GB, free: 118 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/2.438, allocations: 0.649 MB / 1.298 GB, free: 117.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.892e-05/2.438, allocations: 25.7 kB / 1.298 GB, free: 117.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002389/2.439, allocations: 331.9 kB / 1.298 GB, free: 117 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002147/2.439, allocations: 208.9 kB / 1.298 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/2.439, allocations: 0 / 1.298 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.768e-05/2.439, allocations: 329 kB / 1.299 GB, free: 116.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002832/2.439, allocations: 181.3 kB / 1.299 GB, free: 116.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003716/2.44, allocations: 310.6 kB / 1.299 GB, free: 115.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009152/2.441, allocations: 259.1 kB / 1.299 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/2.441, allocations: 0 / 1.299 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001631/2.442, allocations: 0.6716 MB / 1.3 GB, free: 115 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.000271/2.443, allocations: 0.8796 MB / 1.301 GB, free: 114.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/2.443, allocations: 0 / 1.301 GB, free: 114.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003686/2.443, allocations: 80.81 kB / 1.301 GB, free: 114 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005179/2.443, allocations: 133.9 kB / 1.301 GB, free: 113.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007372/2.444, allocations: 0.6878 MB / 1.302 GB, free: 113.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009194/2.445, allocations: 81.78 kB / 1.302 GB, free: 113.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-05/2.445, allocations: 24 kB / 1.302 GB, free: 113 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/2.445, allocations: 6.031 kB / 1.302 GB, free: 113 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001281/2.447, allocations: 0.5492 MB / 1.302 GB, free: 112.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/2.447, allocations: 7.281 kB / 1.302 GB, free: 112.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000223/2.447, allocations: 91.41 kB / 1.303 GB, free: 112.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004338/2.447, allocations: 111.9 kB / 1.303 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006036/2.448, allocations: 0.6846 MB / 1.303 GB, free: 111.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008455/2.449, allocations: 66.61 kB / 1.303 GB, free: 111.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.638e-05/2.449, allocations: 27.98 kB / 1.303 GB, free: 111.5 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002128/2.449, allocations: 123.2 kB / 1.304 GB, free: 111.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002268/2.449, allocations: 90.88 kB / 1.304 GB, free: 111.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002273/2.452, allocations: 0.9462 MB / 1.305 GB, free: 110.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/2.452, allocations: 8 kB / 1.305 GB, free: 110.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/2.452, allocations: 0 / 1.305 GB, free: 110.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001366/2.453, allocations: 0.8053 MB / 1.305 GB, free: 109.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003326/2.456, allocations: 1.721 MB / 1.307 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.323e-06/2.456, allocations: 0 / 1.307 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005236/2.457, allocations: 114.6 kB / 1.307 GB, free: 107.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004476/2.457, allocations: 140.8 kB / 1.307 GB, free: 107.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.996e-05/2.457, allocations: 12 kB / 1.307 GB, free: 107.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009453/2.458, allocations: 1.276 MB / 1.309 GB, free: 106.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/2.458, allocations: 4 kB / 1.309 GB, free: 106.1 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002003/2.46, allocations: 1.227 MB / 1.31 GB, free: 104.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005767/2.461, allocations: 263.6 kB / 1.31 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002134/2.461, allocations: 15.61 kB / 1.31 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007326/2.462, allocations: 47.7 kB / 1.31 GB, free: 104.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.546e-05/2.462, allocations: 44.5 kB / 1.31 GB, free: 104.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.887e-05/2.462, allocations: 31.3 kB / 1.31 GB, free: 104.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0007325/2.463, allocations: 0.503 MB / 1.311 GB, free: 104 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002231/2.465, allocations: 0.5993 MB / 1.311 GB, free: 103.4 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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: 0 * Non-linear torn systems: 2 {2 9,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002228/2.467, allocations: 0.8352 MB / 1.312 GB, free: 102.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001894/2.469, allocations: 0.882 MB / 1.313 GB, free: 101.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/2.469, allocations: 0 / 1.313 GB, free: 101.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006523/2.47, allocations: 357.6 kB / 1.313 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001876/2.472, allocations: 338.7 kB / 1.314 GB, free: 101.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003736/2.475, allocations: 1.595 MB / 1.315 GB, free: 99.82 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001078/2.477, allocations: 1.184 MB / 1.316 GB, free: 98.63 MB / 0.6042 GB Notification: Performance of SimCode: time 3.587e-06/2.477, allocations: 0 / 1.316 GB, free: 98.63 MB / 0.6042 GB Notification: Performance of Templates: time 0.04081/2.517, allocations: 22.98 MB / 1.339 GB, free: 76.4 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)