Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009861/0.0009859, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009859/0.009859, allocations: 169.9 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.315/2.315, allocations: 390.9 MB / 0.6664 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003465/0.0003465, allocations: 12 kB / 0.8161 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7238/0.7242, allocations: 142.4 MB / 0.9552 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.1923/0.9166, allocations: 199.3 MB / 1.15 GB, free: 7.43 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00895/0.9255, allocations: 6.395 MB / 1.156 GB, free: 1.016 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001105/0.9267, allocations: 31.81 kB / 1.156 GB, free: 0.9844 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001554/0.9282, allocations: 0.6415 MB / 1.157 GB, free: 348 kB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005641/0.9339, allocations: 2.518 MB / 1.159 GB, free: 13.81 MB / 0.92 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.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.00149/0.9354, allocations: 0.6428 MB / 1.16 GB, free: 13.18 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004537/0.9399, allocations: 4.83 MB / 1.164 GB, free: 8.332 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001206/0.9412, allocations: 0.9279 MB / 1.165 GB, free: 7.387 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001755/0.9429, allocations: 1.031 MB / 1.166 GB, free: 6.352 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001989/0.9449, allocations: 1.101 MB / 1.167 GB, free: 5.25 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.945, allocations: 56 kB / 1.167 GB, free: 5.195 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004315/0.9494, allocations: 2.708 MB / 1.17 GB, free: 2.48 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004388/0.9498, allocations: 450.7 kB / 1.171 GB, free: 2.039 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0007602/0.9506, allocations: 0.6705 MB / 1.171 GB, free: 1.359 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003614/0.9542, allocations: 2.839 MB / 1.174 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.9542, allocations: 0 / 1.174 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.156e-06/0.9542, allocations: 0 / 1.174 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.745e-05/0.9543, allocations: 7.938 kB / 1.174 GB, free: 14.5 MB / 0.9356 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.003283/0.9575, allocations: 1.519 MB / 1.175 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.9576, allocations: 12.03 kB / 1.175 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001872/0.9578, allocations: 164.6 kB / 1.176 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002074/0.9599, allocations: 350.1 kB / 1.176 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.961, allocations: 0.8427 MB / 1.177 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.365e-05/0.9611, allocations: 78 kB / 1.177 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/0.9613, allocations: 104 kB / 1.177 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/0.963, allocations: 1.187 MB / 1.178 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/0.9631, allocations: 4 kB / 1.178 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.676e-05/0.9632, allocations: 43.98 kB / 1.178 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.528e-05/0.9633, allocations: 62.06 kB / 1.178 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001764/0.965, allocations: 1.246 MB / 1.179 GB, free: 8.75 MB / 0.9356 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.005547/0.9706, allocations: 5.079 MB / 1.184 GB, free: 3.207 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.9719, allocations: 1.164 MB / 1.186 GB, free: 1.965 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006708/0.9726, allocations: 0.5012 MB / 1.186 GB, free: 1.461 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.269e-05/0.9727, allocations: 20.78 kB / 1.186 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006544/0.9734, allocations: 488.2 kB / 1.187 GB, free: 0.9531 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=76): time 1.984e-06/0.9734, allocations: 0 / 1.187 GB, free: 0.9531 MB / 0.9356 GB Notification: Performance of matching and sorting (n=76): time 0.001757/0.9751, allocations: 1.157 MB / 1.188 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.9752, allocations: 60.06 kB / 1.188 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005999/0.9758, allocations: 0.5706 MB / 1.188 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.283e-05/0.9759, allocations: 41.7 kB / 1.188 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002731/0.9761, allocations: 459.6 kB / 1.189 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002161/0.9764, allocations: 287.8 kB / 1.189 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.952e-05/0.9765, allocations: 61.69 kB / 1.189 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.9766, allocations: 386.8 kB / 1.189 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004506/0.9771, allocations: 333.8 kB / 1.19 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005287/0.9776, allocations: 448.7 kB / 1.19 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.9787, allocations: 0.8233 MB / 1.191 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.9787, allocations: 0 / 1.191 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001255/0.9799, allocations: 0.9296 MB / 1.192 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.9799, allocations: 6.188 kB / 1.192 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.98, allocations: 7.938 kB / 1.192 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.98, allocations: 8 kB / 1.192 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006381/0.9806, allocations: 155.7 kB / 1.192 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.9806, allocations: 8 kB / 1.192 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009605/0.9816, allocations: 155.6 kB / 1.192 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-05/0.9817, allocations: 28 kB / 1.192 GB, free: 10.94 MB / 0.9512 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.0004426/0.9821, allocations: 329.5 kB / 1.193 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.9822, allocations: 83.05 kB / 1.193 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002517/0.9825, allocations: 115.7 kB / 1.193 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.9825, allocations: 8 kB / 1.193 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.9825, allocations: 0 / 1.193 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001176/0.9837, allocations: 1.089 MB / 1.194 GB, free: 9.219 MB / 0.9512 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.002994/0.9867, allocations: 2.308 MB / 1.196 GB, free: 6.816 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.9867, allocations: 3.984 kB / 1.196 GB, free: 6.812 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007792/0.9875, allocations: 175.8 kB / 1.196 GB, free: 6.641 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.9875, allocations: 7.984 kB / 1.196 GB, free: 6.633 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.717e-05/0.9876, allocations: 20 kB / 1.196 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.9876, allocations: 0 / 1.196 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.9876, allocations: 4 kB / 1.196 GB, free: 6.609 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/0.9893, allocations: 1.358 MB / 1.198 GB, free: 5.234 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003723/0.9897, allocations: 256 kB / 1.198 GB, free: 4.965 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.285e-05/0.9898, allocations: 16 kB / 1.198 GB, free: 4.949 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007755/0.9905, allocations: 97.81 kB / 1.198 GB, free: 4.855 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.624e-05/0.9906, allocations: 44.59 kB / 1.198 GB, free: 4.812 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.993e-05/0.9907, allocations: 27.98 kB / 1.198 GB, free: 4.785 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004277/0.9911, allocations: 407.1 kB / 1.198 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9911, allocations: 0 / 1.198 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008165/0.9919, allocations: 371 kB / 1.199 GB, free: 4.027 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * 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.002036/0.994, allocations: 1.977 MB / 1.201 GB, free: 2.02 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001086/0.9951, allocations: 0.798 MB / 1.202 GB, free: 1.223 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.9951, allocations: 0 / 1.202 GB, free: 1.223 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005122/0.9956, allocations: 428.2 kB / 1.202 GB, free: 0.8008 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002591/0.9982, allocations: 0.5533 MB / 1.202 GB, free: 264 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009509/1.008, allocations: 8.025 MB / 1.21 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006527/1.008, allocations: 1.136 MB / 1.211 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0009574/1.009, allocations: 275.2 kB / 1.212 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004805/1.01, allocations: 379.2 kB / 1.212 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of SimCode: time 7.12e-07/1.01, allocations: 4 kB / 1.212 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04044/1.05, allocations: 24.56 MB / 1.236 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001762/1.051, allocations: 189.8 kB / 1.236 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.356/3.406, allocations: 0 / 1.236 GB, free: 13.78 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)