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 2.639/2.639, allocations: 287.5 MB / 302.4 MB, free: 8.273 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.002219/0.002218, allocations: 179 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.113/2.113, allocations: 205.4 MB / 0.6297 GB, free: 10.63 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.0009548/0.0009546, allocations: 91.27 kB / 0.743 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004873/0.0004876, allocations: 12.05 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2418, allocations: 115.3 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.9317/1.174, allocations: 185.9 MB / 1.16 GB, free: 3.238 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01482/1.188, allocations: 5.902 MB / 1.166 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001958/1.19, allocations: 29.62 kB / 1.166 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002628/1.193, allocations: 479.8 kB / 1.166 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.008787/1.202, allocations: 1.946 MB / 1.168 GB, free: 12.5 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.00264/1.205, allocations: 483.4 kB / 1.169 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.007587/1.212, allocations: 4.005 MB / 1.172 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002235/1.215, allocations: 0.8183 MB / 1.173 GB, free: 9.363 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003689/1.218, allocations: 1.059 MB / 1.174 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003232/1.222, allocations: 1.048 MB / 1.175 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0004924/1.222, allocations: 56.44 kB / 1.175 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005977/1.228, allocations: 1.131 MB / 1.176 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001346/1.23, allocations: 442.5 kB / 1.177 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001051/1.231, allocations: 285.3 kB / 1.177 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004696/1.235, allocations: 1.836 MB / 1.179 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/1.235, allocations: 0 / 1.179 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.232e-06/1.235, allocations: 0 / 1.179 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.133e-05/1.236, allocations: 7.938 kB / 1.179 GB, free: 6.133 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.006309/1.242, allocations: 1.522 MB / 1.18 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/1.242, allocations: 11.98 kB / 1.18 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005494/1.242, allocations: 159 kB / 1.181 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003641/1.246, allocations: 351.2 kB / 1.181 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002501/1.249, allocations: 0.8038 MB / 1.182 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/1.249, allocations: 73.17 kB / 1.182 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003157/1.249, allocations: 114.2 kB / 1.182 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00351/1.253, allocations: 1.184 MB / 1.183 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.951e-05/1.253, allocations: 0 / 1.183 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001835/1.253, allocations: 47.84 kB / 1.183 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001187/1.253, allocations: 61.44 kB / 1.183 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00361/1.257, allocations: 1.234 MB / 1.184 GB, free: 2.676 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.01202/1.269, allocations: 5.048 MB / 1.189 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002596/1.271, allocations: 1.148 MB / 1.19 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001396/1.273, allocations: 0.5079 MB / 1.191 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001192/1.273, allocations: 19.62 kB / 1.191 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001303/1.274, allocations: 480.8 kB / 1.191 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=76): time 5.4e-06/1.274, allocations: 0 / 1.191 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=76): time 0.003354/1.278, allocations: 1.153 MB / 1.193 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/1.278, allocations: 60.41 kB / 1.193 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/1.279, allocations: 0.5688 MB / 1.193 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001806/1.279, allocations: 35.67 kB / 1.193 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004475/1.28, allocations: 462.3 kB / 1.194 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004397/1.28, allocations: 264.3 kB / 1.194 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.538e-05/1.28, allocations: 14.94 kB / 1.194 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002139/1.28, allocations: 385.5 kB / 1.194 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008841/1.281, allocations: 326.5 kB / 1.195 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009424/1.282, allocations: 458 kB / 1.195 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/1.283, allocations: 397.3 kB / 1.195 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/1.283, allocations: 0 / 1.195 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002482/1.286, allocations: 0.9193 MB / 1.196 GB, free: 9.754 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.188e-05/1.286, allocations: 7.625 kB / 1.196 GB, free: 9.754 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/1.286, allocations: 3.25 kB / 1.196 GB, free: 9.754 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-05/1.286, allocations: 9.312 kB / 1.196 GB, free: 9.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/1.287, allocations: 159.3 kB / 1.196 GB, free: 9.715 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.33e-05/1.287, allocations: 9.484 kB / 1.196 GB, free: 9.711 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001887/1.289, allocations: 136.9 kB / 1.197 GB, free: 9.633 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/1.289, allocations: 27.97 kB / 1.197 GB, free: 9.625 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.0008375/1.29, allocations: 336 kB / 1.197 GB, free: 9.375 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000269/1.291, allocations: 79.73 kB / 1.197 GB, free: 9.336 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003194/1.291, allocations: 102.8 kB / 1.197 GB, free: 9.254 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/1.291, allocations: 11.91 kB / 1.197 GB, free: 9.25 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/1.291, allocations: 3.938 kB / 1.197 GB, free: 9.246 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002028/1.293, allocations: 1.088 MB / 1.198 GB, free: 8.441 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.005862/1.299, allocations: 2.306 MB / 1.2 GB, free: 6.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/1.299, allocations: 0 / 1.2 GB, free: 6.84 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001695/1.301, allocations: 174.9 kB / 1.201 GB, free: 6.805 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-05/1.301, allocations: 13.75 kB / 1.201 GB, free: 6.797 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001114/1.301, allocations: 20.88 kB / 1.201 GB, free: 6.781 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.286e-06/1.301, allocations: 3.031 kB / 1.201 GB, free: 6.781 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.301, allocations: 0 / 1.201 GB, free: 6.781 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0034/1.304, allocations: 1.474 MB / 1.202 GB, free: 5.938 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008329/1.305, allocations: 250.3 kB / 1.202 GB, free: 5.727 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002444/1.305, allocations: 21.61 kB / 1.202 GB, free: 5.711 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001622/1.307, allocations: 95.66 kB / 1.202 GB, free: 5.629 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/1.307, allocations: 40.59 kB / 1.202 GB, free: 5.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/1.307, allocations: 31.92 kB / 1.203 GB, free: 5.559 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000812/1.308, allocations: 403 kB / 1.203 GB, free: 5.168 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.91e-07/1.308, allocations: 0 / 1.203 GB, free: 5.168 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001554/1.31, allocations: 371 kB / 1.203 GB, free: 4.805 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.004109/1.314, allocations: 2.096 MB / 1.205 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002116/1.316, allocations: 0.7942 MB / 1.206 GB, free: 1.879 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.495e-06/1.316, allocations: 0 / 1.206 GB, free: 1.879 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001053/1.317, allocations: 428.2 kB / 1.206 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005129/1.322, allocations: 0.56 MB / 1.207 GB, free: 0.9102 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01509/1.337, allocations: 5.809 MB / 1.213 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001109/1.339, allocations: 1.14 MB / 1.214 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001874/1.341, allocations: 271.1 kB / 1.214 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001032/1.342, allocations: 375.3 kB / 1.214 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of SimCode: time 1.573e-06/1.342, allocations: 0 / 1.214 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1037/1.445, allocations: 25.83 MB / 1.24 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003618/1.446, allocations: 184.1 kB / 1.24 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.504/4.95, allocations: 0 / 1.24 GB, free: 15.41 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)