Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.217/1.217, allocations: 251.5 MB / 266.7 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008457/0.0008458, allocations: 173.5 kB / 325.8 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.189/1.189, allocations: 205 MB / 0.576 GB, free: 21.01 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006498/0.0006498, allocations: 81.78 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002497/0.0002498, allocations: 9.594 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1251, allocations: 105.4 MB / 0.8962 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.4379/0.5631, allocations: 201.8 MB / 1.093 GB, free: 1.445 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00655/0.5697, allocations: 6.429 MB / 1.1 GB, free: 1.312 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005336/0.5702, allocations: 30.41 kB / 1.1 GB, free: 1.312 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00125/0.5715, allocations: 0.6422 MB / 1.1 GB, free: 1.297 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004053/0.5756, allocations: 2.533 MB / 1.103 GB, free: 1.168 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.0011/0.5767, allocations: 0.6713 MB / 1.103 GB, free: 1.148 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002842/0.5795, allocations: 4.95 MB / 1.108 GB, free: 1.137 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007957/0.5803, allocations: 0.9449 MB / 1.109 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001123/0.5815, allocations: 1.102 MB / 1.11 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001433/0.5829, allocations: 1.115 MB / 1.111 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001077/0.583, allocations: 55.53 kB / 1.111 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002966/0.586, allocations: 2.716 MB / 1.114 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000295/0.5863, allocations: 459 kB / 1.114 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004684/0.5868, allocations: 0.6611 MB / 1.115 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002191/0.589, allocations: 2.894 MB / 1.118 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.589, allocations: 0 / 1.118 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.303e-06/0.589, allocations: 3.531 kB / 1.118 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.231e-05/0.589, allocations: 0 / 1.118 GB, free: 0.7852 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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.002626/0.5916, allocations: 1.529 MB / 1.119 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/0.5917, allocations: 12.62 kB / 1.119 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001555/0.5918, allocations: 159.3 kB / 1.12 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001704/0.5935, allocations: 358.8 kB / 1.12 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009356/0.5945, allocations: 0.8346 MB / 1.121 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.802e-05/0.5945, allocations: 79.58 kB / 1.121 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.5947, allocations: 100.1 kB / 1.121 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/0.5961, allocations: 1.212 MB / 1.122 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.5961, allocations: 0 / 1.122 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.921e-05/0.5962, allocations: 41.95 kB / 1.122 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.991e-05/0.5962, allocations: 62.17 kB / 1.122 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001406/0.5977, allocations: 1.251 MB / 1.123 GB, free: 15.43 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.005171/0.6028, allocations: 5.085 MB / 1.128 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.604, allocations: 1.141 MB / 1.129 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000566/0.6045, allocations: 0.4977 MB / 1.13 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.152e-05/0.6046, allocations: 15.25 kB / 1.13 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006054/0.6052, allocations: 494.5 kB / 1.13 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=76): time 2.395e-06/0.6052, allocations: 4 kB / 1.13 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=76): time 0.00151/0.6068, allocations: 1.149 MB / 1.132 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.6068, allocations: 60.34 kB / 1.132 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005133/0.6073, allocations: 0.5816 MB / 1.132 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.678e-05/0.6074, allocations: 38.73 kB / 1.132 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002128/0.6076, allocations: 466.1 kB / 1.133 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001723/0.6078, allocations: 264 kB / 1.133 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.173e-05/0.6078, allocations: 65.8 kB / 1.133 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.608, allocations: 383.7 kB / 1.133 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003542/0.6083, allocations: 325.5 kB / 1.134 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004147/0.6087, allocations: 461.6 kB / 1.134 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000824/0.6096, allocations: 0.8145 MB / 1.135 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6096, allocations: 0 / 1.135 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001033/0.6106, allocations: 0.9275 MB / 1.136 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.6106, allocations: 6.188 kB / 1.136 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.6107, allocations: 0 / 1.136 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.6107, allocations: 12.34 kB / 1.136 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005258/0.6112, allocations: 154.5 kB / 1.136 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.6112, allocations: 5.844 kB / 1.136 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007738/0.612, allocations: 143.6 kB / 1.136 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.307e-05/0.6121, allocations: 26.81 kB / 1.136 GB, free: 10.98 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003489/0.6124, allocations: 343 kB / 1.136 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.6125, allocations: 83.66 kB / 1.137 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001722/0.6127, allocations: 110.6 kB / 1.137 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.6127, allocations: 11.08 kB / 1.137 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.6127, allocations: 0 / 1.137 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009029/0.6136, allocations: 1.079 MB / 1.138 GB, free: 10.35 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.002365/0.616, allocations: 2.311 MB / 1.14 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.616, allocations: 0 / 1.14 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006987/0.6167, allocations: 172.4 kB / 1.14 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.6167, allocations: 3.344 kB / 1.14 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.226e-05/0.6168, allocations: 23.02 kB / 1.14 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.6168, allocations: 8.641 kB / 1.14 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.6168, allocations: 4.031 kB / 1.14 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.6182, allocations: 1.464 MB / 1.142 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002959/0.6185, allocations: 260.8 kB / 1.142 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.8e-05/0.6186, allocations: 18.83 kB / 1.142 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006932/0.6193, allocations: 109.2 kB / 1.142 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.366e-05/0.6194, allocations: 50.84 kB / 1.142 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.394e-05/0.6195, allocations: 29.36 kB / 1.142 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003587/0.6198, allocations: 414 kB / 1.142 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6198, allocations: 0 / 1.142 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005955/0.6204, allocations: 374.3 kB / 1.143 GB, free: 8.906 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00178/0.6222, allocations: 2.082 MB / 1.145 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008646/0.6231, allocations: 0.8023 MB / 1.146 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.6231, allocations: 0 / 1.146 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000427/0.6235, allocations: 427.7 kB / 1.146 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002087/0.6256, allocations: 0.563 MB / 1.147 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007991/0.6336, allocations: 7.835 MB / 1.154 GB, free: 1.582 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005923/0.6342, allocations: 1.148 MB / 1.155 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0007566/0.635, allocations: 273.4 kB / 1.156 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004241/0.6354, allocations: 376.5 kB / 1.156 GB, free: 252 kB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.6354, allocations: 0 / 1.156 GB, free: 252 kB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.549/1.184, allocations: 24.81 MB / 1.18 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001667/1.185, allocations: 201.5 kB / 1.18 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.516/3.7, allocations: 0 / 1.18 GB, free: 9.484 MB / 0.7448 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)