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/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.363/1.363, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009882/0.0009882, allocations: 178.1 kB / 327.6 MB, free: 2.109 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.681/1.681, allocations: 205.4 MB / 0.5786 GB, free: 20.14 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007989/0.000799, allocations: 81.5 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003558, allocations: 9.906 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2153, allocations: 106.3 MB / 0.9014 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.6603/0.8757, allocations: 199.4 MB / 1.096 GB, free: 1.535 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00942/0.8852, allocations: 6.367 MB / 1.102 GB, free: 1.402 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001919/0.8871, allocations: 28.69 kB / 1.102 GB, free: 1.402 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002158/0.8893, allocations: 0.6505 MB / 1.103 GB, free: 1.387 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007417/0.8968, allocations: 2.53 MB / 1.106 GB, free: 1.254 MB / 0.698 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.002203/0.899, allocations: 0.6849 MB / 1.106 GB, free: 1.23 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005471/0.9045, allocations: 4.954 MB / 1.111 GB, free: 1.219 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001862/0.9064, allocations: 0.9382 MB / 1.112 GB, free: 1.055 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002709/0.9091, allocations: 1.105 MB / 1.113 GB, free: 1.051 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002859/0.912, allocations: 1.12 MB / 1.114 GB, free: 1.039 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.00031/0.9123, allocations: 57.97 kB / 1.114 GB, free: 1.039 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00545/0.9178, allocations: 2.707 MB / 1.117 GB, free: 1.012 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007555/0.9185, allocations: 461.1 kB / 1.117 GB, free: 1.008 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001304/0.9199, allocations: 0.6794 MB / 1.118 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002866/0.9227, allocations: 2.079 MB / 1.12 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.9228, allocations: 0 / 1.12 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9228, allocations: 0 / 1.12 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.22e-05/0.9228, allocations: 0 / 1.12 GB, free: 0.8398 MB / 0.698 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.003583/0.9264, allocations: 1.533 MB / 1.121 GB, free: 16.03 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.9264, allocations: 9.219 kB / 1.121 GB, free: 16.03 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002107/0.9285, allocations: 349 kB / 1.122 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/0.93, allocations: 0.8414 MB / 1.123 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.53e-05/0.9301, allocations: 79.7 kB / 1.123 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.9302, allocations: 99.58 kB / 1.123 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/0.9321, allocations: 1.208 MB / 1.124 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.9321, allocations: 5.422 kB / 1.124 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.9322, allocations: 40.03 kB / 1.124 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.97e-05/0.9323, allocations: 64.03 kB / 1.124 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001764/0.9341, allocations: 1.254 MB / 1.125 GB, free: 15.52 MB / 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.007405/0.9415, allocations: 5.079 MB / 1.13 GB, free: 13 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001907/0.9435, allocations: 1.138 MB / 1.131 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009395/0.9444, allocations: 0.5009 MB / 1.132 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.343e-05/0.9445, allocations: 15.88 kB / 1.132 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007555/0.9453, allocations: 492.6 kB / 1.132 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=76): time 2.695e-06/0.9453, allocations: 0 / 1.132 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=76): time 0.001857/0.9471, allocations: 1.149 MB / 1.133 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.9472, allocations: 61.59 kB / 1.134 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006283/0.9478, allocations: 0.5766 MB / 1.134 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.13e-05/0.9479, allocations: 39.67 kB / 1.134 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002767/0.9482, allocations: 467.5 kB / 1.135 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002231/0.9484, allocations: 267.7 kB / 1.135 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/0.9484, allocations: 14.03 kB / 1.135 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.9486, allocations: 386.1 kB / 1.135 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004081/0.949, allocations: 322 kB / 1.136 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005257/0.9496, allocations: 462.8 kB / 1.136 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009705/0.9506, allocations: 0.8215 MB / 1.137 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.9506, allocations: 0 / 1.137 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001188/0.9518, allocations: 0.9248 MB / 1.138 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.9518, allocations: 6.469 kB / 1.138 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.9518, allocations: 6.469 kB / 1.138 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.9518, allocations: 5.844 kB / 1.138 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006528/0.9525, allocations: 152.4 kB / 1.138 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.9525, allocations: 7.719 kB / 1.138 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/0.9536, allocations: 136.6 kB / 1.138 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.154e-05/0.9536, allocations: 27.22 kB / 1.138 GB, free: 10.84 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004977/0.9541, allocations: 340.4 kB / 1.138 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.9542, allocations: 84.31 kB / 1.138 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000175/0.9544, allocations: 117.2 kB / 1.139 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.9544, allocations: 5.281 kB / 1.139 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.9545, allocations: 0 / 1.139 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001088/0.9555, allocations: 1.082 MB / 1.14 GB, free: 10.08 MB / 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 postOpt removeSimpleEquations (simulation): time 0.003094/0.9587, allocations: 2.305 MB / 1.142 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.9587, allocations: 4.031 kB / 1.142 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008303/0.9595, allocations: 176 kB / 1.142 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.9595, allocations: 3.25 kB / 1.142 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.429e-05/0.9596, allocations: 17.41 kB / 1.142 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-05/0.9596, allocations: 9.078 kB / 1.142 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.9596, allocations: 3.938 kB / 1.142 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001841/0.9615, allocations: 1.468 MB / 1.143 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004275/0.9619, allocations: 256.3 kB / 1.144 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.659e-05/0.962, allocations: 26.06 kB / 1.144 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008371/0.9628, allocations: 102.6 kB / 1.144 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.268e-05/0.9629, allocations: 50.59 kB / 1.144 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.368e-05/0.963, allocations: 25.48 kB / 1.144 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004177/0.9634, allocations: 412.8 kB / 1.144 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.142e-06/0.9634, allocations: 4 kB / 1.144 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008192/0.9643, allocations: 376.8 kB / 1.145 GB, free: 8.359 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00026/0.9645, allocations: 186.3 kB / 1.145 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001044/0.9656, allocations: 0.793 MB / 1.146 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.9656, allocations: 0 / 1.146 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004732/0.9661, allocations: 422.9 kB / 1.146 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002482/0.9686, allocations: 0.5634 MB / 1.147 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003377/0.972, allocations: 2.815 MB / 1.149 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006787/0.9727, allocations: 1.141 MB / 1.15 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002827/0.9729, allocations: 82.64 kB / 1.151 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of SimCode: time 4.1e-07/0.9729, allocations: 0 / 1.151 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of Templates: time 0.02241/0.9954, allocations: 15.85 MB / 1.166 GB, free: 10.41 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (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)