Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/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.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow") translateModel(IDEAS.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.004179/0.004179, allocations: 183 kB / 7.458 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.698/0.698, allocations: 133.5 MB / 141.4 MB, free: 15.66 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.541/1.541, allocations: 221.3 MB / 395 MB, free: 10.23 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.0009254/0.0009252, allocations: 107.2 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.125e-06/8.155e-06, allocations: 2.562 kB / 0.5528 GB, free: 89.17 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2043, allocations: 82.3 MB / 0.6332 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.896/5.101, allocations: 1.884 GB / 2.517 GB, free: 79.53 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/5.101, allocations: 91.88 kB / 2.518 GB, free: 79.44 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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 2.435/7.536, allocations: 0.6125 GB / 3.13 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001532/7.536, allocations: 28.88 kB / 3.13 GB, free: 111.1 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.006252/7.542, allocations: 1.567 MB / 3.132 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/7.542, allocations: 11.78 kB / 3.132 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002896/7.545, allocations: 361.7 kB / 3.132 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002598/7.548, allocations: 0.8745 MB / 3.133 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-05/7.548, allocations: 30.94 kB / 3.133 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003934/7.548, allocations: 61.41 kB / 3.133 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00265/7.551, allocations: 1.02 MB / 3.134 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002294/7.553, allocations: 0.9726 MB / 3.135 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.627e-05/7.553, allocations: 0 / 3.135 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/7.553, allocations: 3.906 kB / 3.135 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.741e-05/7.553, allocations: 65.2 kB / 3.135 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007522/7.561, allocations: 5.157 MB / 3.14 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/7.562, allocations: 0.856 MB / 3.141 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007503/7.563, allocations: 0.5461 MB / 3.141 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.341e-05/7.563, allocations: 17.16 kB / 3.141 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006402/7.564, allocations: 480.6 kB / 3.142 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=76): time 2.925e-06/7.564, allocations: 0 / 3.142 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76): time 0.00174/7.565, allocations: 0.8434 MB / 3.143 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/7.565, allocations: 59.41 kB / 3.143 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006096/7.566, allocations: 419.9 kB / 3.143 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.016e-05/7.566, allocations: 29.39 kB / 3.143 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002152/7.566, allocations: 384.8 kB / 3.143 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000292/7.567, allocations: 254.5 kB / 3.144 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/7.567, allocations: 0 / 3.144 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001256/7.567, allocations: 382.8 kB / 3.144 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004309/7.567, allocations: 327.1 kB / 3.144 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005121/7.568, allocations: 440.6 kB / 3.145 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00059/7.568, allocations: 404.7 kB / 3.145 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/7.568, allocations: 6.156 kB / 3.145 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001344/7.57, allocations: 0.8878 MB / 3.146 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/7.57, allocations: 3.219 kB / 3.146 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/7.57, allocations: 5.156 kB / 3.146 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/7.57, allocations: 10.53 kB / 3.146 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000769/7.571, allocations: 160.5 kB / 3.146 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/7.571, allocations: 7.469 kB / 3.146 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/7.572, allocations: 111.5 kB / 3.146 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.872e-05/7.572, allocations: 25.81 kB / 3.146 GB, free: 106.5 MB / 0.6823 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.0001609/7.572, allocations: 122.7 kB / 3.146 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001753/7.572, allocations: 77.91 kB / 3.147 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002202/7.573, allocations: 98.05 kB / 3.147 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/7.573, allocations: 11.59 kB / 3.147 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/7.573, allocations: 0 / 3.147 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001103/7.574, allocations: 1.071 MB / 3.148 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002882/7.577, allocations: 1.878 MB / 3.15 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/7.577, allocations: 2.406 kB / 3.15 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009526/7.578, allocations: 193.3 kB / 3.15 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.204e-05/7.578, allocations: 3.938 kB / 3.15 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.476e-05/7.578, allocations: 3.406 kB / 3.15 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.173e-06/7.578, allocations: 11.5 kB / 3.15 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/7.578, allocations: 0 / 3.15 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001821/7.579, allocations: 1.5 MB / 3.151 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005849/7.58, allocations: 252.4 kB / 3.151 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001838/7.58, allocations: 3.5 kB / 3.151 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001053/7.581, allocations: 85.89 kB / 3.152 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.976e-05/7.581, allocations: 39.89 kB / 3.152 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.306e-05/7.581, allocations: 27.77 kB / 3.152 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0003985/7.582, allocations: 327 kB / 3.152 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001863/7.584, allocations: 461.3 kB / 3.152 GB, free: 105.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * 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.003418/7.587, allocations: 1.811 MB / 3.154 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001485/7.589, allocations: 0.7937 MB / 3.155 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/7.589, allocations: 0 / 3.155 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006622/7.589, allocations: 429.1 kB / 3.155 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002605/7.592, allocations: 471.5 kB / 3.156 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004063/7.596, allocations: 1.803 MB / 3.158 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001208/7.597, allocations: 1.245 MB / 3.159 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of SimCode: time 9.92e-07/7.597, allocations: 0 / 3.159 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of Templates: time 0.04285/7.64, allocations: 26.85 MB / 3.185 GB, free: 103 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.sim & ./IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)