Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000912/0.0009118, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000868/0.0008681, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.564/1.564, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.533/1.533, allocations: 252 MB / 0.5102 GB, free: 4.855 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005308/0.000531, allocations: 19.94 kB / 0.6243 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.576/0.5766, allocations: 106.3 MB / 0.7281 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2245/0.8011, allocations: 186.1 MB / 0.9099 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.6049/1.406, allocations: 5.935 MB / 0.9157 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001926/1.408, allocations: 26.19 kB / 0.9157 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001976/1.41, allocations: 492 kB / 0.9162 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008375/1.418, allocations: 1.947 MB / 0.9181 GB, free: 5.809 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.002327/1.421, allocations: 0.5073 MB / 0.9186 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.008144/1.429, allocations: 4.138 MB / 0.9226 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002267/1.431, allocations: 0.8443 MB / 0.9234 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003985/1.435, allocations: 1.095 MB / 0.9245 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002822/1.438, allocations: 1.067 MB / 0.9255 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001753/1.438, allocations: 56.38 kB / 0.9256 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004655/1.443, allocations: 1.128 MB / 0.9267 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007541/1.444, allocations: 456.8 kB / 0.9271 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001229/1.445, allocations: 300.3 kB / 0.9274 GB, free: 21.61 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003009/1.448, allocations: 1.871 MB / 0.9292 GB, free: 21.47 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/1.448, allocations: 2.906 kB / 0.9292 GB, free: 21.47 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.873e-06/1.448, allocations: 4 kB / 0.9292 GB, free: 21.46 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.325e-05/1.448, allocations: 0 / 0.9292 GB, free: 21.46 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.003571/1.452, allocations: 1.544 MB / 0.9308 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/1.452, allocations: 8.188 kB / 0.9308 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002071/1.454, allocations: 344.6 kB / 0.9311 GB, free: 20.59 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/1.455, allocations: 0.8069 MB / 0.9319 GB, free: 20.3 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.397e-05/1.455, allocations: 81 kB / 0.932 GB, free: 20.29 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/1.455, allocations: 106.7 kB / 0.9321 GB, free: 20.29 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00197/1.457, allocations: 1.199 MB / 0.9332 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.817e-05/1.457, allocations: 4.594 kB / 0.9332 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/1.457, allocations: 47.39 kB / 0.9333 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.319e-05/1.457, allocations: 62.62 kB / 0.9333 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001727/1.459, allocations: 1.245 MB / 0.9346 GB, free: 20.18 MB / 0.7325 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.005846/1.465, allocations: 5.078 MB / 0.9395 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001265/1.466, allocations: 1.135 MB / 0.9406 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006394/1.467, allocations: 0.4909 MB / 0.9411 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.327e-05/1.467, allocations: 15.61 kB / 0.9411 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006717/1.468, allocations: 493.1 kB / 0.9416 GB, free: 17.19 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 2.735e-06/1.468, allocations: 2.734 kB / 0.9416 GB, free: 17.19 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.001802/1.469, allocations: 1.134 MB / 0.9427 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/1.47, allocations: 68.42 kB / 0.9428 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006356/1.47, allocations: 0.5657 MB / 0.9433 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.367e-05/1.47, allocations: 43.83 kB / 0.9434 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00029/1.471, allocations: 466.2 kB / 0.9438 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002042/1.471, allocations: 271 kB / 0.9441 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/1.471, allocations: 11.31 kB / 0.9441 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001598/1.471, allocations: 393.7 kB / 0.9444 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004115/1.471, allocations: 318.1 kB / 0.9447 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004815/1.472, allocations: 455.1 kB / 0.9452 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005188/1.472, allocations: 393.2 kB / 0.9456 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/1.472, allocations: 3.188 kB / 0.9456 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001322/1.474, allocations: 0.9122 MB / 0.9464 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/1.474, allocations: 5.281 kB / 0.9465 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/1.474, allocations: 3.344 kB / 0.9465 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/1.474, allocations: 10.38 kB / 0.9465 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006587/1.475, allocations: 154.5 kB / 0.9466 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.035e-05/1.475, allocations: 8.062 kB / 0.9466 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/1.476, allocations: 139.7 kB / 0.9468 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.538e-05/1.476, allocations: 28.95 kB / 0.9468 GB, free: 15.9 MB / 0.7325 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.0005825/1.476, allocations: 338 kB / 0.9471 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/1.476, allocations: 82.44 kB / 0.9472 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002465/1.477, allocations: 107.4 kB / 0.9473 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/1.477, allocations: 13.41 kB / 0.9473 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.947e-05/1.477, allocations: 2.734 kB / 0.9473 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001247/1.478, allocations: 1.077 MB / 0.9484 GB, free: 15.27 MB / 0.7325 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.003257/1.481, allocations: 2.303 MB / 0.9506 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/1.481, allocations: 0 / 0.9506 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000776/1.482, allocations: 182.5 kB / 0.9508 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.263e-06/1.482, allocations: 3.094 kB / 0.9508 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.908e-05/1.482, allocations: 20.72 kB / 0.9508 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.405e-06/1.482, allocations: 5.75 kB / 0.9508 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.482, allocations: 6.578 kB / 0.9508 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/1.484, allocations: 1.464 MB / 0.9522 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004533/1.484, allocations: 256.5 kB / 0.9525 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/1.484, allocations: 19.31 kB / 0.9525 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007684/1.485, allocations: 112.4 kB / 0.9526 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.608e-05/1.485, allocations: 46.3 kB / 0.9527 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.737e-05/1.485, allocations: 25.08 kB / 0.9527 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005024/1.486, allocations: 410 kB / 0.9531 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.61e-07/1.486, allocations: 0 / 0.9531 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00106/1.487, allocations: 374.6 kB / 0.9534 GB, free: 14.23 MB / 0.7325 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.000286/1.487, allocations: 183 kB / 0.9536 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001077/1.488, allocations: 0.7886 MB / 0.9544 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.488, allocations: 0 / 0.9544 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004839/1.489, allocations: 419.8 kB / 0.9548 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002308/1.491, allocations: 0.5711 MB / 0.9553 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003799/1.495, allocations: 2.701 MB / 0.958 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007622/1.496, allocations: 1.146 MB / 0.9591 GB, free: 12 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001138/1.497, allocations: 269.3 kB / 0.9593 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002224/1.497, allocations: 76.16 kB / 0.9594 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of SimCode: time 1.052e-06/1.497, allocations: 0 / 0.9594 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of Templates: time 0.03358/1.531, allocations: 17.89 MB / 0.9769 GB, free: 5.359 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) Environment - environmentSimulation: