Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.647/1.647, allocations: 289.7 MB / 302.2 MB, free: 2.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009989/0.0009989, allocations: 178.6 kB / 371.6 MB, free: 3.402 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.575/1.575, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001031/0.001031, allocations: 95.86 kB / 0.745 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.842e-05/5.844e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3331, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.136/6.47, allocations: 2.085 GB / 3.065 GB, free: 108.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/6.47, allocations: 88.08 kB / 3.065 GB, free: 108.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.352/10.82, allocations: 1.059 GB / 4.124 GB, free: 118 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.555e-06/10.82, allocations: 0 / 4.124 GB, free: 118 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001562/10.82, allocations: 47.83 kB / 4.124 GB, free: 118 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.007435/10.83, allocations: 2.154 MB / 4.126 GB, free: 116.8 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.988e-05/10.83, allocations: 14.5 kB / 4.126 GB, free: 116.8 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003245/10.83, allocations: 200 kB / 4.127 GB, free: 116.7 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003809/10.83, allocations: 0.515 MB / 4.127 GB, free: 116.6 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002706/10.84, allocations: 1.255 MB / 4.128 GB, free: 115.9 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.38e-05/10.84, allocations: 102.2 kB / 4.129 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002151/10.84, allocations: 145.9 kB / 4.129 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002749/10.84, allocations: 1.607 MB / 4.13 GB, free: 115 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.139e-05/10.84, allocations: 7.875 kB / 4.13 GB, free: 115 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001447/10.84, allocations: 57.84 kB / 4.13 GB, free: 115 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.631e-05/10.84, allocations: 60.7 kB / 4.13 GB, free: 115 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002277/10.84, allocations: 1.341 MB / 4.132 GB, free: 114.4 MB / 0.9636 GB Warning: The model contains alias variables with conflicting start and/or 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.008968/10.85, allocations: 7.169 MB / 4.139 GB, free: 109.4 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/10.85, allocations: 1.152 MB / 4.14 GB, free: 108.8 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007719/10.85, allocations: 0.576 MB / 4.14 GB, free: 108.6 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007814/10.85, allocations: 0.8678 MB / 4.141 GB, free: 107.6 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009651/10.86, allocations: 0.5773 MB / 4.142 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=110): time 4.048e-06/10.86, allocations: 3.281 kB / 4.142 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=110): time 0.002421/10.86, allocations: 1.117 MB / 4.143 GB, free: 107 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/10.86, allocations: 88.7 kB / 4.143 GB, free: 106.9 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001421/10.86, allocations: 1.021 MB / 4.144 GB, free: 106.5 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.586e-05/10.86, allocations: 53.11 kB / 4.144 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005478/10.86, allocations: 0.6813 MB / 4.145 GB, free: 105.9 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003432/10.86, allocations: 380.6 kB / 4.145 GB, free: 105.6 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.967e-05/10.86, allocations: 23.5 kB / 4.145 GB, free: 105.6 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001003/10.86, allocations: 341.3 kB / 4.145 GB, free: 105.2 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005974/10.86, allocations: 394.9 kB / 4.146 GB, free: 105.1 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007312/10.86, allocations: 0.5687 MB / 4.146 GB, free: 104.8 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007412/10.86, allocations: 480.9 kB / 4.147 GB, free: 104.6 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/10.86, allocations: 3.938 kB / 4.147 GB, free: 104.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001773/10.86, allocations: 1.162 MB / 4.148 GB, free: 104.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002474/10.86, allocations: 0.9923 MB / 4.149 GB, free: 103.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/10.86, allocations: 3.625 kB / 4.149 GB, free: 103.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/10.86, allocations: 7.625 kB / 4.149 GB, free: 103.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009586/10.87, allocations: 221.9 kB / 4.149 GB, free: 103.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.055e-05/10.87, allocations: 14.83 kB / 4.149 GB, free: 103 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/10.87, allocations: 175.6 kB / 4.149 GB, free: 103 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-05/10.87, allocations: 41.75 kB / 4.149 GB, free: 103 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/10.87, allocations: 5.469 kB / 4.149 GB, free: 103 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00147/10.87, allocations: 1.012 MB / 4.15 GB, free: 102.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/10.87, allocations: 3.875 kB / 4.15 GB, free: 102.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/10.87, allocations: 11.81 kB / 4.15 GB, free: 102.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008363/10.87, allocations: 220.6 kB / 4.151 GB, free: 102.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/10.87, allocations: 7.797 kB / 4.151 GB, free: 102.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/10.87, allocations: 163.5 kB / 4.151 GB, free: 102.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-05/10.87, allocations: 44.22 kB / 4.151 GB, free: 102.5 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 126 * 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.0002789/10.87, allocations: 174.3 kB / 4.151 GB, free: 102.3 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002197/10.87, allocations: 147.2 kB / 4.151 GB, free: 102.2 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002127/10.87, allocations: 1.196 MB / 4.152 GB, free: 101.8 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/10.87, allocations: 14.75 kB / 4.152 GB, free: 101.8 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/10.87, allocations: 0 / 4.152 GB, free: 101.8 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001353/10.88, allocations: 0.971 MB / 4.153 GB, free: 101.4 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005611/10.88, allocations: 3.142 MB / 4.156 GB, free: 99.81 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/10.88, allocations: 3.281 kB / 4.156 GB, free: 99.81 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/10.88, allocations: 243.2 kB / 4.156 GB, free: 99.79 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.317e-05/10.88, allocations: 3.531 kB / 4.156 GB, free: 99.79 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.301e-05/10.88, allocations: 36.98 kB / 4.156 GB, free: 99.77 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.849e-06/10.88, allocations: 14.28 kB / 4.157 GB, free: 99.77 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/10.88, allocations: 3.062 kB / 4.157 GB, free: 99.77 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00319/10.89, allocations: 2.073 MB / 4.159 GB, free: 98.62 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/10.89, allocations: 367 kB / 4.159 GB, free: 98.36 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001846/10.89, allocations: 27.09 kB / 4.159 GB, free: 98.35 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/10.89, allocations: 113.8 kB / 4.159 GB, free: 98.33 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/10.89, allocations: 73.27 kB / 4.159 GB, free: 98.32 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.67e-05/10.89, allocations: 40.88 kB / 4.159 GB, free: 98.31 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001291/10.89, allocations: 0.801 MB / 4.16 GB, free: 97.97 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.422e-06/10.89, allocations: 0 / 4.16 GB, free: 97.97 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003459/10.89, allocations: 1.11 MB / 4.161 GB, free: 97.66 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.U,roo.dynBal.m,roo.dynBal.mXi[1],oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.U,sha.vol.dynBal.m,sha.vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.007902/10.9, allocations: 6.052 MB / 4.167 GB, free: 94.15 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002862/10.9, allocations: 1.596 MB / 4.168 GB, free: 93.56 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/10.9, allocations: 11.91 kB / 4.168 GB, free: 93.55 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000792/10.9, allocations: 0.5304 MB / 4.169 GB, free: 93.36 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004622/10.91, allocations: 0.8189 MB / 4.17 GB, free: 92.99 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0063/10.92, allocations: 3.122 MB / 4.173 GB, free: 91.08 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008228/10.92, allocations: 1.402 MB / 4.174 GB, free: 89.65 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002627/10.92, allocations: 0.5877 MB / 4.175 GB, free: 89.08 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008297/10.92, allocations: 0.5968 MB / 4.175 GB, free: 88.48 MB / 0.9636 GB Notification: Performance of SimCode: time 1.974e-06/10.92, allocations: 0 / 4.175 GB, free: 88.48 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1429/11.06, allocations: 86.84 MB / 4.26 GB, free: 2.109 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001707/11.06, allocations: 204.3 kB / 4.26 GB, free: 1.883 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.19/16.25, allocations: 0 / 4.26 GB, free: 1.883 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)