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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009641/0.0009641, allocations: 182.6 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6746/0.6746, allocations: 91.99 MB / 108.5 MB, free: 13.06 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 223.2 MB / 354.3 MB, free: 12.22 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009973/0.000997, allocations: 99.77 kB / 427.4 MB, free: 3.965 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003243/0.0003243, allocations: 11.98 kB / 0.4983 GB, free: 42.22 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1807, allocations: 72.3 MB / 0.5689 GB, free: 1.852 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.094/6.274, allocations: 1.876 GB / 2.444 GB, free: 7.395 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003554/6.275, allocations: 87.95 kB / 2.445 GB, free: 7.309 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: The standard says that initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition useDefaultProperties and initial(). Notification: Performance of FrontEnd - DAE generated: time 2.551/8.826, allocations: 0.616 GB / 3.061 GB, free: 80.79 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.844e-06/8.826, allocations: 0 / 3.061 GB, free: 80.79 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.349e-05/8.826, allocations: 31.98 kB / 3.061 GB, free: 80.75 MB / 0.6042 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.004495/8.831, allocations: 1.681 MB / 3.062 GB, free: 79.02 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/8.831, allocations: 8.031 kB / 3.062 GB, free: 79.02 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002172/8.831, allocations: 164.6 kB / 3.062 GB, free: 78.84 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002072/8.833, allocations: 338.1 kB / 3.063 GB, free: 78.51 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001529/8.835, allocations: 0.8628 MB / 3.064 GB, free: 77.61 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.337e-05/8.835, allocations: 73.97 kB / 3.064 GB, free: 77.53 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/8.835, allocations: 107.9 kB / 3.064 GB, free: 77.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/8.837, allocations: 1.113 MB / 3.065 GB, free: 76.28 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/8.837, allocations: 3.906 kB / 3.065 GB, free: 76.28 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.722e-05/8.837, allocations: 40 kB / 3.065 GB, free: 76.24 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.066e-05/8.837, allocations: 62.06 kB / 3.065 GB, free: 76.18 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001537/8.838, allocations: 1.179 MB / 3.066 GB, free: 74.99 MB / 0.6042 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.005738/8.844, allocations: 5.061 MB / 3.071 GB, free: 69.48 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/8.845, allocations: 0.9722 MB / 3.072 GB, free: 68.47 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.352e-05/8.845, allocations: 20.78 kB / 3.072 GB, free: 68.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000609/8.846, allocations: 496.2 kB / 3.072 GB, free: 67.95 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=76): time 4.488e-06/8.846, allocations: 0 / 3.072 GB, free: 67.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=76): time 0.001737/8.848, allocations: 1.18 MB / 3.074 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/8.848, allocations: 64.02 kB / 3.074 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005939/8.849, allocations: 0.5033 MB / 3.074 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.683e-05/8.849, allocations: 41.7 kB / 3.074 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/8.849, allocations: 463.6 kB / 3.075 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/8.849, allocations: 272.1 kB / 3.075 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/8.849, allocations: 12 kB / 3.075 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001197/8.849, allocations: 386.8 kB / 3.075 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003963/8.85, allocations: 333.8 kB / 3.076 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004287/8.85, allocations: 464.6 kB / 3.076 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004642/8.85, allocations: 403.1 kB / 3.076 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/8.85, allocations: 0 / 3.076 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001101/8.852, allocations: 0.9374 MB / 3.077 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/8.852, allocations: 12.88 kB / 3.077 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/8.852, allocations: 4 kB / 3.077 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/8.852, allocations: 4.344 kB / 3.077 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000671/8.852, allocations: 159.8 kB / 3.078 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/8.852, allocations: 4 kB / 3.078 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/8.854, allocations: 155.2 kB / 3.078 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.738e-05/8.854, allocations: 24 kB / 3.078 GB, free: 62.5 MB / 0.6042 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.0005092/8.854, allocations: 345.5 kB / 3.078 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/8.854, allocations: 83.05 kB / 3.078 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002175/8.854, allocations: 107.8 kB / 3.078 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/8.854, allocations: 8 kB / 3.078 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/8.854, allocations: 0 / 3.078 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001017/8.855, allocations: 1.105 MB / 3.079 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002853/8.858, allocations: 2.168 MB / 3.081 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/8.858, allocations: 0 / 3.081 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008016/8.859, allocations: 171.8 kB / 3.082 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/8.859, allocations: 11.88 kB / 3.082 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.985e-05/8.859, allocations: 19.95 kB / 3.082 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/8.859, allocations: 0 / 3.082 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/8.859, allocations: 4 kB / 3.082 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/8.861, allocations: 1.375 MB / 3.083 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005121/8.861, allocations: 263.9 kB / 3.083 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.68e-05/8.861, allocations: 15.95 kB / 3.083 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008392/8.862, allocations: 99.77 kB / 3.083 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.897e-05/8.862, allocations: 40.59 kB / 3.083 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.904e-05/8.862, allocations: 31.92 kB / 3.083 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004214/8.863, allocations: 415 kB / 3.084 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/8.863, allocations: 0 / 3.084 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001656/8.865, allocations: 0.503 MB / 3.084 GB, free: 55.56 MB / 0.6042 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.003988/8.869, allocations: 3.508 MB / 3.088 GB, free: 52.01 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001078/8.87, allocations: 0.8136 MB / 3.088 GB, free: 51.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/8.87, allocations: 0 / 3.088 GB, free: 51.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004345/8.87, allocations: 432.2 kB / 3.089 GB, free: 50.77 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002414/8.873, allocations: 0.5536 MB / 3.089 GB, free: 50.24 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007531/8.88, allocations: 7.555 MB / 3.097 GB, free: 42.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005639/8.881, allocations: 1.163 MB / 3.098 GB, free: 41.41 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001055/8.882, allocations: 275 kB / 3.098 GB, free: 41.14 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004639/8.882, allocations: 379.3 kB / 3.099 GB, free: 40.77 MB / 0.6042 GB Notification: Performance of SimCode: time 1.222e-06/8.882, allocations: 0 / 3.099 GB, free: 40.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07704/8.959, allocations: 50.75 MB / 3.148 GB, free: 6.301 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001777/8.96, allocations: 178 kB / 3.148 GB, free: 6.047 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.732/12.69, allocations: 3.5 kB / 3.148 GB, free: 6.047 MB / 0.6198 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)