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.551/2.551, allocations: 287.3 MB / 302.3 MB, free: 8.297 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.001517/0.001518, allocations: 183.4 kB / 370.8 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.082/2.082, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001145/0.001144, allocations: 91.09 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006551/0.0006552, allocations: 11.47 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2131, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.9377/1.151, allocations: 168.7 MB / 1.143 GB, free: 13.95 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01527/1.166, allocations: 6.45 MB / 1.149 GB, free: 9.953 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001803/1.168, allocations: 28.62 kB / 1.149 GB, free: 9.941 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003263/1.171, allocations: 0.658 MB / 1.15 GB, free: 9.414 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.009608/1.181, allocations: 2.03 MB / 1.152 GB, free: 7.77 MB / 0.698 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.004125/1.185, allocations: 0.7801 MB / 1.153 GB, free: 7.215 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005718/1.191, allocations: 1.832 MB / 1.155 GB, free: 6.055 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00238/1.193, allocations: 0.8167 MB / 1.155 GB, free: 5.586 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004399/1.198, allocations: 1.141 MB / 1.156 GB, free: 4.883 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00214/1.2, allocations: 0.6485 MB / 1.157 GB, free: 4.523 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003036/1.2, allocations: 59.78 kB / 1.157 GB, free: 4.52 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004268/1.205, allocations: 0.8654 MB / 1.158 GB, free: 4.168 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0009195/1.206, allocations: 395 kB / 1.158 GB, free: 3.941 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000771/1.206, allocations: 288.6 kB / 1.159 GB, free: 3.797 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004087/1.21, allocations: 1.632 MB / 1.16 GB, free: 2.73 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/1.211, allocations: 5.25 kB / 1.16 GB, free: 2.727 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.789e-06/1.211, allocations: 3.984 kB / 1.16 GB, free: 2.723 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.897e-05/1.211, allocations: 0 / 1.16 GB, free: 2.723 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.006485/1.217, allocations: 1.471 MB / 1.162 GB, free: 1.652 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/1.217, allocations: 13.52 kB / 1.162 GB, free: 1.648 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000493/1.218, allocations: 166.8 kB / 1.162 GB, free: 1.512 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004209/1.222, allocations: 346.3 kB / 1.162 GB, free: 1.355 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002769/1.225, allocations: 0.8033 MB / 1.163 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/1.225, allocations: 80 kB / 1.163 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003184/1.225, allocations: 106.9 kB / 1.163 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003573/1.229, allocations: 1.175 MB / 1.164 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.612e-05/1.229, allocations: 0 / 1.164 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001711/1.229, allocations: 45.83 kB / 1.164 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001278/1.229, allocations: 62.19 kB / 1.164 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003569/1.233, allocations: 1.237 MB / 1.166 GB, free: 15.3 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.0114/1.244, allocations: 5.051 MB / 1.171 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002371/1.247, allocations: 1.151 MB / 1.172 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.432e-05/1.247, allocations: 15.45 kB / 1.172 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001205/1.248, allocations: 487.9 kB / 1.172 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=76): time 3.517e-06/1.248, allocations: 0 / 1.172 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of matching and sorting (n=76): time 0.003284/1.251, allocations: 1.153 MB / 1.173 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/1.251, allocations: 59.47 kB / 1.173 GB, free: 9.184 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/1.252, allocations: 0.5667 MB / 1.174 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.000138/1.253, allocations: 42.08 kB / 1.174 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004511/1.253, allocations: 456.6 kB / 1.174 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003944/1.253, allocations: 266.2 kB / 1.175 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.958e-05/1.254, allocations: 18.5 kB / 1.175 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002198/1.254, allocations: 389.1 kB / 1.175 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008351/1.255, allocations: 327.9 kB / 1.175 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009625/1.256, allocations: 457 kB / 1.176 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/1.257, allocations: 403.9 kB / 1.176 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/1.257, allocations: 0 / 1.176 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002396/1.259, allocations: 0.9218 MB / 1.177 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/1.259, allocations: 4.75 kB / 1.177 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/1.259, allocations: 2.781 kB / 1.177 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/1.259, allocations: 6.188 kB / 1.177 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/1.26, allocations: 155.7 kB / 1.177 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-05/1.26, allocations: 13.36 kB / 1.177 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001875/1.262, allocations: 132.3 kB / 1.177 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.319e-05/1.262, allocations: 28.83 kB / 1.177 GB, free: 6.492 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.0008343/1.263, allocations: 327.7 kB / 1.178 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002143/1.264, allocations: 74.66 kB / 1.178 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002987/1.264, allocations: 111.9 kB / 1.178 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/1.264, allocations: 7.375 kB / 1.178 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.592e-05/1.264, allocations: 0 / 1.178 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002163/1.266, allocations: 1.092 MB / 1.179 GB, free: 5.316 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.005933/1.272, allocations: 2.27 MB / 1.181 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/1.272, allocations: 0 / 1.181 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001686/1.274, allocations: 179.7 kB / 1.181 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.108e-05/1.274, allocations: 6.812 kB / 1.181 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.111e-05/1.274, allocations: 16.77 kB / 1.181 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.316e-06/1.274, allocations: 2.719 kB / 1.181 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.274, allocations: 2.812 kB / 1.181 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003401/1.277, allocations: 1.498 MB / 1.183 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008797/1.278, allocations: 247.1 kB / 1.183 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/1.278, allocations: 20.72 kB / 1.183 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/1.28, allocations: 108.2 kB / 1.183 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/1.28, allocations: 44.94 kB / 1.183 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.996e-05/1.28, allocations: 26.42 kB / 1.183 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00077/1.281, allocations: 399.7 kB / 1.184 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.91e-07/1.281, allocations: 2.594 kB / 1.184 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001646/1.283, allocations: 368.1 kB / 1.184 GB, free: 2.207 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.004181/1.287, allocations: 2.183 MB / 1.186 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002057/1.289, allocations: 0.7947 MB / 1.187 GB, free: 324 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.379e-05/1.289, allocations: 0 / 1.187 GB, free: 324 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0009875/1.29, allocations: 426.9 kB / 1.187 GB, free: 120 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005012/1.295, allocations: 0.5551 MB / 1.188 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01561/1.311, allocations: 7.421 MB / 1.195 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001201/1.312, allocations: 1.159 MB / 1.196 GB, free: 9.141 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001975/1.314, allocations: 267.1 kB / 1.196 GB, free: 8.875 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001065/1.315, allocations: 375.3 kB / 1.197 GB, free: 8.508 MB / 0.7292 GB Notification: Performance of SimCode: time 1.603e-06/1.315, allocations: 0 / 1.197 GB, free: 8.508 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07998/1.395, allocations: 25.76 MB / 1.222 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003932/1.396, allocations: 179.1 kB / 1.222 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.308/4.703, allocations: 0 / 1.222 GB, free: 14.77 MB / 0.7605 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)