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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.404/1.404, allocations: 287.4 MB / 302.6 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.0008375/0.0008378, allocations: 178.2 kB / 371.1 MB, free: 10.72 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.078/1.078, allocations: 205.4 MB / 0.6298 GB, free: 10.52 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.0006538/0.0006538, allocations: 88.86 kB / 0.7431 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003917/0.0003918, allocations: 10.75 kB / 0.8662 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1453, allocations: 115.3 MB / 0.9787 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.4573/0.6026, allocations: 185.9 MB / 1.16 GB, free: 3.043 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.007731/0.6104, allocations: 5.893 MB / 1.166 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006934/0.6111, allocations: 29.28 kB / 1.166 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001249/0.6124, allocations: 483.9 kB / 1.166 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.004348/0.6167, allocations: 1.942 MB / 1.168 GB, free: 12.31 MB / 0.7136 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.00114/0.6179, allocations: 492.2 kB / 1.169 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.003481/0.6214, allocations: 4.011 MB / 1.173 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009787/0.6224, allocations: 0.8983 MB / 1.174 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001426/0.6238, allocations: 1.06 MB / 1.175 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001167/0.625, allocations: 1.056 MB / 1.176 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.6251, allocations: 55.72 kB / 1.176 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002449/0.6276, allocations: 1.131 MB / 1.177 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0003781/0.628, allocations: 443.5 kB / 1.177 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0002365/0.6282, allocations: 289 kB / 1.178 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001508/0.6297, allocations: 1.833 MB / 1.179 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.6297, allocations: 0 / 1.179 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.871e-06/0.6297, allocations: 3.984 kB / 1.179 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.6298, allocations: 4 kB / 1.179 GB, free: 5.883 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.002835/0.6326, allocations: 1.513 MB / 1.181 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.6326, allocations: 8.031 kB / 1.181 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001685/0.6328, allocations: 159.5 kB / 1.181 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00174/0.6346, allocations: 354.7 kB / 1.181 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.6356, allocations: 0.8227 MB / 1.182 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.116e-05/0.6356, allocations: 75.3 kB / 1.182 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.6358, allocations: 108.7 kB / 1.182 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.6373, allocations: 1.183 MB / 1.183 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.6374, allocations: 0 / 1.183 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.333e-05/0.6375, allocations: 46.83 kB / 1.184 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.402e-05/0.6375, allocations: 60.38 kB / 1.184 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001572/0.6391, allocations: 1.233 MB / 1.185 GB, free: 2.41 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.004955/0.6441, allocations: 5.066 MB / 1.19 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.6453, allocations: 1.144 MB / 1.191 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005889/0.6459, allocations: 0.4933 MB / 1.191 GB, free: 13 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.712e-05/0.6459, allocations: 23.56 kB / 1.191 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005914/0.6465, allocations: 480.7 kB / 1.192 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=76): time 1.924e-06/0.6465, allocations: 0 / 1.192 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=76): time 0.001542/0.6481, allocations: 1.151 MB / 1.193 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.6481, allocations: 63.94 kB / 1.193 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005191/0.6486, allocations: 0.5572 MB / 1.194 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.975e-05/0.6487, allocations: 42.83 kB / 1.194 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002368/0.6489, allocations: 455 kB / 1.194 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001758/0.6491, allocations: 275.3 kB / 1.194 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/0.6492, allocations: 14.75 kB / 1.194 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.6493, allocations: 385.8 kB / 1.195 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004071/0.6497, allocations: 319.7 kB / 1.195 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004721/0.6502, allocations: 470.1 kB / 1.195 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009395/0.6511, allocations: 0.818 MB / 1.196 GB, free: 9.664 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.6512, allocations: 2.844 kB / 1.196 GB, free: 9.664 MB / 0.7292 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001113/0.6523, allocations: 0.9178 MB / 1.197 GB, free: 9.188 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.6523, allocations: 8.438 kB / 1.197 GB, free: 9.188 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.481e-05/0.6523, allocations: 5.094 kB / 1.197 GB, free: 9.188 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.6524, allocations: 5.781 kB / 1.197 GB, free: 9.188 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007154/0.6531, allocations: 156 kB / 1.197 GB, free: 9.152 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.6531, allocations: 9.766 kB / 1.197 GB, free: 9.148 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000969/0.6541, allocations: 136 kB / 1.197 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-05/0.6542, allocations: 30.62 kB / 1.197 GB, free: 9.062 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.0004071/0.6546, allocations: 333.2 kB / 1.198 GB, free: 8.812 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.6547, allocations: 80.78 kB / 1.198 GB, free: 8.773 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002045/0.6549, allocations: 109 kB / 1.198 GB, free: 8.688 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.6549, allocations: 9.875 kB / 1.198 GB, free: 8.684 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.6549, allocations: 1.844 kB / 1.198 GB, free: 8.684 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001239/0.6562, allocations: 1.085 MB / 1.199 GB, free: 7.879 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.003217/0.6594, allocations: 2.306 MB / 1.201 GB, free: 6.277 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.6594, allocations: 3.281 kB / 1.201 GB, free: 6.277 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009104/0.6603, allocations: 171 kB / 1.201 GB, free: 6.246 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.6604, allocations: 10.61 kB / 1.201 GB, free: 6.238 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.517e-05/0.6604, allocations: 21.92 kB / 1.201 GB, free: 6.223 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.6604, allocations: 10.78 kB / 1.201 GB, free: 6.215 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6604, allocations: 0 / 1.201 GB, free: 6.215 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001964/0.6624, allocations: 1.473 MB / 1.203 GB, free: 5.207 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003733/0.6628, allocations: 256 kB / 1.203 GB, free: 4.938 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.6629, allocations: 12 kB / 1.203 GB, free: 4.926 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008399/0.6638, allocations: 99.81 kB / 1.203 GB, free: 4.828 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.276e-05/0.6639, allocations: 48.59 kB / 1.203 GB, free: 4.777 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.405e-05/0.6639, allocations: 24 kB / 1.203 GB, free: 4.754 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004649/0.6644, allocations: 403 kB / 1.204 GB, free: 4.363 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6644, allocations: 4 kB / 1.204 GB, free: 4.359 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008201/0.6652, allocations: 367 kB / 1.204 GB, free: 4 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.002386/0.6676, allocations: 2.096 MB / 1.206 GB, free: 1.875 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001189/0.6688, allocations: 0.7942 MB / 1.207 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.6688, allocations: 4 kB / 1.207 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004862/0.6693, allocations: 423.5 kB / 1.207 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002285/0.6716, allocations: 0.5583 MB / 1.208 GB, free: 116 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006854/0.6785, allocations: 5.814 MB / 1.214 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005757/0.6791, allocations: 1.136 MB / 1.215 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0008314/0.6799, allocations: 267.1 kB / 1.215 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004741/0.6804, allocations: 383.2 kB / 1.215 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of SimCode: time 2.7e-07/0.6804, allocations: 4 kB / 1.215 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3189/0.9993, allocations: 25.83 MB / 1.24 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003077/0.9997, allocations: 183.2 kB / 1.241 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.451/3.45, allocations: 3.938 kB / 1.241 GB, free: 14.59 MB / 0.7761 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)