Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.532/1.532, allocations: 297.8 MB / 313.7 MB, free: 144 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009524/0.0009524, allocations: 180.3 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.254/1.254, allocations: 223.2 MB / 0.6626 GB, free: 4.273 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000733/0.000733, allocations: 102.7 kB / 0.7808 GB, free: 50.42 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003628/0.0003629, allocations: 12.59 kB / 0.9088 GB, free: 2.879 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5925/0.5929, allocations: 120.3 MB / 1.026 GB, free: 55.95 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.521/4.114, allocations: 1.913 GB / 2.939 GB, free: 285.1 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/4.114, allocations: 92.67 kB / 2.94 GB, free: 285.1 MB / 0.9792 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 ‘useDefaultProperties and initial()‘. Notification: Performance of FrontEnd - DAE generated: time 1.551/5.665, allocations: 0.6108 GB / 3.55 GB, free: 72.04 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.493e-06/5.665, allocations: 0 / 3.55 GB, free: 72.04 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 9.615e-05/5.665, allocations: 28.12 kB / 3.55 GB, free: 72.02 MB / 0.9792 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.004917/5.67, allocations: 1.65 MB / 3.552 GB, free: 70.31 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/5.67, allocations: 12.03 kB / 3.552 GB, free: 70.3 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002195/5.673, allocations: 339.1 kB / 3.552 GB, free: 69.96 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001678/5.674, allocations: 0.8716 MB / 3.553 GB, free: 69.05 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.206e-05/5.674, allocations: 74.38 kB / 3.553 GB, free: 68.98 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002467/5.675, allocations: 100.4 kB / 3.553 GB, free: 68.88 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001942/5.677, allocations: 1.129 MB / 3.554 GB, free: 67.72 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.234e-05/5.677, allocations: 3.938 kB / 3.554 GB, free: 67.71 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001149/5.677, allocations: 40 kB / 3.554 GB, free: 67.68 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-05/5.677, allocations: 62.02 kB / 3.555 GB, free: 67.61 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001734/5.679, allocations: 1.168 MB / 3.556 GB, free: 66.44 MB / 0.9792 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.005667/5.684, allocations: 5.042 MB / 3.561 GB, free: 60.94 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/5.685, allocations: 0.9659 MB / 3.562 GB, free: 59.93 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005716/5.686, allocations: 0.5052 MB / 3.562 GB, free: 59.43 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 5.711e-05/5.686, allocations: 24.56 kB / 3.562 GB, free: 59.4 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006051/5.687, allocations: 492.2 kB / 3.563 GB, free: 58.91 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=76): time 4.058e-06/5.687, allocations: 0 / 3.563 GB, free: 58.91 MB / 0.9792 GB Notification: Performance of matching and sorting (n=76): time 0.001707/5.688, allocations: 1.169 MB / 3.564 GB, free: 57.73 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/5.688, allocations: 60.06 kB / 3.564 GB, free: 57.66 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006605/5.689, allocations: 0.5704 MB / 3.564 GB, free: 57.08 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 6.969e-05/5.689, allocations: 41.7 kB / 3.564 GB, free: 57.03 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002/5.689, allocations: 455.6 kB / 3.565 GB, free: 56.58 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001949/5.689, allocations: 272.1 kB / 3.565 GB, free: 56.31 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/5.69, allocations: 12 kB / 3.565 GB, free: 56.3 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.921e-05/5.69, allocations: 390.7 kB / 3.565 GB, free: 55.91 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004043/5.69, allocations: 337.8 kB / 3.566 GB, free: 55.57 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004473/5.69, allocations: 458.5 kB / 3.566 GB, free: 55.08 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009131/5.691, allocations: 0.8427 MB / 3.567 GB, free: 54.2 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/5.691, allocations: 0 / 3.567 GB, free: 54.2 MB / 0.9792 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001209/5.693, allocations: 0.9413 MB / 3.568 GB, free: 53.25 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/5.693, allocations: 4 kB / 3.568 GB, free: 53.25 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/5.693, allocations: 4 kB / 3.568 GB, free: 53.24 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/5.693, allocations: 8.344 kB / 3.568 GB, free: 53.23 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006318/5.693, allocations: 151.8 kB / 3.568 GB, free: 53.09 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.685e-05/5.693, allocations: 15.92 kB / 3.568 GB, free: 53.07 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/5.695, allocations: 127.3 kB / 3.568 GB, free: 52.95 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.877e-05/5.695, allocations: 24 kB / 3.568 GB, free: 52.92 MB / 0.9792 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.0005405/5.695, allocations: 338.2 kB / 3.569 GB, free: 52.58 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/5.695, allocations: 79.06 kB / 3.569 GB, free: 52.5 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002209/5.695, allocations: 115.6 kB / 3.569 GB, free: 52.39 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/5.696, allocations: 8 kB / 3.569 GB, free: 52.38 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/5.696, allocations: 4 kB / 3.569 GB, free: 52.38 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009837/5.697, allocations: 1.097 MB / 3.57 GB, free: 51.2 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002921/5.699, allocations: 2.191 MB / 3.572 GB, free: 48.94 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/5.699, allocations: 4 kB / 3.572 GB, free: 48.94 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007791/5.7, allocations: 179.8 kB / 3.572 GB, free: 48.76 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/5.7, allocations: 4 kB / 3.572 GB, free: 48.76 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-05/5.7, allocations: 19.98 kB / 3.572 GB, free: 48.74 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/5.7, allocations: 4 kB / 3.572 GB, free: 48.73 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/5.7, allocations: 3.938 kB / 3.572 GB, free: 48.73 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/5.702, allocations: 1.502 MB / 3.574 GB, free: 47.21 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004729/5.702, allocations: 256 kB / 3.574 GB, free: 46.94 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/5.703, allocations: 16 kB / 3.574 GB, free: 46.92 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008819/5.703, allocations: 99.84 kB / 3.574 GB, free: 46.82 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.498e-05/5.704, allocations: 44.53 kB / 3.574 GB, free: 46.78 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.602e-05/5.704, allocations: 23.98 kB / 3.574 GB, free: 46.76 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0004115/5.704, allocations: 411.1 kB / 3.574 GB, free: 46.36 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.8e-07/5.704, allocations: 0 / 3.574 GB, free: 46.36 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001449/5.705, allocations: 0.5146 MB / 3.575 GB, free: 45.84 MB / 0.9792 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.002074/5.708, allocations: 1.628 MB / 3.577 GB, free: 44.14 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001083/5.709, allocations: 0.8142 MB / 3.577 GB, free: 43.33 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/5.709, allocations: 4 kB / 3.577 GB, free: 43.33 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0004563/5.709, allocations: 435.6 kB / 3.578 GB, free: 42.9 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002373/5.712, allocations: 0.5533 MB / 3.578 GB, free: 42.36 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003172/5.715, allocations: 2.674 MB / 3.581 GB, free: 39.65 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005933/5.715, allocations: 1.14 MB / 3.582 GB, free: 38.49 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001003/5.716, allocations: 279.1 kB / 3.582 GB, free: 38.21 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002546/5.717, allocations: 75.42 kB / 3.582 GB, free: 38.14 MB / 0.9792 GB Notification: Performance of SimCode: time 5.11e-07/5.717, allocations: 4 kB / 3.582 GB, free: 38.14 MB / 0.9792 GB Notification: Performance of Templates: time 0.04348/5.76, allocations: 37.72 MB / 3.619 GB, free: 0.6172 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)