Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Airflow.Multizone.Examples.ZonalFlow") translateModel(IDEAS.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.004838/0.004838, allocations: 180.8 kB / 7.456 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7355/0.7355, allocations: 130.6 MB / 138.5 MB, free: 2.195 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.71/1.71, allocations: 221.3 MB / 391.4 MB, free: 13.02 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.00104/0.00104, allocations: 97.31 kB / 473.4 MB, free: 14.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.134e-06/7.164e-06, allocations: 0 / 0.5479 GB, free: 89.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1728, allocations: 81.58 MB / 0.6276 GB, free: 18.2 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.1/4.273, allocations: 1.884 GB / 2.512 GB, free: 246.4 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/4.273, allocations: 87.36 kB / 2.512 GB, free: 246.4 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.892/6.165, allocations: 0.6125 GB / 3.124 GB, free: 113.9 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001388/6.165, allocations: 25.31 kB / 3.124 GB, free: 113.9 MB / 0.6667 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.006026/6.171, allocations: 1.568 MB / 3.126 GB, free: 112.9 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/6.171, allocations: 8.406 kB / 3.126 GB, free: 112.9 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00299/6.174, allocations: 361.2 kB / 3.126 GB, free: 112.7 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002536/6.177, allocations: 0.8798 MB / 3.127 GB, free: 112 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.182e-05/6.177, allocations: 34.91 kB / 3.127 GB, free: 112 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003303/6.177, allocations: 63.33 kB / 3.127 GB, free: 112 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002678/6.18, allocations: 1.013 MB / 3.128 GB, free: 111.6 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002507/6.183, allocations: 0.9744 MB / 3.129 GB, free: 111.1 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.121e-05/6.183, allocations: 3.562 kB / 3.129 GB, free: 111.1 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001488/6.183, allocations: 7.469 kB / 3.129 GB, free: 111.1 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-05/6.183, allocations: 62.5 kB / 3.129 GB, free: 111.1 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008005/6.191, allocations: 5.155 MB / 3.134 GB, free: 106.8 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/6.192, allocations: 0.8528 MB / 3.135 GB, free: 106.4 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009159/6.193, allocations: 0.5522 MB / 3.135 GB, free: 106.1 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 7.173e-05/6.193, allocations: 11.25 kB / 3.135 GB, free: 106.1 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007543/6.194, allocations: 472.6 kB / 3.136 GB, free: 105.9 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=76): time 3.296e-06/6.194, allocations: 0 / 3.136 GB, free: 105.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=76): time 0.002073/6.196, allocations: 0.8395 MB / 3.137 GB, free: 105.5 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/6.196, allocations: 63.31 kB / 3.137 GB, free: 105.4 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007473/6.197, allocations: 419.1 kB / 3.137 GB, free: 105.2 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.335e-05/6.197, allocations: 26.8 kB / 3.137 GB, free: 105.1 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002434/6.197, allocations: 387 kB / 3.138 GB, free: 104.8 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002923/6.198, allocations: 253.3 kB / 3.138 GB, free: 104.6 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/6.198, allocations: 3.938 kB / 3.138 GB, free: 104.6 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000151/6.198, allocations: 383.1 kB / 3.138 GB, free: 104.2 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005249/6.198, allocations: 326.8 kB / 3.139 GB, free: 104 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005942/6.199, allocations: 446.5 kB / 3.139 GB, free: 103.8 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000691/6.2, allocations: 402.3 kB / 3.139 GB, free: 103.5 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/6.2, allocations: 0.6875 kB / 3.139 GB, free: 103.5 MB / 0.6667 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001619/6.201, allocations: 0.8858 MB / 3.14 GB, free: 103.1 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/6.201, allocations: 7.719 kB / 3.14 GB, free: 103.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/6.201, allocations: 2.938 kB / 3.14 GB, free: 103.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.391e-05/6.201, allocations: 10.12 kB / 3.14 GB, free: 103.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008382/6.202, allocations: 167.1 kB / 3.14 GB, free: 103 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.613e-05/6.202, allocations: 7.469 kB / 3.14 GB, free: 103 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/6.204, allocations: 113.3 kB / 3.14 GB, free: 102.9 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.095e-05/6.204, allocations: 24 kB / 3.14 GB, free: 102.9 MB / 0.6667 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.0001651/6.204, allocations: 118.2 kB / 3.141 GB, free: 102.8 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000193/6.204, allocations: 79.16 kB / 3.141 GB, free: 102.7 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002318/6.204, allocations: 95.23 kB / 3.141 GB, free: 102.6 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/6.204, allocations: 18.81 kB / 3.141 GB, free: 102.6 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-05/6.204, allocations: 0 / 3.141 GB, free: 102.6 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001057/6.205, allocations: 1.076 MB / 3.142 GB, free: 101.4 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002913/6.208, allocations: 1.879 MB / 3.144 GB, free: 99.54 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/6.208, allocations: 4 kB / 3.144 GB, free: 99.53 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009286/6.209, allocations: 187 kB / 3.144 GB, free: 99.35 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.146e-05/6.209, allocations: 0 / 3.144 GB, free: 99.35 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.184e-05/6.209, allocations: 8 kB / 3.144 GB, free: 99.34 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/6.209, allocations: 7.906 kB / 3.144 GB, free: 99.34 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/6.209, allocations: 4 kB / 3.144 GB, free: 99.33 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001718/6.211, allocations: 1.503 MB / 3.145 GB, free: 97.81 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005847/6.212, allocations: 252 kB / 3.146 GB, free: 97.54 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001912/6.212, allocations: 8 kB / 3.146 GB, free: 97.54 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/6.213, allocations: 84.16 kB / 3.146 GB, free: 97.46 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.691e-05/6.213, allocations: 36.59 kB / 3.146 GB, free: 97.43 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.928e-05/6.213, allocations: 20 kB / 3.146 GB, free: 97.41 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0003575/6.214, allocations: 326.9 kB / 3.146 GB, free: 97.09 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001368/6.215, allocations: 470.9 kB / 3.146 GB, free: 96.63 MB / 0.6667 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.002277/6.217, allocations: 1.806 MB / 3.148 GB, free: 95.16 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001044/6.218, allocations: 0.7917 MB / 3.149 GB, free: 94.37 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/6.218, allocations: 4 kB / 3.149 GB, free: 94.37 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004541/6.219, allocations: 426.2 kB / 3.149 GB, free: 93.95 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002304/6.221, allocations: 481.2 kB / 3.15 GB, free: 93.52 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003245/6.224, allocations: 1.798 MB / 3.152 GB, free: 91.82 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009213/6.225, allocations: 1.24 MB / 3.153 GB, free: 90.55 MB / 0.6667 GB Notification: Performance of SimCode: time 3.6e-07/6.225, allocations: 0 / 3.153 GB, free: 90.55 MB / 0.6667 GB Notification: Performance of Templates: time 0.03764/6.263, allocations: 26.86 MB / 3.179 GB, free: 64.22 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.sim & ./IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)