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.411/1.411, allocations: 288.4 MB / 303.6 MB, free: 8.086 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.0008582/0.0008583, allocations: 190.8 kB / 372.3 MB, free: 10.11 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.096/1.096, allocations: 205.4 MB / 0.631 GB, free: 9.871 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.0006691/0.0006693, allocations: 94.22 kB / 0.7444 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003119/0.0003119, allocations: 11.94 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1409, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.4473/0.5883, allocations: 185.9 MB / 1.162 GB, free: 1.992 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.007678/0.596, allocations: 5.894 MB / 1.167 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006398/0.5967, allocations: 29.34 kB / 1.168 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001398/0.5981, allocations: 0.5681 MB / 1.168 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.004464/0.6026, allocations: 2.325 MB / 1.17 GB, free: 10.96 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.001153/0.6037, allocations: 0.5108 MB / 1.171 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.003361/0.6071, allocations: 4.02 MB / 1.175 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009998/0.6081, allocations: 0.905 MB / 1.176 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001321/0.6094, allocations: 1.053 MB / 1.177 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001314/0.6108, allocations: 1.053 MB / 1.178 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.6109, allocations: 56.25 kB / 1.178 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003458/0.6144, allocations: 2.659 MB / 1.18 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.00035/0.6147, allocations: 445.8 kB / 1.181 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0005384/0.6153, allocations: 0.6421 MB / 1.181 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001647/0.6169, allocations: 2.039 MB / 1.183 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.6169, allocations: 0 / 1.183 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.485e-06/0.6169, allocations: 0 / 1.183 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.617, allocations: 3.938 kB / 1.183 GB, free: 3.254 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.002891/0.6198, allocations: 1.51 MB / 1.185 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.6199, allocations: 8.344 kB / 1.185 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001705/0.6201, allocations: 163 kB / 1.185 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001759/0.6218, allocations: 347.5 kB / 1.185 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.6229, allocations: 0.8346 MB / 1.186 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.771e-05/0.623, allocations: 70.23 kB / 1.186 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/0.6231, allocations: 110.2 kB / 1.186 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/0.6247, allocations: 1.185 MB / 1.188 GB, free: 456 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.6247, allocations: 0 / 1.188 GB, free: 456 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.889e-05/0.6248, allocations: 39.78 kB / 1.188 GB, free: 424 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-05/0.6249, allocations: 59.58 kB / 1.188 GB, free: 412 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001545/0.6264, allocations: 1.236 MB / 1.189 GB, free: 15.78 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 preOpt removeSimpleEquations (simulation): time 0.004967/0.6314, allocations: 5.059 MB / 1.194 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/0.6326, allocations: 1.15 MB / 1.195 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005864/0.6332, allocations: 0.5017 MB / 1.195 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.902e-05/0.6332, allocations: 19.73 kB / 1.195 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005935/0.6338, allocations: 483.8 kB / 1.196 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=76): time 1.853e-06/0.6338, allocations: 3.938 kB / 1.196 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of matching and sorting (n=76): time 0.001546/0.6354, allocations: 1.146 MB / 1.197 GB, free: 9.473 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.6354, allocations: 63.75 kB / 1.197 GB, free: 9.406 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005141/0.6359, allocations: 0.5655 MB / 1.198 GB, free: 9.062 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.055e-05/0.636, allocations: 36.61 kB / 1.198 GB, free: 9.023 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002444/0.6362, allocations: 464.8 kB / 1.198 GB, free: 8.617 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/0.6364, allocations: 261.5 kB / 1.198 GB, free: 8.391 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.6365, allocations: 17.09 kB / 1.198 GB, free: 8.379 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.6366, allocations: 383.4 kB / 1.199 GB, free: 8.012 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003957/0.637, allocations: 325.6 kB / 1.199 GB, free: 7.844 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004591/0.6375, allocations: 457.7 kB / 1.199 GB, free: 7.531 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009156/0.6384, allocations: 0.8234 MB / 1.2 GB, free: 7.031 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.6384, allocations: 4 kB / 1.2 GB, free: 7.027 MB / 0.7292 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001107/0.6395, allocations: 0.9205 MB / 1.201 GB, free: 6.551 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.6395, allocations: 6.344 kB / 1.201 GB, free: 6.551 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.6395, allocations: 3.312 kB / 1.201 GB, free: 6.551 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.6396, allocations: 5.875 kB / 1.201 GB, free: 6.551 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005734/0.6401, allocations: 167.6 kB / 1.201 GB, free: 6.508 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.6402, allocations: 4.562 kB / 1.201 GB, free: 6.508 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007864/0.641, allocations: 137.2 kB / 1.201 GB, free: 6.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.133e-05/0.641, allocations: 22.94 kB / 1.201 GB, free: 6.426 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.0003372/0.6413, allocations: 336.5 kB / 1.202 GB, free: 6.176 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.386e-05/0.6414, allocations: 79.84 kB / 1.202 GB, free: 6.137 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001584/0.6416, allocations: 103 kB / 1.202 GB, free: 6.055 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.6416, allocations: 11.84 kB / 1.202 GB, free: 6.051 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.6416, allocations: 3.938 kB / 1.202 GB, free: 6.047 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001013/0.6427, allocations: 1.088 MB / 1.203 GB, free: 5.242 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.002696/0.6454, allocations: 2.302 MB / 1.205 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.6454, allocations: 0 / 1.205 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007718/0.6461, allocations: 175.9 kB / 1.205 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.6462, allocations: 4 kB / 1.205 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.675e-05/0.6462, allocations: 27.92 kB / 1.205 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.6462, allocations: 0 / 1.205 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.6462, allocations: 4 kB / 1.205 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/0.6479, allocations: 1.471 MB / 1.207 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003014/0.6482, allocations: 252 kB / 1.207 GB, free: 1.055 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.612e-05/0.6483, allocations: 19.98 kB / 1.207 GB, free: 1.035 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006999/0.649, allocations: 95.83 kB / 1.207 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.463e-05/0.6491, allocations: 44.53 kB / 1.207 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.078e-05/0.6491, allocations: 27.98 kB / 1.207 GB, free: 0.8672 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003729/0.6495, allocations: 407 kB / 1.208 GB, free: 484 kB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6495, allocations: 0 / 1.208 GB, free: 484 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006504/0.6502, allocations: 371 kB / 1.208 GB, free: 112 kB / 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.001977/0.6522, allocations: 2.101 MB / 1.21 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0009527/0.6531, allocations: 0.7903 MB / 1.211 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.6531, allocations: 4 kB / 1.211 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004679/0.6536, allocations: 423.5 kB / 1.211 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002305/0.6559, allocations: 0.5611 MB / 1.212 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006691/0.6626, allocations: 5.821 MB / 1.218 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005669/0.6632, allocations: 1.136 MB / 1.219 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0007919/0.664, allocations: 271.1 kB / 1.219 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004495/0.6644, allocations: 371.3 kB / 1.219 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of SimCode: time 2.2e-07/0.6645, allocations: 0 / 1.219 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7979/1.462, allocations: 26.12 MB / 1.245 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001874/1.463, allocations: 186.7 kB / 1.245 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.543/4.005, allocations: 3.938 kB / 1.245 GB, free: 10.44 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)