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.001333/0.001333, allocations: 104.3 kB / 16.4 MB, free: 6.449 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.001491/0.001491, allocations: 193.2 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7571/0.7571, allocations: 115.3 MB / 406.5 MB, free: 6.211 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 61.31 kB / 0.5572 GB, free: 32.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1581, allocations: 76.18 MB / 0.6316 GB, free: 4.895 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.5552/0.7133, allocations: 204.1 MB / 0.8309 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01176/0.7251, allocations: 6.381 MB / 0.8372 GB, free: 3.785 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001837/0.727, allocations: 37.31 kB / 0.8372 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002454/0.7295, allocations: 0.7318 MB / 0.8379 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007378/0.7369, allocations: 2.669 MB / 0.8405 GB, free: 1.602 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.001875/0.7388, allocations: 0.7153 MB / 0.8412 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004533/0.7433, allocations: 3.279 MB / 0.8444 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001473/0.7448, allocations: 1.144 MB / 0.8455 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002246/0.7471, allocations: 1.257 MB / 0.8468 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002185/0.7493, allocations: 1.099 MB / 0.8478 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001791/0.7495, allocations: 132.4 kB / 0.848 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004756/0.7542, allocations: 2.359 MB / 0.8503 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005933/0.7549, allocations: 0.5148 MB / 0.8508 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008384/0.7557, allocations: 0.7358 MB / 0.8515 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00406/0.7598, allocations: 2.797 MB / 0.8542 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.7598, allocations: 0 / 0.8542 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.854e-06/0.7598, allocations: 0 / 0.8542 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.708e-05/0.7598, allocations: 0 / 0.8542 GB, free: 8.688 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.003729/0.7636, allocations: 1.777 MB / 0.856 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.7636, allocations: 12.03 kB / 0.856 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001918/0.7638, allocations: 156.6 kB / 0.8561 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002032/0.7658, allocations: 350.2 kB / 0.8564 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/0.7673, allocations: 0.8778 MB / 0.8573 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.661e-05/0.7674, allocations: 78 kB / 0.8574 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/0.7675, allocations: 100 kB / 0.8575 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/0.7692, allocations: 1.191 MB / 0.8586 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.7693, allocations: 0 / 0.8586 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.571e-05/0.7694, allocations: 44 kB / 0.8587 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.197e-05/0.7694, allocations: 58.08 kB / 0.8587 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001697/0.7711, allocations: 1.253 MB / 0.86 GB, free: 2.648 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.005682/0.7768, allocations: 5.102 MB / 0.8649 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/0.7782, allocations: 1.163 MB / 0.8661 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006629/0.7788, allocations: 0.5085 MB / 0.8666 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.469e-05/0.7789, allocations: 12.64 kB / 0.8666 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006636/0.7796, allocations: 484.4 kB / 0.867 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.665e-06/0.7796, allocations: 8 kB / 0.8671 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.001792/0.7814, allocations: 1.161 MB / 0.8682 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.7814, allocations: 56.06 kB / 0.8682 GB, free: 9.59 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006014/0.782, allocations: 0.5821 MB / 0.8688 GB, free: 9 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.394e-05/0.7821, allocations: 41.7 kB / 0.8689 GB, free: 8.953 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002659/0.7824, allocations: 463.7 kB / 0.8693 GB, free: 8.492 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000211/0.7826, allocations: 268.1 kB / 0.8696 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001953/0.7828, allocations: 134.6 kB / 0.8697 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.783, allocations: 386.8 kB / 0.87 GB, free: 7.699 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004402/0.7834, allocations: 329.8 kB / 0.8704 GB, free: 7.379 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005046/0.7839, allocations: 440.8 kB / 0.8708 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.7849, allocations: 0.8232 MB / 0.8716 GB, free: 6.051 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.785, allocations: 4 kB / 0.8716 GB, free: 6.047 MB / 0.6231 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001261/0.7862, allocations: 0.9337 MB / 0.8725 GB, free: 5.105 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.7862, allocations: 7.984 kB / 0.8725 GB, free: 5.098 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.7863, allocations: 7.938 kB / 0.8725 GB, free: 5.09 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.7863, allocations: 11.94 kB / 0.8725 GB, free: 5.078 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006482/0.7869, allocations: 151.8 kB / 0.8727 GB, free: 4.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.787, allocations: 8 kB / 0.8727 GB, free: 4.922 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006443/0.7876, allocations: 59.36 kB / 0.8727 GB, free: 4.863 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.663e-05/0.7877, 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.0004063/0.7881, allocations: 333.8 kB / 0.8731 GB, free: 4.504 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.7882, allocations: 83 kB / 0.8732 GB, free: 4.422 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001981/0.7884, allocations: 111.7 kB / 0.8733 GB, free: 4.309 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.7884, allocations: 8 kB / 0.8733 GB, free: 4.301 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.7884, allocations: 0 / 0.8733 GB, free: 4.301 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001128/0.7896, allocations: 1.089 MB / 0.8743 GB, free: 3.125 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.002922/0.7925, allocations: 2.306 MB / 0.8766 GB, free: 0.7344 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.7925, allocations: 4.031 kB / 0.8766 GB, free: 0.7305 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007809/0.7933, allocations: 175.8 kB / 0.8768 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.7933, allocations: 0 / 0.8768 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.077e-05/0.7934, allocations: 20 kB / 0.8768 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.7934, allocations: 4 kB / 0.8768 GB, free: 0.5352 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.7934, allocations: 3.984 kB / 0.8768 GB, free: 0.5312 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/0.7952, allocations: 1.352 MB / 0.8781 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004203/0.7956, allocations: 259.9 kB / 0.8784 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.135e-05/0.7957, allocations: 12 kB / 0.8784 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005873/0.7963, allocations: 25.88 kB / 0.8784 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.169e-05/0.7964, allocations: 48.53 kB / 0.8784 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.405e-05/0.7965, allocations: 29.11 kB / 0.8785 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000419/0.7969, allocations: 407.1 kB / 0.8789 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7969, allocations: 4 kB / 0.8789 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007834/0.7977, 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.002003/0.7997, allocations: 1.972 MB / 0.8811 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001116/0.8008, allocations: 0.8064 MB / 0.8819 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.8009, allocations: 0 / 0.8819 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005039/0.8014, allocations: 427.6 kB / 0.8823 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00252/0.8039, allocations: 0.5854 MB / 0.8829 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008853/0.8128, allocations: 7.26 MB / 0.89 GB, free: 2.793 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006372/0.8134, allocations: 1.139 MB / 0.8911 GB, free: 1.629 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008338/0.8143, allocations: 271.2 kB / 0.8914 GB, free: 1.359 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005114/0.8148, allocations: 379.3 kB / 0.8917 GB, free: 0.9883 MB / 0.6387 GB Notification: Performance of SimCode: time 7.32e-07/0.8148, allocations: 0 / 0.8917 GB, free: 0.9883 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05067/0.8655, allocations: 26.32 MB / 0.9174 GB, free: 6.941 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.785/9.651, allocations: 12.52 kB / 0.9174 GB, free: 6.934 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)