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.0008301/0.00083, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0009543/0.0009544, allocations: 172.7 kB / 15.95 MB, free: 208 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.337/1.337, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.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.688/1.688, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0004737/0.0004738, allocations: 11.5 kB / 0.6737 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2221, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.5543/0.7764, allocations: 185.9 MB / 0.9688 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009273/0.7857, allocations: 5.899 MB / 0.9746 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002163/0.7879, allocations: 29.19 kB / 0.9746 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002025/0.79, allocations: 489.2 kB / 0.9751 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006022/0.796, allocations: 1.93 MB / 0.9769 GB, free: 3.066 MB / 0.7169 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.001997/0.798, allocations: 492 kB / 0.9774 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006395/0.8044, allocations: 4.004 MB / 0.9813 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00137/0.8058, allocations: 0.8093 MB / 0.9821 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002275/0.8081, allocations: 1.064 MB / 0.9831 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001722/0.8098, allocations: 1.045 MB / 0.9842 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001167/0.81, allocations: 60 kB / 0.9842 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003312/0.8133, allocations: 1.122 MB / 0.9853 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004953/0.8138, allocations: 458.1 kB / 0.9858 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006178/0.8144, allocations: 283.5 kB / 0.986 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002462/0.8169, allocations: 1.834 MB / 0.9878 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.8169, allocations: 0 / 0.9878 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8169, allocations: 0 / 0.9878 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.527e-05/0.8169, allocations: 0 / 0.9878 GB, free: 16.48 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.003243/0.8202, allocations: 1.527 MB / 0.9893 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.8202, allocations: 11.53 kB / 0.9893 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002016/0.8223, allocations: 343 kB / 0.9896 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.8234, allocations: 0.8062 MB / 0.9904 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.137e-05/0.8235, allocations: 77.55 kB / 0.9905 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.8236, allocations: 100.2 kB / 0.9906 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/0.8253, allocations: 1.193 MB / 0.9918 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.8254, allocations: 7.891 kB / 0.9918 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.727e-05/0.8255, allocations: 41.98 kB / 0.9918 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.974e-05/0.8255, allocations: 60.17 kB / 0.9919 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001611/0.8271, allocations: 1.233 MB / 0.9931 GB, free: 14.34 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.005375/0.8325, allocations: 5.053 MB / 0.998 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.8338, allocations: 1.148 MB / 0.9991 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005872/0.8343, allocations: 0.5137 MB / 0.9996 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.553e-05/0.8344, allocations: 8.688 kB / 0.9996 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006304/0.8351, allocations: 491.2 kB / 1 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 2.264e-06/0.8351, allocations: 0 / 1 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.001631/0.8367, allocations: 1.141 MB / 1.001 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.8368, allocations: 62.62 kB / 1.001 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005501/0.8373, allocations: 0.5679 MB / 1.002 GB, free: 9.809 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.854e-05/0.8374, allocations: 38.05 kB / 1.002 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/0.8376, allocations: 461.3 kB / 1.002 GB, free: 9.504 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002057/0.8378, allocations: 263.2 kB / 1.003 GB, free: 9.312 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.8379, allocations: 15.88 kB / 1.003 GB, free: 9.312 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.838, allocations: 383.8 kB / 1.003 GB, free: 8.977 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003897/0.8384, allocations: 330 kB / 1.003 GB, free: 8.93 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004849/0.8389, allocations: 453.5 kB / 1.004 GB, free: 8.754 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004773/0.8394, allocations: 398.7 kB / 1.004 GB, free: 8.707 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.8394, allocations: 0 / 1.004 GB, free: 8.707 MB / 0.7325 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001101/0.8405, allocations: 0.926 MB / 1.005 GB, free: 8.52 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.8406, allocations: 5.875 kB / 1.005 GB, free: 8.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.8406, allocations: 2.625 kB / 1.005 GB, free: 8.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.8406, allocations: 6.188 kB / 1.005 GB, free: 8.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005836/0.8412, allocations: 158 kB / 1.005 GB, free: 8.488 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.8412, allocations: 11.69 kB / 1.005 GB, free: 8.484 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008133/0.842, allocations: 132.7 kB / 1.005 GB, free: 8.422 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.494e-05/0.8421, allocations: 29.77 kB / 1.005 GB, free: 8.418 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.0004009/0.8425, allocations: 341.8 kB / 1.006 GB, free: 8.258 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.807e-05/0.8426, allocations: 75.75 kB / 1.006 GB, free: 8.223 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001998/0.8428, allocations: 103.6 kB / 1.006 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.8428, allocations: 7.625 kB / 1.006 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/0.8428, allocations: 0 / 1.006 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001016/0.8438, allocations: 1.085 MB / 1.007 GB, free: 7.664 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.002608/0.8465, allocations: 2.296 MB / 1.009 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.8465, allocations: 7.922 kB / 1.009 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007307/0.8472, allocations: 174.5 kB / 1.009 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.8472, allocations: 5.094 kB / 1.009 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.392e-05/0.8473, allocations: 21.03 kB / 1.009 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.8473, allocations: 6.5 kB / 1.009 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.8473, allocations: 0 / 1.009 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/0.8489, allocations: 1.477 MB / 1.011 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003382/0.8492, allocations: 256.4 kB / 1.011 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.257e-05/0.8493, allocations: 15.66 kB / 1.011 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006714/0.85, allocations: 96.27 kB / 1.011 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.543e-05/0.8501, allocations: 44.81 kB / 1.011 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-05/0.8501, allocations: 27.08 kB / 1.011 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004029/0.8505, allocations: 403.7 kB / 1.012 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.635e-06/0.8505, allocations: 0 / 1.012 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008175/0.8514, allocations: 375.8 kB / 1.012 GB, free: 5.938 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.0002383/0.8516, allocations: 175.7 kB / 1.012 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009875/0.8526, allocations: 0.7942 MB / 1.013 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.8526, allocations: 2.125 kB / 1.013 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004545/0.8531, allocations: 425.7 kB / 1.013 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002131/0.8552, allocations: 0.5705 MB / 1.014 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003148/0.8584, allocations: 2.667 MB / 1.016 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006374/0.859, allocations: 1.137 MB / 1.018 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009857/0.86, allocations: 274.8 kB / 1.018 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.8602, allocations: 74.7 kB / 1.018 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of SimCode: time 9.72e-07/0.8603, allocations: 0 / 1.018 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of Templates: time 0.02835/0.8886, allocations: 17.66 MB / 1.035 GB, free: 4.887 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) Environment - environmentSimulation: