Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001208/0.001208, allocations: 101.3 kB / 16.29 MB, free: 6.43 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.001302/0.001302, allocations: 182.8 kB / 17.22 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.678/1.678, allocations: 292.3 MB / 0.5495 GB, free: 17.47 MB / 462.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.001617/0.001617, allocations: 63.91 kB / 0.6722 GB, free: 6.574 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2055, allocations: 114.6 MB / 0.7841 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.6045/0.81, allocations: 204.1 MB / 0.9834 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.009112/0.8192, allocations: 6.307 MB / 0.9896 GB, free: 8.016 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001177/0.8204, allocations: 35.81 kB / 0.9896 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00161/0.822, allocations: 0.7226 MB / 0.9903 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.005872/0.8279, allocations: 2.673 MB / 0.9929 GB, free: 4.57 MB / 0.7794 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.001686/0.8296, allocations: 0.6949 MB / 0.9936 GB, free: 3.883 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003589/0.8332, allocations: 3.257 MB / 0.9968 GB, free: 0.6172 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00131/0.8345, allocations: 1.129 MB / 0.9979 GB, free: 15.46 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002009/0.8366, allocations: 1.249 MB / 0.9991 GB, free: 14.21 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001974/0.8385, allocations: 1.09 MB / 1 GB, free: 13.12 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001886/0.8387, allocations: 128 kB / 1 GB, free: 13 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0043/0.8431, allocations: 2.358 MB / 1.003 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0005132/0.8436, allocations: 0.5143 MB / 1.003 GB, free: 10.12 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0008902/0.8445, allocations: 0.7391 MB / 1.004 GB, free: 9.379 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.004037/0.8485, allocations: 2.797 MB / 1.007 GB, free: 6.574 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.8485, allocations: 0 / 1.007 GB, free: 6.574 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.132e-06/0.8486, allocations: 4 kB / 1.007 GB, free: 6.57 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.586e-05/0.8486, allocations: 0 / 1.007 GB, free: 6.57 MB / 0.795 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.003533/0.8521, allocations: 1.748 MB / 1.008 GB, free: 4.77 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.8522, allocations: 8.031 kB / 1.008 GB, free: 4.762 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002056/0.8542, allocations: 350.1 kB / 1.009 GB, free: 4.418 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.8554, allocations: 0.835 MB / 1.009 GB, free: 3.535 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.281e-05/0.8554, allocations: 78 kB / 1.009 GB, free: 3.457 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.8556, allocations: 104 kB / 1.01 GB, free: 3.355 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/0.8573, allocations: 1.187 MB / 1.011 GB, free: 2.137 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/0.8574, allocations: 0 / 1.011 GB, free: 2.137 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-05/0.8575, allocations: 43.98 kB / 1.011 GB, free: 2.094 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.24e-05/0.8575, allocations: 62.06 kB / 1.011 GB, free: 2.031 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00169/0.8592, allocations: 1.242 MB / 1.012 GB, free: 0.7812 MB / 0.795 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.005483/0.8647, allocations: 5.085 MB / 1.017 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/0.8661, allocations: 1.144 MB / 1.018 GB, free: 10.01 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006969/0.8668, allocations: 0.5011 MB / 1.019 GB, free: 9.512 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.309e-05/0.8669, allocations: 20.78 kB / 1.019 GB, free: 9.492 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000662/0.8675, allocations: 480.2 kB / 1.019 GB, free: 9.008 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=76): time 2.334e-06/0.8676, allocations: 4 kB / 1.019 GB, free: 9.004 MB / 0.8106 GB Notification: Performance of matching and sorting (n=76): time 0.001762/0.8693, allocations: 1.158 MB / 1.02 GB, free: 7.844 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.8694, allocations: 64 kB / 1.02 GB, free: 7.77 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006027/0.87, allocations: 0.5666 MB / 1.021 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.003e-05/0.8701, allocations: 41.7 kB / 1.021 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002807/0.8703, allocations: 459.6 kB / 1.021 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/0.8705, allocations: 268.1 kB / 1.022 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001852/0.8707, allocations: 134.7 kB / 1.022 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.8709, allocations: 382.8 kB / 1.022 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004304/0.8713, allocations: 327.9 kB / 1.022 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005257/0.8719, allocations: 462.5 kB / 1.023 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.8729, allocations: 0.8233 MB / 1.024 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.8729, allocations: 0 / 1.024 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001271/0.8742, allocations: 0.9297 MB / 1.025 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.8742, allocations: 8 kB / 1.025 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.8742, allocations: 4 kB / 1.025 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.8742, allocations: 4 kB / 1.025 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006139/0.8748, allocations: 155.8 kB / 1.025 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.8749, allocations: 9.344 kB / 1.025 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006193/0.8755, allocations: 68.67 kB / 1.025 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.273e-05/0.8756, allocations: 28 kB / 1.025 GB, free: 3.023 MB / 0.8106 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.0004452/0.876, allocations: 329.9 kB / 1.025 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.8761, allocations: 83.06 kB / 1.025 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002198/0.8764, allocations: 103.6 kB / 1.025 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.8764, allocations: 8 kB / 1.025 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.8764, allocations: 3.938 kB / 1.025 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001111/0.8775, allocations: 1.093 MB / 1.026 GB, free: 1.312 MB / 0.8106 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.002776/0.8803, allocations: 2.305 MB / 1.029 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.8803, allocations: 4 kB / 1.029 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007581/0.8811, allocations: 171.8 kB / 1.029 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.8811, allocations: 2.562 kB / 1.029 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.736e-05/0.8811, allocations: 27.92 kB / 1.029 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.022e-06/0.8811, allocations: 7.938 kB / 1.029 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.8811, allocations: 0 / 1.029 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001696/0.8829, allocations: 1.483 MB / 1.03 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003333/0.8832, allocations: 252 kB / 1.031 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.195e-05/0.8833, allocations: 15.98 kB / 1.031 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005323/0.8838, allocations: 23.98 kB / 1.031 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.231e-05/0.8839, allocations: 40.59 kB / 1.031 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.357e-05/0.884, allocations: 27.98 kB / 1.031 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003989/0.8844, allocations: 407.1 kB / 1.031 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8844, allocations: 3.938 kB / 1.031 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0007612/0.8851, allocations: 367.1 kB / 1.031 GB, free: 12.08 MB / 0.8262 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.0002522/0.8854, allocations: 172.6 kB / 1.032 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001013/0.8864, allocations: 0.8019 MB / 1.032 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.8864, allocations: 4 kB / 1.032 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004753/0.8869, allocations: 431.4 kB / 1.033 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002039/0.889, allocations: 0.5924 MB / 1.033 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002632/0.8916, allocations: 2.142 MB / 1.035 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006037/0.8922, allocations: 1.136 MB / 1.037 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0006931/0.8929, allocations: 272.6 kB / 1.037 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001985/0.8931, allocations: 71.44 kB / 1.037 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.8931, allocations: 0 / 1.037 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of Templates: time 0.2554/1.149, allocations: 19.13 MB / 1.056 GB, free: 3.703 MB / 0.8419 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)