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.716/1.716, allocations: 288.4 MB / 303.3 MB, free: 8.137 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.0009558/0.0009558, allocations: 186.8 kB / 372 MB, free: 10.27 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.55/1.55, allocations: 205.4 MB / 0.6307 GB, free: 10 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.0008349/0.0008349, allocations: 97.23 kB / 0.7441 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004069/0.0004069, allocations: 11.09 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.226, allocations: 115.3 MB / 0.9796 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.7887/1.015, allocations: 185.9 MB / 1.161 GB, free: 2.199 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01133/1.026, allocations: 5.898 MB / 1.167 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001796/1.028, allocations: 25.5 kB / 1.167 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001742/1.03, allocations: 487.7 kB / 1.167 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.006916/1.037, allocations: 1.93 MB / 1.169 GB, free: 11.48 MB / 0.7136 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.001936/1.039, allocations: 499.3 kB / 1.17 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.00599/1.045, allocations: 4.01 MB / 1.174 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001661/1.046, allocations: 0.8112 MB / 1.174 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003048/1.049, allocations: 1.054 MB / 1.176 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002489/1.052, allocations: 1.053 MB / 1.177 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0002187/1.052, allocations: 55.09 kB / 1.177 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004304/1.057, allocations: 1.128 MB / 1.178 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.000605/1.057, allocations: 444.5 kB / 1.178 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0006529/1.058, allocations: 286.8 kB / 1.178 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002893/1.061, allocations: 1.833 MB / 1.18 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/1.061, allocations: 3.938 kB / 1.18 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.838e-06/1.061, allocations: 0 / 1.18 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.086e-05/1.061, allocations: 3.938 kB / 1.18 GB, free: 5.098 MB / 0.7136 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.003806/1.065, allocations: 1.523 MB / 1.182 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.941e-05/1.065, allocations: 11.8 kB / 1.182 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002334/1.065, allocations: 163.3 kB / 1.182 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002154/1.067, allocations: 344.4 kB / 1.182 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/1.068, allocations: 0.8042 MB / 1.183 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.631e-05/1.069, allocations: 79.22 kB / 1.183 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/1.069, allocations: 109.3 kB / 1.183 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002093/1.071, allocations: 1.186 MB / 1.184 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.061e-05/1.071, allocations: 2.75 kB / 1.184 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/1.071, allocations: 44.16 kB / 1.184 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.239e-05/1.071, allocations: 60.31 kB / 1.184 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001857/1.073, allocations: 1.234 MB / 1.186 GB, free: 1.641 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.006959/1.08, allocations: 5.057 MB / 1.191 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/1.081, allocations: 1.149 MB / 1.192 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007014/1.082, allocations: 0.4967 MB / 1.192 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.989e-05/1.082, allocations: 19.53 kB / 1.192 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007471/1.083, allocations: 484.5 kB / 1.193 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=76): time 2.795e-06/1.083, allocations: 0 / 1.193 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of matching and sorting (n=76): time 0.002014/1.085, allocations: 1.142 MB / 1.194 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/1.085, allocations: 60.41 kB / 1.194 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007099/1.086, allocations: 0.5684 MB / 1.194 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.29e-05/1.086, allocations: 40.95 kB / 1.194 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003215/1.086, allocations: 460.6 kB / 1.195 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002509/1.086, allocations: 265.7 kB / 1.195 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.686e-05/1.086, allocations: 14.66 kB / 1.195 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001904/1.087, allocations: 393.9 kB / 1.195 GB, free: 9.871 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004697/1.087, allocations: 321.5 kB / 1.196 GB, free: 9.711 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005814/1.088, allocations: 461.8 kB / 1.196 GB, free: 9.395 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005692/1.088, allocations: 393.7 kB / 1.197 GB, free: 9.195 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/1.088, allocations: 0 / 1.197 GB, free: 9.195 MB / 0.7292 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001388/1.09, allocations: 0.9253 MB / 1.198 GB, free: 8.715 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/1.09, allocations: 8.891 kB / 1.198 GB, free: 8.711 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/1.09, allocations: 3.812 kB / 1.198 GB, free: 8.711 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/1.09, allocations: 5.781 kB / 1.198 GB, free: 8.711 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006571/1.09, allocations: 151 kB / 1.198 GB, free: 8.684 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-05/1.09, allocations: 9.062 kB / 1.198 GB, free: 8.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/1.092, allocations: 137.5 kB / 1.198 GB, free: 8.602 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-05/1.092, allocations: 25.12 kB / 1.198 GB, free: 8.598 MB / 0.7292 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.0005681/1.092, allocations: 333.5 kB / 1.198 GB, free: 8.348 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/1.092, allocations: 79.31 kB / 1.198 GB, free: 8.309 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002/1.093, allocations: 110.1 kB / 1.198 GB, free: 8.223 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/1.093, allocations: 9.125 kB / 1.198 GB, free: 8.219 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.526e-05/1.093, allocations: 2.906 kB / 1.198 GB, free: 8.219 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001238/1.094, allocations: 1.085 MB / 1.199 GB, free: 7.414 MB / 0.7292 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.003615/1.097, allocations: 2.306 MB / 1.202 GB, free: 5.812 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/1.097, allocations: 0 / 1.202 GB, free: 5.812 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008413/1.098, allocations: 182.8 kB / 1.202 GB, free: 5.773 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.796e-06/1.098, allocations: 2.562 kB / 1.202 GB, free: 5.773 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-05/1.098, allocations: 17.2 kB / 1.202 GB, free: 5.762 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.195e-06/1.098, allocations: 7.172 kB / 1.202 GB, free: 5.758 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/1.098, allocations: 0 / 1.202 GB, free: 5.758 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001926/1.1, allocations: 1.481 MB / 1.203 GB, free: 4.723 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004769/1.101, allocations: 252 kB / 1.204 GB, free: 4.457 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.84e-05/1.101, allocations: 16 kB / 1.204 GB, free: 4.441 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008669/1.102, allocations: 103.8 kB / 1.204 GB, free: 4.34 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.583e-05/1.102, allocations: 40.59 kB / 1.204 GB, free: 4.301 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.224e-05/1.102, allocations: 27.98 kB / 1.204 GB, free: 4.273 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004888/1.102, allocations: 399.1 kB / 1.204 GB, free: 3.887 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.102, allocations: 4 kB / 1.204 GB, free: 3.883 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009816/1.103, allocations: 371 kB / 1.204 GB, free: 3.52 MB / 0.7292 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.002334/1.106, allocations: 2.09 MB / 1.206 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001238/1.107, allocations: 0.7947 MB / 1.207 GB, free: 0.5977 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.107, allocations: 4 kB / 1.207 GB, free: 0.5938 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005209/1.108, allocations: 427.6 kB / 1.208 GB, free: 184 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00265/1.11, allocations: 0.5691 MB / 1.208 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008449/1.119, allocations: 5.805 MB / 1.214 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007773/1.12, allocations: 1.136 MB / 1.215 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001191/1.121, allocations: 267.1 kB / 1.215 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005328/1.121, allocations: 375.3 kB / 1.216 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of SimCode: time 8.52e-07/1.121, allocations: 0 / 1.216 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04966/1.171, allocations: 25.85 MB / 1.241 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002129/1.171, allocations: 191.4 kB / 1.241 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.813/3.984, allocations: 0 / 1.241 GB, free: 14.12 MB / 0.7761 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)