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.001214/0.001214, allocations: 100.1 kB / 15.88 MB, free: 12 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.001049/0.001049, allocations: 205 kB / 16.79 MB, free: 6.84 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.201/1.201, allocations: 222.9 MB / 240.5 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6267/0.6267, allocations: 115.3 MB / 406 MB, free: 2.805 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 63.94 kB / 493 MB, free: 6.758 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1304, allocations: 76.18 MB / 0.5558 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.4175/0.5479, allocations: 201.9 MB / 0.753 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008263/0.5562, allocations: 6.448 MB / 0.7593 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000687/0.5569, allocations: 31.81 kB / 0.7594 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001452/0.5584, allocations: 0.6415 MB / 0.76 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004717/0.5632, allocations: 2.525 MB / 0.7624 GB, free: 3.246 MB / 0.5762 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.001268/0.5645, allocations: 0.6268 MB / 0.7631 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003788/0.5683, allocations: 4.842 MB / 0.7678 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.5693, allocations: 0.9645 MB / 0.7687 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001399/0.5707, allocations: 1.078 MB / 0.7698 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001617/0.5723, allocations: 1.159 MB / 0.7709 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001303/0.5724, allocations: 72 kB / 0.771 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003906/0.5764, allocations: 2.716 MB / 0.7736 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003918/0.5768, allocations: 474.7 kB / 0.7741 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006249/0.5774, allocations: 0.6883 MB / 0.7748 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002916/0.5803, allocations: 2.89 MB / 0.7776 GB, free: 3.699 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.5803, allocations: 0 / 0.7776 GB, free: 3.699 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5803, allocations: 0 / 0.7776 GB, free: 3.699 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.5804, allocations: 3.938 kB / 0.7776 GB, free: 3.695 MB / 0.5919 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.003394/0.5837, allocations: 1.766 MB / 0.7793 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.5838, allocations: 8.031 kB / 0.7793 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001678/0.584, allocations: 164.6 kB / 0.7795 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002043/0.586, allocations: 346.2 kB / 0.7798 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.5871, allocations: 0.8466 MB / 0.7806 GB, free: 472 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.005e-05/0.5872, allocations: 78 kB / 0.7807 GB, free: 392 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.5873, allocations: 96 kB / 0.7808 GB, free: 296 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/0.589, allocations: 1.195 MB / 0.782 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.589, allocations: 4 kB / 0.782 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.374e-05/0.5891, allocations: 44 kB / 0.782 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.077e-05/0.5892, allocations: 62.06 kB / 0.7821 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001667/0.5909, allocations: 1.246 MB / 0.7833 GB, free: 13.7 MB / 0.6075 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.005257/0.5961, allocations: 5.071 MB / 0.7882 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/0.5975, allocations: 1.156 MB / 0.7894 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006337/0.5981, allocations: 0.4988 MB / 0.7899 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.402e-05/0.5982, allocations: 20.64 kB / 0.7899 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006429/0.5988, allocations: 488.2 kB / 0.7903 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 2.384e-06/0.5988, allocations: 0 / 0.7903 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.001709/0.6006, allocations: 1.157 MB / 0.7915 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.6006, allocations: 60.06 kB / 0.7915 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005568/0.6012, allocations: 0.5744 MB / 0.7921 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.383e-05/0.6012, allocations: 41.7 kB / 0.7921 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000256/0.6015, allocations: 463.8 kB / 0.7926 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/0.6017, allocations: 268.1 kB / 0.7928 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001802/0.6019, allocations: 134.6 kB / 0.793 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.602, allocations: 390.7 kB / 0.7933 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004373/0.6025, allocations: 329.8 kB / 0.7936 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004938/0.603, allocations: 448.8 kB / 0.7941 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009898/0.604, allocations: 0.8233 MB / 0.7949 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.604, allocations: 4 kB / 0.7949 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001181/0.6051, allocations: 0.9299 MB / 0.7958 GB, free: 216 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.6052, allocations: 12.03 kB / 0.7958 GB, free: 204 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.6052, allocations: 0 / 0.7958 GB, free: 204 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.6052, allocations: 11.94 kB / 0.7958 GB, free: 192 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005959/0.6058, allocations: 159.8 kB / 0.796 GB, free: 32 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.6058, allocations: 4 kB / 0.796 GB, free: 28 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008622/0.6067, allocations: 155.2 kB / 0.7961 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.67e-05/0.6068, allocations: 31.94 kB / 0.7961 GB, free: 15.84 MB / 0.6231 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.0003702/0.6071, allocations: 326.3 kB / 0.7965 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.6073, allocations: 83.06 kB / 0.7965 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001946/0.6075, allocations: 111.7 kB / 0.7966 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.6075, allocations: 11.94 kB / 0.7967 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.6075, allocations: 0 / 0.7967 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001105/0.6086, allocations: 1.089 MB / 0.7977 GB, free: 14.13 MB / 0.6231 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.002747/0.6113, allocations: 2.308 MB / 0.8 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.6114, allocations: 0 / 0.8 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007705/0.6121, allocations: 179.8 kB / 0.8001 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.6121, allocations: 4.031 kB / 0.8001 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-05/0.6122, allocations: 19.98 kB / 0.8002 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.6122, allocations: 4 kB / 0.8002 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.6122, allocations: 0 / 0.8002 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/0.6138, allocations: 1.362 MB / 0.8015 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003058/0.6141, allocations: 244 kB / 0.8017 GB, free: 9.887 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.6142, allocations: 16 kB / 0.8017 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007186/0.615, allocations: 105.9 kB / 0.8018 GB, free: 9.77 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.955e-05/0.6151, allocations: 40.59 kB / 0.8019 GB, free: 9.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.832e-05/0.6151, allocations: 27.98 kB / 0.8019 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003995/0.6155, allocations: 411.1 kB / 0.8023 GB, free: 9.305 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6155, allocations: 0 / 0.8023 GB, free: 9.305 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007279/0.6163, allocations: 371 kB / 0.8027 GB, free: 8.941 MB / 0.6231 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 (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.001989/0.6182, allocations: 1.984 MB / 0.8046 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001027/0.6193, allocations: 0.7903 MB / 0.8054 GB, free: 6.137 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6193, allocations: 3.938 kB / 0.8054 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000504/0.6198, allocations: 427.6 kB / 0.8058 GB, free: 5.719 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002213/0.622, allocations: 0.5549 MB / 0.8063 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008854/0.6309, allocations: 7.914 MB / 0.8141 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006061/0.6315, allocations: 1.136 MB / 0.8152 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008757/0.6324, allocations: 273.3 kB / 0.8154 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004693/0.6329, allocations: 379.3 kB / 0.8158 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of SimCode: time 3.71e-07/0.6329, allocations: 0 / 0.8158 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2449/0.8778, allocations: 24.76 MB / 0.84 GB, free: 228 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001325/0.878, allocations: 183.6 kB / 0.8401 GB, free: 227.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.042/2.92, allocations: 4 kB / 0.8401 GB, free: 227.8 MB / 0.6387 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/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)