Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.78/1.78, allocations: 288.4 MB / 303.7 MB, free: 8.055 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000899/0.000899, allocations: 180.5 kB / 372.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 205.4 MB / 0.631 GB, free: 9.91 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007004/0.0007005, allocations: 101.2 kB / 0.7444 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003618/0.0003618, allocations: 11.34 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1804, allocations: 115.3 MB / 0.9801 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.5968/0.7773, allocations: 185.9 MB / 1.162 GB, free: 2.113 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009586/0.7869, allocations: 5.907 MB / 1.167 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001743/0.7887, allocations: 25.28 kB / 1.167 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002115/0.7908, allocations: 0.5673 MB / 1.168 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.007307/0.7982, allocations: 2.332 MB / 1.17 GB, free: 11.07 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition ‘zonFlo.useDefaultProperties and initial()‘. Notification: Performance of NFTyping.typeClassSections: time 0.002144/0.8003, allocations: 0.5153 MB / 1.171 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.006063/0.8064, allocations: 4.009 MB / 1.175 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001591/0.808, allocations: 0.9059 MB / 1.176 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002596/0.8107, allocations: 1.053 MB / 1.177 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002517/0.8132, allocations: 1.055 MB / 1.178 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001605/0.8134, allocations: 60.16 kB / 1.178 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005576/0.819, allocations: 2.663 MB / 1.18 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0006223/0.8196, allocations: 442.5 kB / 1.181 GB, free: 5 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001133/0.8207, allocations: 0.6433 MB / 1.181 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00289/0.8236, allocations: 2.04 MB / 1.183 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.8237, allocations: 6.594 kB / 1.183 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.724e-06/0.8237, allocations: 0 / 1.183 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.995e-05/0.8237, allocations: 0 / 1.183 GB, free: 3.367 MB / 0.7136 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.00373/0.8274, allocations: 1.512 MB / 1.185 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.8275, allocations: 8.438 kB / 1.185 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002101/0.8296, allocations: 344.4 kB / 1.185 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001565/0.8312, allocations: 0.827 MB / 1.186 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.046e-05/0.8313, allocations: 81.41 kB / 1.186 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001598/0.8314, allocations: 97.97 kB / 1.186 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001968/0.8334, allocations: 1.182 MB / 1.187 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.8334, allocations: 2.125 kB / 1.187 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-05/0.8336, allocations: 45.2 kB / 1.187 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.587e-05/0.8336, allocations: 63.31 kB / 1.187 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001885/0.8355, allocations: 1.236 MB / 1.189 GB, free: 28 kB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006369/0.8419, allocations: 5.062 MB / 1.194 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.8433, allocations: 1.145 MB / 1.195 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006707/0.844, allocations: 0.4983 MB / 1.195 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.84e-05/0.8441, allocations: 20.03 kB / 1.195 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000701/0.8448, allocations: 479.4 kB / 1.196 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=76): time 3.567e-06/0.8448, allocations: 7.25 kB / 1.196 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of matching and sorting (n=76): time 0.001935/0.8468, allocations: 1.148 MB / 1.197 GB, free: 9.723 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.8469, allocations: 64.69 kB / 1.197 GB, free: 9.656 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007098/0.8476, allocations: 0.5559 MB / 1.197 GB, free: 9.32 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.04e-05/0.8476, allocations: 42.86 kB / 1.197 GB, free: 9.277 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003506/0.848, allocations: 462.7 kB / 1.198 GB, free: 8.871 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002986/0.8483, allocations: 266.8 kB / 1.198 GB, free: 8.641 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.76e-05/0.8484, allocations: 15 kB / 1.198 GB, free: 8.629 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.8485, allocations: 385.8 kB / 1.198 GB, free: 8.262 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004639/0.849, allocations: 326.1 kB / 1.199 GB, free: 8.094 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005327/0.8495, allocations: 455 kB / 1.199 GB, free: 7.781 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.8506, allocations: 0.8214 MB / 1.2 GB, free: 7.285 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.8506, allocations: 0 / 1.2 GB, free: 7.285 MB / 0.7292 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00131/0.8519, allocations: 0.9186 MB / 1.201 GB, free: 6.809 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.852, allocations: 5.469 kB / 1.201 GB, free: 6.809 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.852, allocations: 3.156 kB / 1.201 GB, free: 6.809 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.852, allocations: 9.719 kB / 1.201 GB, free: 6.805 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006655/0.8527, allocations: 158.9 kB / 1.201 GB, free: 6.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.8527, allocations: 13.39 kB / 1.201 GB, free: 6.762 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009548/0.8537, allocations: 135.3 kB / 1.201 GB, free: 6.688 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-05/0.8537, allocations: 30.19 kB / 1.201 GB, free: 6.68 MB / 0.7292 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 () * Number of clocked 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.0004908/0.8542, allocations: 328.8 kB / 1.202 GB, free: 6.434 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.8543, allocations: 79.62 kB / 1.202 GB, free: 6.395 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001957/0.8545, allocations: 110.4 kB / 1.202 GB, free: 6.309 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.8546, allocations: 11.83 kB / 1.202 GB, free: 6.305 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/0.8546, allocations: 3.938 kB / 1.202 GB, free: 6.301 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00124/0.8558, allocations: 1.077 MB / 1.203 GB, free: 5.504 MB / 0.7292 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003364/0.8592, allocations: 2.305 MB / 1.205 GB, free: 3.285 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.8592, allocations: 0 / 1.205 GB, free: 3.285 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009144/0.8601, allocations: 175.8 kB / 1.205 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.367e-06/0.8602, allocations: 4 kB / 1.205 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.235e-05/0.8602, allocations: 24.02 kB / 1.205 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.181e-06/0.8602, allocations: 4 kB / 1.205 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.8602, allocations: 0 / 1.205 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002015/0.8623, allocations: 1.475 MB / 1.207 GB, free: 1.59 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005402/0.8628, allocations: 256 kB / 1.207 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.8629, allocations: 19.94 kB / 1.207 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007805/0.8637, allocations: 99.75 kB / 1.207 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.683e-05/0.8638, allocations: 56.47 kB / 1.207 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.182e-05/0.8639, allocations: 24.12 kB / 1.207 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005191/0.8644, allocations: 403.1 kB / 1.208 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8644, allocations: 0 / 1.208 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009942/0.8654, allocations: 363 kB / 1.208 GB, free: 384 kB / 0.7292 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 () * Number of clocked 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.000293/0.8657, allocations: 182.8 kB / 1.208 GB, free: 196 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001218/0.867, allocations: 0.7903 MB / 1.209 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.867, allocations: 0.6875 kB / 1.209 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000523/0.8675, allocations: 431.5 kB / 1.209 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002496/0.87, allocations: 0.5582 MB / 1.21 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003431/0.8735, allocations: 2.667 MB / 1.212 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000677/0.8742, allocations: 1.14 MB / 1.213 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001076/0.8752, allocations: 267.1 kB / 1.214 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002202/0.8755, allocations: 75.44 kB / 1.214 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of SimCode: time 6.11e-07/0.8755, allocations: 4 kB / 1.214 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of Templates: time 0.02894/0.9044, allocations: 17.94 MB / 1.231 GB, free: 8.465 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)