Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.067/3.067, allocations: 287.3 MB / 302.3 MB, free: 8.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00154/0.00154, allocations: 178.8 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.087/2.087, allocations: 205.4 MB / 0.6295 GB, free: 10.5 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001152/0.001152, allocations: 96.23 kB / 0.7428 GB, free: 6.496 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005175/0.0005177, allocations: 14.94 kB / 0.8656 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2111, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 1.013/1.225, allocations: 168.7 MB / 1.143 GB, free: 13.9 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01576/1.24, allocations: 6.441 MB / 1.149 GB, free: 10.02 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002019/1.242, allocations: 32.66 kB / 1.149 GB, free: 10 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003495/1.246, allocations: 0.6615 MB / 1.15 GB, free: 9.484 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01036/1.256, allocations: 2.025 MB / 1.152 GB, free: 7.844 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.004047/1.26, allocations: 0.7849 MB / 1.153 GB, free: 7.285 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004917/1.265, allocations: 1.829 MB / 1.154 GB, free: 6.133 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001988/1.267, allocations: 0.8165 MB / 1.155 GB, free: 5.664 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004266/1.272, allocations: 1.136 MB / 1.156 GB, free: 4.965 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002273/1.274, allocations: 0.6584 MB / 1.157 GB, free: 4.598 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003767/1.275, allocations: 54.62 kB / 1.157 GB, free: 4.598 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004594/1.279, allocations: 0.8699 MB / 1.158 GB, free: 4.242 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001164/1.28, allocations: 401.4 kB / 1.158 GB, free: 4.008 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001011/1.281, allocations: 285.5 kB / 1.159 GB, free: 3.867 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004501/1.286, allocations: 1.636 MB / 1.16 GB, free: 2.797 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/1.286, allocations: 0 / 1.16 GB, free: 2.797 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.537e-06/1.286, allocations: 1.094 kB / 1.16 GB, free: 2.797 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.105e-05/1.286, allocations: 0 / 1.16 GB, free: 2.797 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.00687/1.293, allocations: 1.467 MB / 1.162 GB, free: 1.73 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/1.293, allocations: 16.14 kB / 1.162 GB, free: 1.723 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003978/1.297, allocations: 354 kB / 1.162 GB, free: 1.559 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002811/1.3, allocations: 0.8081 MB / 1.163 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/1.3, allocations: 75.52 kB / 1.163 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003475/1.3, allocations: 102.9 kB / 1.163 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003824/1.304, allocations: 1.175 MB / 1.164 GB, free: 180 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.84e-05/1.304, allocations: 3.906 kB / 1.164 GB, free: 176 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001988/1.305, allocations: 45.2 kB / 1.164 GB, free: 140 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001373/1.305, allocations: 65.16 kB / 1.164 GB, free: 124 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00408/1.309, allocations: 1.232 MB / 1.165 GB, free: 15.5 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.01215/1.321, allocations: 5.05 MB / 1.17 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002488/1.324, allocations: 1.14 MB / 1.171 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001128/1.324, allocations: 23.05 kB / 1.171 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001312/1.325, allocations: 485.9 kB / 1.172 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=76): time 4.769e-06/1.325, allocations: 0 / 1.172 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of matching and sorting (n=76): time 0.003471/1.329, allocations: 1.148 MB / 1.173 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.721e-05/1.329, allocations: 67.62 kB / 1.173 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/1.33, allocations: 0.5607 MB / 1.174 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002124/1.33, allocations: 43.36 kB / 1.174 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004604/1.331, allocations: 456.8 kB / 1.174 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005159/1.331, allocations: 266.5 kB / 1.174 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.772e-05/1.331, allocations: 17.72 kB / 1.174 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002471/1.331, allocations: 382.5 kB / 1.175 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009157/1.332, allocations: 327.6 kB / 1.175 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/1.333, allocations: 459.4 kB / 1.175 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/1.334, allocations: 394 kB / 1.176 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/1.335, allocations: 0 / 1.176 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00257/1.337, allocations: 0.9256 MB / 1.177 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.09e-05/1.337, allocations: 7.594 kB / 1.177 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/1.337, allocations: 6.312 kB / 1.177 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.777e-05/1.337, allocations: 8.344 kB / 1.177 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/1.339, allocations: 153.3 kB / 1.177 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.187e-05/1.339, allocations: 9.344 kB / 1.177 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00194/1.341, allocations: 136.3 kB / 1.177 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.922e-05/1.341, allocations: 24.56 kB / 1.177 GB, free: 6.719 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008315/1.342, allocations: 329.3 kB / 1.177 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002725/1.342, allocations: 77.16 kB / 1.177 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002969/1.342, allocations: 104.2 kB / 1.178 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/1.342, allocations: 11.47 kB / 1.178 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.549e-05/1.342, allocations: 0 / 1.178 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002208/1.344, allocations: 1.095 MB / 1.179 GB, free: 5.539 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.006288/1.351, allocations: 2.278 MB / 1.181 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/1.351, allocations: 3.984 kB / 1.181 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001785/1.353, allocations: 188.2 kB / 1.181 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-05/1.353, allocations: 2.562 kB / 1.181 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001181/1.353, allocations: 16.86 kB / 1.181 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.305e-06/1.353, allocations: 3 kB / 1.181 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/1.353, allocations: 0 / 1.181 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003593/1.356, allocations: 1.492 MB / 1.183 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009625/1.357, allocations: 253.4 kB / 1.183 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001985/1.358, allocations: 21.3 kB / 1.183 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001621/1.359, allocations: 101.7 kB / 1.183 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/1.359, allocations: 43.88 kB / 1.183 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.154e-05/1.36, allocations: 26.58 kB / 1.183 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007884/1.36, allocations: 403.3 kB / 1.183 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.91e-07/1.36, allocations: 0 / 1.183 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001538/1.362, allocations: 368.2 kB / 1.184 GB, free: 2.422 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 (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.0004034/1.362, allocations: 175.8 kB / 1.184 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002044/1.364, allocations: 0.8026 MB / 1.185 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/1.364, allocations: 0 / 1.185 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001007/1.365, allocations: 430.5 kB / 1.185 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004849/1.37, allocations: 0.5522 MB / 1.186 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005826/1.376, allocations: 2.662 MB / 1.188 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/1.377, allocations: 1.156 MB / 1.189 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001824/1.379, allocations: 268.3 kB / 1.19 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004145/1.38, allocations: 73.89 kB / 1.19 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of SimCode: time 1.132e-06/1.38, allocations: 0 / 1.19 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of Templates: time 0.05381/1.433, allocations: 17.59 MB / 1.207 GB, free: 14.48 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)