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.00104/0.00104, allocations: 101.8 kB / 16.4 MB, free: 6.453 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.001171/0.001171, allocations: 195.9 kB / 17.34 MB, free: 5.719 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.22/1.22, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6525/0.6525, allocations: 115.3 MB / 406.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 64.25 kB / 0.5572 GB, free: 32.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1162, allocations: 76.17 MB / 0.6316 GB, free: 4.906 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.4723/0.5885, allocations: 204.1 MB / 0.8309 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008956/0.5975, allocations: 6.385 MB / 0.8372 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001488/0.599, allocations: 37.03 kB / 0.8372 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001651/0.6008, allocations: 0.7252 MB / 0.8379 GB, free: 3.266 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00571/0.6065, allocations: 2.684 MB / 0.8405 GB, free: 1.605 MB / 0.5919 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.00155/0.6081, allocations: 0.7016 MB / 0.8412 GB, free: 1.109 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00331/0.6114, allocations: 3.284 MB / 0.8444 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001538/0.6129, allocations: 1.135 MB / 0.8455 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002773/0.6157, allocations: 1.265 MB / 0.8468 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002854/0.6186, allocations: 1.096 MB / 0.8478 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004485/0.6191, allocations: 127.4 kB / 0.848 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005682/0.6248, allocations: 2.354 MB / 0.8503 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008384/0.6256, allocations: 0.5187 MB / 0.8508 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001543/0.6272, allocations: 0.7399 MB / 0.8515 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005407/0.6326, allocations: 2.807 MB / 0.8542 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.6326, allocations: 0 / 0.8542 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6326, allocations: 3.938 kB / 0.8542 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.501e-05/0.6327, allocations: 0 / 0.8542 GB, free: 8.68 MB / 0.6075 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.004583/0.6373, allocations: 1.761 MB / 0.8559 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.6373, allocations: 12.02 kB / 0.856 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002342/0.6376, allocations: 160.6 kB / 0.8561 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002328/0.6399, allocations: 346.2 kB / 0.8564 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/0.6414, allocations: 0.8817 MB / 0.8573 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.909e-05/0.6414, allocations: 78 kB / 0.8574 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/0.6416, allocations: 103.9 kB / 0.8575 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/0.6435, allocations: 1.199 MB / 0.8586 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/0.6435, allocations: 0 / 0.8586 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.892e-05/0.6436, allocations: 40 kB / 0.8587 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-05/0.6437, allocations: 62.06 kB / 0.8587 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002/0.6457, allocations: 1.242 MB / 0.86 GB, free: 2.652 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.006506/0.6522, allocations: 5.102 MB / 0.8649 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001407/0.6536, allocations: 1.167 MB / 0.8661 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006787/0.6543, allocations: 0.5046 MB / 0.8666 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 6.2e-05/0.6544, allocations: 16.66 kB / 0.8666 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007169/0.6551, allocations: 488.2 kB / 0.8671 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.825e-06/0.6551, allocations: 0 / 0.8671 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.001849/0.657, allocations: 1.153 MB / 0.8682 GB, free: 9.664 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.657, allocations: 64.05 kB / 0.8682 GB, free: 9.59 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006723/0.6577, allocations: 0.586 MB / 0.8688 GB, free: 8.996 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.893e-05/0.6578, allocations: 41.64 kB / 0.8689 GB, free: 8.949 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000329/0.6581, allocations: 455.7 kB / 0.8693 GB, free: 8.496 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002394/0.6584, allocations: 268.2 kB / 0.8695 GB, free: 8.23 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/0.6586, allocations: 134.6 kB / 0.8697 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.6588, allocations: 382.8 kB / 0.87 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004677/0.6592, allocations: 333.8 kB / 0.8704 GB, free: 7.383 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005296/0.6598, allocations: 452.8 kB / 0.8708 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.6609, allocations: 0.8232 MB / 0.8716 GB, free: 6.043 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.6609, allocations: 0 / 0.8716 GB, free: 6.043 MB / 0.6231 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001358/0.6623, allocations: 0.9257 MB / 0.8725 GB, free: 5.109 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.6623, allocations: 8 kB / 0.8725 GB, free: 5.102 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.6623, allocations: 4.875 kB / 0.8725 GB, free: 5.098 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.6623, allocations: 7.938 kB / 0.8725 GB, free: 5.09 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006633/0.663, allocations: 164.1 kB / 0.8727 GB, free: 4.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.26e-05/0.663, allocations: 7.938 kB / 0.8727 GB, free: 4.922 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006783/0.6637, allocations: 59.38 kB / 0.8727 GB, free: 4.863 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.672e-05/0.6638, allocations: 24 kB / 0.8728 GB, free: 4.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.0004357/0.6642, allocations: 325.6 kB / 0.8731 GB, free: 4.512 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.6644, allocations: 79.06 kB / 0.8731 GB, free: 4.434 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000213/0.6646, allocations: 119.7 kB / 0.8733 GB, free: 4.312 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.6646, allocations: 8 kB / 0.8733 GB, free: 4.305 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.6646, allocations: 4.75 kB / 0.8733 GB, free: 4.301 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001227/0.6659, allocations: 1.085 MB / 0.8743 GB, free: 3.129 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.003196/0.6691, allocations: 2.314 MB / 0.8766 GB, free: 0.7305 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.6691, allocations: 0 / 0.8766 GB, free: 0.7305 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008197/0.6699, allocations: 172.7 kB / 0.8768 GB, free: 0.5625 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.221e-05/0.6699, allocations: 8.031 kB / 0.8768 GB, free: 0.5547 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-05/0.67, allocations: 19.98 kB / 0.8768 GB, free: 0.5352 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.67, allocations: 4 kB / 0.8768 GB, free: 0.5312 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.67, allocations: 0 / 0.8768 GB, free: 0.5312 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/0.6718, allocations: 1.355 MB / 0.8781 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003744/0.6721, allocations: 256 kB / 0.8784 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.6723, allocations: 20.12 kB / 0.8784 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006256/0.6729, allocations: 26.06 kB / 0.8784 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.877e-05/0.673, allocations: 40.59 kB / 0.8784 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.187e-05/0.6731, allocations: 23.98 kB / 0.8785 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000478/0.6735, allocations: 419 kB / 0.8789 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6736, allocations: 0 / 0.8789 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000836/0.6744, allocations: 367.1 kB / 0.8792 GB, free: 14.01 MB / 0.6387 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.002058/0.6765, allocations: 1.973 MB / 0.8811 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001168/0.6776, allocations: 0.7942 MB / 0.8819 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.6777, allocations: 4 kB / 0.8819 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005437/0.6782, allocations: 427.5 kB / 0.8823 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002233/0.6804, allocations: 0.5849 MB / 0.8829 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009097/0.6896, allocations: 7.256 MB / 0.89 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006768/0.6903, allocations: 1.139 MB / 0.8911 GB, free: 1.641 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008334/0.6911, allocations: 279.1 kB / 0.8914 GB, free: 1.363 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005153/0.6916, allocations: 383.3 kB / 0.8917 GB, free: 0.9883 MB / 0.6387 GB Notification: Performance of SimCode: time 6.61e-07/0.6916, allocations: 0 / 0.8917 GB, free: 0.9883 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05018/0.7418, allocations: 26.33 MB / 0.9174 GB, free: 6.938 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.024/8.766, allocations: 4.109 kB / 0.9174 GB, free: 6.938 MB / 0.67 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)