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.0008851/0.0008852, allocations: 93.73 kB / 16.02 MB, free: 84 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.0009732/0.0009732, allocations: 179 kB / 16.92 MB, free: 6.684 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.217/1.217, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6201/0.6201, allocations: 115.5 MB / 407.6 MB, free: 2.746 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002638/0.0002638, allocations: 9.188 kB / 495.9 MB, free: 6.293 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1166, allocations: 77.54 MB / 0.56 GB, free: 8.957 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.3944/0.5111, allocations: 199.2 MB / 0.7546 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008617/0.5197, allocations: 6.381 MB / 0.7608 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001128/0.5209, allocations: 31.81 kB / 0.7609 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001656/0.5225, allocations: 0.6454 MB / 0.7615 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005513/0.5281, allocations: 2.518 MB / 0.764 GB, free: 5.73 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.001439/0.5295, allocations: 0.6391 MB / 0.7646 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004401/0.5339, allocations: 4.827 MB / 0.7693 GB, free: 264 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001281/0.5352, allocations: 0.9241 MB / 0.7702 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001806/0.537, allocations: 1.047 MB / 0.7712 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002099/0.5391, allocations: 1.093 MB / 0.7723 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000182/0.5393, allocations: 60 kB / 0.7723 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003918/0.5433, allocations: 2.704 MB / 0.775 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005142/0.5438, allocations: 454.6 kB / 0.7754 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008981/0.5447, allocations: 0.6667 MB / 0.7761 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003506/0.5482, allocations: 2.855 MB / 0.7789 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.5482, allocations: 0 / 0.7789 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5482, allocations: 0 / 0.7789 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.297e-05/0.5483, allocations: 0 / 0.7789 GB, free: 6.422 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.003671/0.552, allocations: 1.528 MB / 0.7803 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.552, allocations: 12.02 kB / 0.7804 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002964/0.5523, allocations: 160.6 kB / 0.7805 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002205/0.5545, allocations: 346.2 kB / 0.7808 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.5559, allocations: 0.8427 MB / 0.7817 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.169e-05/0.5559, allocations: 78 kB / 0.7817 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001617/0.5561, allocations: 104 kB / 0.7818 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001804/0.5579, allocations: 1.191 MB / 0.783 GB, free: 2.027 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/0.558, allocations: 3.938 kB / 0.783 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.65e-05/0.5581, allocations: 40 kB / 0.783 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.588e-05/0.5581, allocations: 66 kB / 0.7831 GB, free: 1.918 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001727/0.5599, allocations: 1.246 MB / 0.7843 GB, free: 0.6641 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.005337/0.5652, allocations: 5.079 MB / 0.7893 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/0.5667, allocations: 1.161 MB / 0.7904 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006559/0.5674, allocations: 0.5065 MB / 0.7909 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.905e-05/0.5674, allocations: 16.66 kB / 0.7909 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000655/0.5681, allocations: 492.2 kB / 0.7914 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 1.904e-06/0.5681, allocations: 0 / 0.7914 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.001834/0.5699, allocations: 1.157 MB / 0.7925 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.57, allocations: 64.06 kB / 0.7926 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006354/0.5706, allocations: 0.5782 MB / 0.7931 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.797e-05/0.5707, allocations: 41.64 kB / 0.7932 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003037/0.571, allocations: 455.7 kB / 0.7936 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002115/0.5712, allocations: 276.1 kB / 0.7939 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.022e-05/0.5713, allocations: 65.69 kB / 0.7939 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001935/0.5715, allocations: 382.8 kB / 0.7943 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004849/0.572, allocations: 333.8 kB / 0.7946 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000522/0.5725, allocations: 452.7 kB / 0.7951 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.5736, allocations: 0.8155 MB / 0.7959 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5736, allocations: 0 / 0.7959 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001277/0.5749, allocations: 0.9336 MB / 0.7968 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.5749, allocations: 8 kB / 0.7968 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.5749, allocations: 7.938 kB / 0.7968 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.575, allocations: 7.938 kB / 0.7968 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006254/0.5756, allocations: 155.8 kB / 0.7969 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.5756, allocations: 4 kB / 0.7969 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009256/0.5765, allocations: 159.4 kB / 0.7971 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.791e-05/0.5766, allocations: 32 kB / 0.7971 GB, free: 2.859 MB / 0.6075 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.0003957/0.577, allocations: 334.2 kB / 0.7974 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.5771, allocations: 79.06 kB / 0.7975 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000253/0.5774, allocations: 103.8 kB / 0.7976 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.5774, allocations: 15.94 kB / 0.7976 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.5774, allocations: 0 / 0.7976 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001147/0.5785, allocations: 1.089 MB / 0.7987 GB, free: 1.145 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 postOpt removeSimpleEquations (simulation): time 0.002951/0.5815, allocations: 2.308 MB / 0.801 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.5815, allocations: 4 kB / 0.801 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000783/0.5823, allocations: 179.8 kB / 0.8011 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.5823, allocations: 4 kB / 0.8011 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.452e-05/0.5824, allocations: 15.98 kB / 0.8011 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.5824, allocations: 4 kB / 0.8012 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5824, allocations: 0 / 0.8012 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001673/0.5841, allocations: 1.358 MB / 0.8025 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003141/0.5844, allocations: 252 kB / 0.8027 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.282e-05/0.5845, allocations: 23.98 kB / 0.8027 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007736/0.5853, allocations: 95.7 kB / 0.8028 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.436e-05/0.5854, allocations: 48.59 kB / 0.8029 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.716e-05/0.5854, allocations: 23.98 kB / 0.8029 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004236/0.5859, allocations: 415 kB / 0.8033 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5859, allocations: 0 / 0.8033 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007756/0.5866, allocations: 359.1 kB / 0.8036 GB, free: 11.95 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.001999/0.5886, allocations: 1.981 MB / 0.8056 GB, free: 9.941 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001035/0.5897, allocations: 0.7903 MB / 0.8063 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.5897, allocations: 4 kB / 0.8064 GB, free: 9.145 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005046/0.5902, allocations: 428.2 kB / 0.8068 GB, free: 8.73 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002528/0.5927, allocations: 0.5563 MB / 0.8073 GB, free: 8.191 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00956/0.6023, allocations: 8.016 MB / 0.8151 GB, free: 16 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006965/0.603, allocations: 1.14 MB / 0.8162 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008976/0.6039, allocations: 275.2 kB / 0.8165 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005027/0.6044, allocations: 383.3 kB / 0.8169 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of SimCode: time 4.71e-07/0.6045, allocations: 0 / 0.8169 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2457/0.8501, allocations: 24.53 MB / 0.8408 GB, free: 228.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001322/0.8503, allocations: 191.8 kB / 0.841 GB, free: 228.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.143/2.993, allocations: 0 / 0.841 GB, free: 228.6 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)