Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.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.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow") translateModel(IBPSA.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow") [: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.001301/0.001301, allocations: 190.2 kB / 7.804 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4558/0.4558, allocations: 90.85 MB / 99.08 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.31/1.31, allocations: 221.4 MB / 342.8 MB, free: 5.559 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.001056/0.001056, allocations: 103.8 kB / 415.5 MB, free: 9.891 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.123e-06/7.404e-06, allocations: 0 / 493.9 MB, free: 11.62 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3861, allocations: 72.3 MB / 0.5529 GB, free: 44.8 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.633/4.019, allocations: 1.875 GB / 2.428 GB, free: 188.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/4.02, allocations: 85.98 kB / 2.428 GB, free: 188.9 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: The standard says that initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition useDefaultProperties and initial(). Notification: Performance of FrontEnd: time 1.79/5.809, allocations: 0.6157 GB / 3.043 GB, free: 21.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001274/5.81, allocations: 28 kB / 3.044 GB, free: 21.95 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.005588/5.815, allocations: 1.578 MB / 3.045 GB, free: 20.32 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/5.815, allocations: 8.031 kB / 3.045 GB, free: 20.32 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002725/5.818, allocations: 358.2 kB / 3.045 GB, free: 19.96 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002201/5.82, allocations: 0.8822 MB / 3.046 GB, free: 19.04 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.715e-05/5.82, allocations: 32 kB / 3.046 GB, free: 19.01 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002943/5.82, allocations: 60 kB / 3.046 GB, free: 18.95 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002055/5.823, allocations: 1.015 MB / 3.047 GB, free: 17.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/5.824, allocations: 0.9801 MB / 3.048 GB, free: 16.92 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.004e-05/5.824, allocations: 4 kB / 3.048 GB, free: 16.92 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.556e-05/5.824, allocations: 7.969 kB / 3.048 GB, free: 16.91 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.955e-05/5.824, allocations: 58.08 kB / 3.048 GB, free: 16.85 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006469/5.831, allocations: 5.515 MB / 3.054 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/5.832, allocations: 0.8542 MB / 3.055 GB, free: 10.05 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007024/5.833, allocations: 0.5442 MB / 3.055 GB, free: 9.508 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.346e-05/5.833, allocations: 16.64 kB / 3.055 GB, free: 9.492 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006009/5.834, allocations: 475 kB / 3.056 GB, free: 9.012 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=76): time 3.908e-06/5.834, allocations: 4 kB / 3.056 GB, free: 9.008 MB / 0.6042 GB Notification: Performance of matching and sorting (n=76): time 0.001703/5.835, allocations: 0.8387 MB / 3.056 GB, free: 8.164 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/5.835, allocations: 60.06 kB / 3.056 GB, free: 8.09 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006496/5.836, allocations: 418.4 kB / 3.057 GB, free: 7.676 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.822e-05/5.836, allocations: 29.7 kB / 3.057 GB, free: 7.641 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/5.836, allocations: 383.4 kB / 3.057 GB, free: 7.258 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002385/5.836, allocations: 260.1 kB / 3.057 GB, free: 7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-05/5.837, allocations: 4 kB / 3.058 GB, free: 6.996 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.581e-05/5.837, allocations: 382.8 kB / 3.058 GB, free: 6.613 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004023/5.837, allocations: 325.5 kB / 3.058 GB, free: 6.297 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004372/5.837, allocations: 433.2 kB / 3.059 GB, free: 5.836 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004974/5.838, allocations: 407 kB / 3.059 GB, free: 5.441 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/5.838, allocations: 0 / 3.059 GB, free: 5.441 MB / 0.6042 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00118/5.839, allocations: 0.8932 MB / 3.06 GB, free: 4.543 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/5.839, allocations: 8 kB / 3.06 GB, free: 4.535 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/5.839, allocations: 3.938 kB / 3.06 GB, free: 4.531 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/5.839, allocations: 8 kB / 3.06 GB, free: 4.523 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008006/5.84, allocations: 160.1 kB / 3.06 GB, free: 4.367 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/5.84, allocations: 12 kB / 3.06 GB, free: 4.355 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/5.841, allocations: 131.3 kB / 3.06 GB, free: 4.227 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.286e-05/5.841, allocations: 24 kB / 3.06 GB, free: 4.203 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001598/5.841, allocations: 120.8 kB / 3.06 GB, free: 4.078 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/5.842, allocations: 79.06 kB / 3.06 GB, free: 4 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002432/5.842, allocations: 103.2 kB / 3.06 GB, free: 3.895 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/5.842, allocations: 8 kB / 3.06 GB, free: 3.887 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/5.842, allocations: 3.984 kB / 3.06 GB, free: 3.883 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001015/5.843, allocations: 1.076 MB / 3.062 GB, free: 2.719 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002627/5.846, allocations: 1.877 MB / 3.063 GB, free: 0.793 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/5.846, allocations: 4 kB / 3.063 GB, free: 0.7891 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009294/5.847, allocations: 179.8 kB / 3.064 GB, free: 0.6133 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.338e-05/5.847, allocations: 3.906 kB / 3.064 GB, free: 0.6094 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.859e-05/5.847, allocations: 15.98 kB / 3.064 GB, free: 0.5938 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-06/5.847, allocations: 0 / 3.064 GB, free: 0.5938 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/5.847, allocations: 3.938 kB / 3.064 GB, free: 0.5898 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001834/5.848, allocations: 1.328 MB / 3.065 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006278/5.849, allocations: 252 kB / 3.065 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001774/5.849, allocations: 7.906 kB / 3.065 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009777/5.85, allocations: 79.86 kB / 3.065 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.436e-05/5.85, allocations: 40.5 kB / 3.065 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.735e-05/5.85, allocations: 27.98 kB / 3.065 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.000493/5.851, allocations: 330.9 kB / 3.066 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001601/5.853, allocations: 466.9 kB / 3.066 GB, free: 14.04 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003004/5.856, allocations: 1.806 MB / 3.068 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001337/5.857, allocations: 0.7878 MB / 3.069 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/5.857, allocations: 4 kB / 3.069 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005995/5.858, allocations: 426.2 kB / 3.069 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002587/5.86, allocations: 479.2 kB / 3.069 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004065/5.864, allocations: 1.811 MB / 3.071 GB, free: 8.637 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001343/5.866, allocations: 1.252 MB / 3.072 GB, free: 7.359 MB / 0.6198 GB Notification: Performance of SimCode: time 1.122e-06/5.866, allocations: 0 / 3.072 GB, free: 7.359 MB / 0.6198 GB Notification: Performance of Templates: time 0.3058/6.171, allocations: 26.86 MB / 3.099 GB, free: 146.9 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)