Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.7/1.7, allocations: 288.2 MB / 303.2 MB, free: 8.16 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.001137/0.001137, allocations: 185 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.564/1.564, allocations: 205.4 MB / 0.6305 GB, free: 10.03 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.0009533/0.0009527, allocations: 86.88 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003712, allocations: 15.44 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1848, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.645/0.8298, allocations: 168.7 MB / 1.144 GB, free: 14.28 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01677/0.8466, allocations: 6.449 MB / 1.151 GB, free: 9.121 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002149/0.8488, allocations: 27.66 kB / 1.151 GB, free: 9.109 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003433/0.8523, allocations: 0.6627 MB / 1.151 GB, free: 8.547 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.009859/0.8622, allocations: 2.029 MB / 1.153 GB, free: 6.902 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.004363/0.8666, allocations: 0.7752 MB / 1.154 GB, free: 6.352 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005973/0.8726, allocations: 1.831 MB / 1.156 GB, free: 5.191 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002772/0.8754, allocations: 0.815 MB / 1.157 GB, free: 4.727 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005073/0.8805, allocations: 1.149 MB / 1.158 GB, free: 4.016 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002814/0.8833, allocations: 0.6525 MB / 1.158 GB, free: 3.652 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0005263/0.8839, allocations: 55.62 kB / 1.158 GB, free: 3.652 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005104/0.889, allocations: 0.8569 MB / 1.159 GB, free: 3.309 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001198/0.8902, allocations: 403.1 kB / 1.16 GB, free: 3.074 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001587/0.8918, allocations: 287.9 kB / 1.16 GB, free: 2.93 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004885/0.8968, allocations: 1.637 MB / 1.161 GB, free: 1.859 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.8968, allocations: 0 / 1.161 GB, free: 1.859 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.507e-06/0.8968, allocations: 1.125 kB / 1.161 GB, free: 1.859 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.647e-05/0.8969, allocations: 0 / 1.161 GB, free: 1.859 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.007557/0.9045, allocations: 1.474 MB / 1.163 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.881e-05/0.9046, allocations: 13.67 kB / 1.163 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007267/0.9053, allocations: 167.7 kB / 1.163 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004372/0.9097, allocations: 341.3 kB / 1.163 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003462/0.9132, allocations: 0.809 MB / 1.164 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/0.9133, allocations: 74.98 kB / 1.164 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004419/0.9138, allocations: 102.8 kB / 1.164 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004541/0.9184, allocations: 1.182 MB / 1.166 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.78e-05/0.9184, allocations: 1.375 kB / 1.166 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002297/0.9187, allocations: 40.19 kB / 1.166 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001444/0.9188, allocations: 62.19 kB / 1.166 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004019/0.9229, allocations: 1.249 MB / 1.167 GB, free: 14.42 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.01245/0.9353, allocations: 5.053 MB / 1.172 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002396/0.9378, allocations: 1.132 MB / 1.173 GB, free: 9.285 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.061e-05/0.9379, allocations: 23.11 kB / 1.173 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001165/0.939, allocations: 482 kB / 1.173 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=76): time 3.907e-06/0.9391, allocations: 0 / 1.173 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=76): time 0.003363/0.9424, allocations: 1.149 MB / 1.174 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/0.9425, allocations: 59.53 kB / 1.175 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.9436, allocations: 0.5655 MB / 1.175 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001068/0.9438, allocations: 46.33 kB / 1.175 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004858/0.9443, allocations: 456.8 kB / 1.176 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000397/0.9447, allocations: 267.4 kB / 1.176 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.07e-05/0.9448, allocations: 14.41 kB / 1.176 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000256/0.945, allocations: 385 kB / 1.176 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008454/0.9459, allocations: 327.4 kB / 1.177 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009405/0.9468, allocations: 463.9 kB / 1.177 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.9479, allocations: 397.4 kB / 1.177 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.994e-06/0.9479, allocations: 2.531 kB / 1.177 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002362/0.9503, allocations: 0.9202 MB / 1.178 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.9503, allocations: 9.438 kB / 1.178 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.9504, allocations: 5.656 kB / 1.178 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.727e-05/0.9504, allocations: 8.281 kB / 1.178 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/0.9516, allocations: 157.7 kB / 1.178 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.836e-05/0.9517, allocations: 5.281 kB / 1.178 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/0.9534, allocations: 133.1 kB / 1.179 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.378e-05/0.9535, allocations: 28.27 kB / 1.179 GB, free: 5.637 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.0008603/0.9544, allocations: 334 kB / 1.179 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.9546, allocations: 76.56 kB / 1.179 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003332/0.955, allocations: 116.1 kB / 1.179 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.955, allocations: 7.688 kB / 1.179 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.628e-05/0.955, allocations: 0 / 1.179 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00212/0.9571, allocations: 1.088 MB / 1.18 GB, free: 4.453 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.005672/0.9628, allocations: 2.261 MB / 1.182 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.9629, allocations: 0 / 1.182 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001521/0.9644, allocations: 183.8 kB / 1.183 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.264e-05/0.9644, allocations: 3.062 kB / 1.183 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.451e-05/0.9645, allocations: 19.23 kB / 1.183 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.185e-05/0.9645, allocations: 6.734 kB / 1.183 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.9646, allocations: 0 / 1.183 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003443/0.968, allocations: 1.498 MB / 1.184 GB, free: 1.965 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008961/0.9689, allocations: 249.5 kB / 1.184 GB, free: 1.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001864/0.9691, allocations: 20.92 kB / 1.184 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001405/0.9705, allocations: 101.6 kB / 1.184 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.9707, allocations: 47.25 kB / 1.184 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.724e-05/0.9708, allocations: 19.97 kB / 1.184 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008194/0.9716, allocations: 401.6 kB / 1.185 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.71e-07/0.9716, allocations: 0 / 1.185 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001552/0.9732, allocations: 372.5 kB / 1.185 GB, free: 1.348 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.003936/0.9771, allocations: 2.182 MB / 1.187 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002007/0.9791, allocations: 0.7985 MB / 1.188 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.9792, allocations: 0.6875 kB / 1.188 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.9802, allocations: 431 kB / 1.188 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004922/0.9852, allocations: 0.5494 MB / 1.189 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01601/1.001, allocations: 7.431 MB / 1.196 GB, free: 9.254 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001202/1.002, allocations: 1.159 MB / 1.197 GB, free: 8.066 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002222/1.005, allocations: 267.1 kB / 1.198 GB, free: 7.801 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000935/1.006, allocations: 379.2 kB / 1.198 GB, free: 7.43 MB / 0.7292 GB Notification: Performance of SimCode: time 1.293e-06/1.006, allocations: 0 / 1.198 GB, free: 7.43 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07725/1.083, allocations: 25.78 MB / 1.223 GB, free: 13.94 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002367/1.083, allocations: 186.8 kB / 1.223 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.479/3.562, allocations: 0 / 1.223 GB, free: 13.7 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)