Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009971/0.0009971, allocations: 95.88 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 174.2 kB / 16.56 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 223.2 MB / 240.5 MB, free: 5.477 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6728/0.6728, allocations: 113.7 MB / 405.3 MB, free: 4.719 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000317/0.000317, allocations: 12.72 kB / 493 MB, free: 8.633 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1554, allocations: 77.1 MB / 0.5567 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.4448/0.6002, allocations: 168.8 MB / 0.7215 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01089/0.6112, allocations: 6.509 MB / 0.7279 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001868/0.6131, allocations: 31.81 kB / 0.7279 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002206/0.6153, allocations: 0.665 MB / 0.7285 GB, free: 10.35 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006153/0.6215, allocations: 2.08 MB / 0.7306 GB, free: 8.262 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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.002429/0.624, allocations: 0.7814 MB / 0.7313 GB, free: 7.492 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003731/0.6277, allocations: 1.852 MB / 0.7331 GB, free: 5.637 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001327/0.629, allocations: 0.8232 MB / 0.7339 GB, free: 4.801 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002666/0.6317, allocations: 1.141 MB / 0.7351 GB, free: 3.656 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009976/0.6327, allocations: 0.6538 MB / 0.7357 GB, free: 3 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.6328, allocations: 56 kB / 0.7358 GB, free: 2.945 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002445/0.6353, allocations: 0.8658 MB / 0.7366 GB, free: 2.078 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004072/0.6357, allocations: 395 kB / 0.737 GB, free: 1.691 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003729/0.6361, allocations: 297.1 kB / 0.7373 GB, free: 1.395 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001931/0.638, allocations: 1.647 MB / 0.7389 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.6381, allocations: 0 / 0.7389 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6381, allocations: 0 / 0.7389 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.801e-05/0.6381, allocations: 0 / 0.7389 GB, free: 15.75 MB / 0.5606 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.003505/0.6416, allocations: 1.477 MB / 0.7403 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.6417, allocations: 8.031 kB / 0.7403 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002154/0.6419, allocations: 162.4 kB / 0.7405 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002071/0.644, allocations: 350.2 kB / 0.7408 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001444/0.6454, allocations: 0.8237 MB / 0.7416 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.373e-05/0.6455, allocations: 81.98 kB / 0.7417 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.6456, allocations: 100 kB / 0.7418 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001744/0.6474, allocations: 1.179 MB / 0.7429 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.682e-05/0.6474, allocations: 3.906 kB / 0.7429 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.6475, allocations: 40 kB / 0.743 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.997e-05/0.6476, allocations: 62.06 kB / 0.743 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002298/0.6499, allocations: 1.238 MB / 0.7442 GB, free: 10.09 MB / 0.5606 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.006364/0.6563, allocations: 5.068 MB / 0.7492 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001446/0.6578, allocations: 1.161 MB / 0.7503 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.843e-05/0.6578, allocations: 12.66 kB / 0.7503 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006978/0.6585, allocations: 488.2 kB / 0.7508 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=76): time 2.956e-06/0.6586, allocations: 0 / 0.7508 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76): time 0.001881/0.6604, allocations: 1.157 MB / 0.7519 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.6605, allocations: 60.06 kB / 0.752 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00063/0.6611, allocations: 0.5782 MB / 0.7526 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.914e-05/0.6612, allocations: 41.7 kB / 0.7526 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003011/0.6615, allocations: 459.7 kB / 0.753 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002243/0.6617, allocations: 268.2 kB / 0.7533 GB, free: 232 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.6618, allocations: 19.94 kB / 0.7533 GB, free: 212 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.662, allocations: 386.8 kB / 0.7537 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004467/0.6624, allocations: 329.8 kB / 0.754 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005272/0.6629, allocations: 440.8 kB / 0.7544 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005411/0.6635, allocations: 403 kB / 0.7548 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.6635, allocations: 0 / 0.7548 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00126/0.6648, allocations: 0.9296 MB / 0.7557 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.6648, allocations: 8 kB / 0.7557 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.6648, allocations: 4.812 kB / 0.7557 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.6648, allocations: 8.344 kB / 0.7557 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006655/0.6655, allocations: 155.8 kB / 0.7559 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.6655, allocations: 7.938 kB / 0.7559 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000995/0.6665, allocations: 155.2 kB / 0.756 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-05/0.6666, allocations: 32 kB / 0.7561 GB, free: 13.34 MB / 0.5762 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.000467/0.6671, allocations: 333.5 kB / 0.7564 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.6672, allocations: 87 kB / 0.7565 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002035/0.6674, allocations: 107.8 kB / 0.7566 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.6674, allocations: 8 kB / 0.7566 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.6674, allocations: 0 / 0.7566 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001221/0.6687, allocations: 1.097 MB / 0.7576 GB, free: 11.62 MB / 0.5762 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.00323/0.6719, allocations: 2.269 MB / 0.7599 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.6719, allocations: 4 kB / 0.7599 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008169/0.6727, allocations: 175.8 kB / 0.76 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.6728, allocations: 0 / 0.76 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.126e-05/0.6728, allocations: 19.98 kB / 0.7601 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.594e-06/0.6728, allocations: 4 kB / 0.7601 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.6728, allocations: 4.031 kB / 0.7601 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001739/0.6746, allocations: 1.36 MB / 0.7614 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000522/0.6751, allocations: 252 kB / 0.7616 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.6752, allocations: 19.98 kB / 0.7616 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007709/0.676, allocations: 98.81 kB / 0.7617 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.726e-05/0.6761, allocations: 44.59 kB / 0.7618 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.221e-05/0.6762, allocations: 27.98 kB / 0.7618 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004911/0.6767, allocations: 415 kB / 0.7622 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.8e-07/0.6767, allocations: 0 / 0.7622 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009252/0.6776, allocations: 363.1 kB / 0.7626 GB, free: 6.469 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * 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.002121/0.6797, allocations: 2.064 MB / 0.7646 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001179/0.6809, allocations: 0.7942 MB / 0.7653 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.6809, allocations: 0 / 0.7653 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005302/0.6815, allocations: 427.5 kB / 0.7658 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002462/0.6839, allocations: 0.555 MB / 0.7663 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008454/0.6924, allocations: 7.488 MB / 0.7736 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006923/0.6931, allocations: 1.159 MB / 0.7747 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001083/0.6942, allocations: 283.1 kB / 0.775 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005153/0.6948, allocations: 379.3 kB / 0.7754 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of SimCode: time 1.613e-06/0.6948, allocations: 0 / 0.7754 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0463/0.7411, allocations: 25.79 MB / 0.8006 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002245/0.7413, allocations: 167.7 kB / 0.8007 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.351/3.093, allocations: 0 / 0.8007 GB, free: 15.47 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ZonalFlow.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) Environment - environmentSimulation: