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.001381/0.001381, allocations: 104.4 kB / 15.98 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001284, allocations: 194.9 kB / 16.91 MB, free: 6.195 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.233/1.233, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.684/0.684, allocations: 115.3 MB / 406.1 MB, free: 6.367 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 63.89 kB / 493.2 MB, free: 0.5898 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3312, allocations: 76.17 MB / 0.556 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.4639/0.7952, allocations: 201.5 MB / 0.7528 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008133/0.8033, allocations: 6.342 MB / 0.759 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009084/0.8043, allocations: 33.41 kB / 0.7591 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001539/0.8058, allocations: 0.6589 MB / 0.7597 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005431/0.8113, allocations: 2.514 MB / 0.7622 GB, free: 1.723 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.001558/0.8129, allocations: 0.6428 MB / 0.7628 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003801/0.8167, allocations: 3.277 MB / 0.766 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001405/0.8181, allocations: 1.121 MB / 0.7671 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002212/0.8203, allocations: 1.258 MB / 0.7683 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001973/0.8223, allocations: 1.175 MB / 0.7695 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001833/0.8225, allocations: 127.9 kB / 0.7696 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004162/0.8267, allocations: 2.473 MB / 0.772 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004789/0.8271, allocations: 0.5166 MB / 0.7725 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000828/0.828, allocations: 0.7399 MB / 0.7732 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003347/0.8313, allocations: 2.935 MB / 0.7761 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.8313, allocations: 0.8125 kB / 0.7761 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8314, allocations: 3.938 kB / 0.7761 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.481e-05/0.8314, allocations: 0.9375 kB / 0.7761 GB, free: 1.406 MB / 0.5762 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.003513/0.8349, allocations: 1.774 MB / 0.7778 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.8349, allocations: 10.28 kB / 0.7778 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001884/0.8351, allocations: 161.9 kB / 0.778 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002087/0.8372, allocations: 342.7 kB / 0.7783 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.8384, allocations: 0.8443 MB / 0.7791 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.358e-05/0.8385, allocations: 79.72 kB / 0.7792 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/0.8386, allocations: 100.6 kB / 0.7793 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001577/0.8402, allocations: 1.189 MB / 0.7805 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.8402, allocations: 5.844 kB / 0.7805 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.185e-05/0.8403, allocations: 39.91 kB / 0.7805 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.311e-05/0.8404, allocations: 58.86 kB / 0.7806 GB, free: 16.06 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/0.8419, allocations: 1.251 MB / 0.7818 GB, free: 16.05 MB / 0.5919 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.005002/0.8469, allocations: 5.073 MB / 0.7867 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/0.848, allocations: 1.16 MB / 0.7879 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005474/0.8486, allocations: 0.5036 MB / 0.7884 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.383e-05/0.8487, allocations: 13.5 kB / 0.7884 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005836/0.8493, allocations: 489.8 kB / 0.7888 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 2.044e-06/0.8493, allocations: 0 / 0.7888 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.00153/0.8508, allocations: 1.158 MB / 0.79 GB, free: 13 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.8508, allocations: 61.69 kB / 0.79 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004905/0.8513, allocations: 0.5747 MB / 0.7906 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.733e-05/0.8514, allocations: 39.73 kB / 0.7906 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/0.8516, allocations: 466.8 kB / 0.7911 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002309/0.8519, allocations: 267.4 kB / 0.7913 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001896/0.8521, allocations: 134 kB / 0.7915 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.8522, allocations: 390.7 kB / 0.7918 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003816/0.8526, allocations: 333.3 kB / 0.7922 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000453/0.8531, allocations: 446.8 kB / 0.7926 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009494/0.854, allocations: 0.8267 MB / 0.7934 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.854, allocations: 0 / 0.7934 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001078/0.8551, allocations: 0.9277 MB / 0.7943 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.8552, allocations: 8.875 kB / 0.7943 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.8552, allocations: 4.219 kB / 0.7943 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.8552, allocations: 6.844 kB / 0.7943 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005793/0.8558, allocations: 157 kB / 0.7945 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.8558, allocations: 7.891 kB / 0.7945 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009093/0.8567, allocations: 160.2 kB / 0.7946 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.777e-05/0.8568, allocations: 33.77 kB / 0.7947 GB, free: 11.7 MB / 0.5919 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.000339/0.8571, allocations: 327.5 kB / 0.795 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.8572, allocations: 82.45 kB / 0.795 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002077/0.8574, allocations: 110.4 kB / 0.7952 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.8575, allocations: 7.188 kB / 0.7952 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.8575, allocations: 0.75 kB / 0.7952 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001055/0.8585, allocations: 1.095 MB / 0.7962 GB, free: 11.07 MB / 0.5919 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.002697/0.8612, allocations: 2.307 MB / 0.7985 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.8612, allocations: 1.031 kB / 0.7985 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007398/0.862, allocations: 174.5 kB / 0.7986 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.862, allocations: 3.344 kB / 0.7987 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.736e-05/0.8621, allocations: 21.3 kB / 0.7987 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.8621, allocations: 3.406 kB / 0.7987 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.8621, allocations: 3.891 kB / 0.7987 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001463/0.8635, allocations: 1.352 MB / 0.8 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003206/0.8639, allocations: 259.4 kB / 0.8002 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.864, allocations: 16.5 kB / 0.8003 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007387/0.8647, allocations: 98.17 kB / 0.8004 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.718e-05/0.8648, allocations: 47.77 kB / 0.8004 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.745e-05/0.8649, allocations: 29.36 kB / 0.8004 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003509/0.8652, allocations: 409.4 kB / 0.8008 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8652, allocations: 1 kB / 0.8008 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007539/0.866, allocations: 371.2 kB / 0.8012 GB, free: 10.06 MB / 0.5919 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.00179/0.8678, allocations: 1.963 MB / 0.8031 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001459/0.8693, allocations: 1.038 MB / 0.8041 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.8693, allocations: 0.75 kB / 0.8041 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004787/0.8697, allocations: 427.5 kB / 0.8045 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002233/0.872, allocations: 0.5923 MB / 0.8051 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008729/0.8807, allocations: 7.909 MB / 0.8128 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005797/0.8813, allocations: 1.143 MB / 0.8139 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009/0.8822, allocations: 269.9 kB / 0.8142 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004137/0.8827, allocations: 380.4 kB / 0.8146 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of SimCode: time 4.31e-07/0.8827, allocations: 0 / 0.8146 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2022/1.085, allocations: 25.54 MB / 0.8395 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002268/1.085, allocations: 188.4 kB / 0.8397 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.27/3.355, allocations: 3.5 kB / 0.8397 GB, free: 15.2 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/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)