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.704/1.704, allocations: 292.6 MB / 307.5 MB, free: 5.234 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.001076/0.001076, allocations: 173.1 kB / 377.1 MB, free: 1.559 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.713/1.713, allocations: 205.4 MB / 0.6366 GB, free: 8.633 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.00101/0.00101, allocations: 91.92 kB / 0.7509 GB, free: 63.02 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003482/0.000348, allocations: 11.98 kB / 0.8749 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2788, allocations: 116.3 MB / 0.9884 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.724/6.003, allocations: 2.085 GB / 3.074 GB, free: 133.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/6.004, allocations: 101 kB / 3.074 GB, free: 133.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.767/10.77, allocations: 1.06 GB / 4.134 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of FrontEnd: time 4.569e-06/10.77, allocations: 0 / 4.134 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003656/10.77, allocations: 50.78 kB / 4.134 GB, free: 118.8 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.01187/10.78, allocations: 2.424 MB / 4.136 GB, free: 117.7 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.844e-05/10.78, allocations: 15.06 kB / 4.136 GB, free: 117.7 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001151/10.78, allocations: 195.2 kB / 4.137 GB, free: 117.6 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004759/10.79, allocations: 0.5175 MB / 4.137 GB, free: 117.5 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005107/10.79, allocations: 1.265 MB / 4.138 GB, free: 117.1 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000204/10.79, allocations: 104.9 kB / 4.138 GB, free: 117.1 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008177/10.8, allocations: 148.5 kB / 4.139 GB, free: 117.1 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005513/10.8, allocations: 1.658 MB / 4.14 GB, free: 116.9 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.714e-05/10.8, allocations: 3.938 kB / 4.14 GB, free: 116.9 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003237/10.8, allocations: 56.84 kB / 4.14 GB, free: 116.9 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001048/10.8, allocations: 57.3 kB / 4.14 GB, free: 116.8 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004074/10.81, allocations: 1.408 MB / 4.142 GB, free: 116.6 MB / 0.9636 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.01626/10.82, allocations: 7.164 MB / 4.149 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002579/10.82, allocations: 1.184 MB / 4.15 GB, free: 111 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001247/10.83, allocations: 0.8789 MB / 4.151 GB, free: 110 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001477/10.83, allocations: 0.5983 MB / 4.151 GB, free: 109.8 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=110): time 7.234e-06/10.83, allocations: 0 / 4.151 GB, free: 109.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=110): time 0.004026/10.83, allocations: 1.57 MB / 4.153 GB, free: 109.2 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.893e-05/10.83, allocations: 96.59 kB / 4.153 GB, free: 109.1 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00236/10.83, allocations: 1.043 MB / 4.154 GB, free: 108.7 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.000166/10.83, allocations: 45.45 kB / 4.154 GB, free: 108.6 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007889/10.83, allocations: 0.6788 MB / 4.155 GB, free: 108.1 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004745/10.84, allocations: 385 kB / 4.155 GB, free: 107.8 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.034e-05/10.84, allocations: 15.91 kB / 4.155 GB, free: 107.8 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001218/10.84, allocations: 348.7 kB / 4.155 GB, free: 107.5 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007871/10.84, allocations: 414.8 kB / 4.156 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008712/10.84, allocations: 0.5984 MB / 4.156 GB, free: 107 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008905/10.84, allocations: 0.4963 MB / 4.157 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/10.84, allocations: 0 / 4.157 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00241/10.84, allocations: 1.215 MB / 4.158 GB, free: 106.3 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003187/10.84, allocations: 0.9818 MB / 4.159 GB, free: 105.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/10.84, allocations: 3.625 kB / 4.159 GB, free: 105.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.912e-05/10.84, allocations: 7.125 kB / 4.159 GB, free: 105.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/10.84, allocations: 222.1 kB / 4.159 GB, free: 105.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.15e-05/10.84, allocations: 21.7 kB / 4.159 GB, free: 105.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002036/10.84, allocations: 165.9 kB / 4.159 GB, free: 105.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/10.84, allocations: 41.91 kB / 4.159 GB, free: 105.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/10.84, allocations: 4.281 kB / 4.159 GB, free: 105.1 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001758/10.85, allocations: 1.038 MB / 4.16 GB, free: 104.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/10.85, allocations: 3.875 kB / 4.16 GB, free: 104.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/10.85, allocations: 7.688 kB / 4.16 GB, free: 104.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009467/10.85, allocations: 209.3 kB / 4.161 GB, free: 104.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.86e-05/10.85, allocations: 7.312 kB / 4.161 GB, free: 104.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001982/10.85, allocations: 170.2 kB / 4.161 GB, free: 104.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/10.85, allocations: 41.11 kB / 4.161 GB, free: 104.6 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 () * Number of clocked 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.001214/10.85, allocations: 497.2 kB / 4.161 GB, free: 104.3 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005304/10.85, allocations: 148.2 kB / 4.161 GB, free: 104.2 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00259/10.85, allocations: 1.253 MB / 4.163 GB, free: 103.7 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/10.85, allocations: 10.75 kB / 4.163 GB, free: 103.7 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/10.85, allocations: 3.406 kB / 4.163 GB, free: 103.7 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001619/10.86, allocations: 1.017 MB / 4.164 GB, free: 103.2 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006688/10.86, allocations: 3.187 MB / 4.167 GB, free: 101.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/10.86, allocations: 7.781 kB / 4.167 GB, free: 101.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001184/10.86, allocations: 242 kB / 4.167 GB, free: 101.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.158e-05/10.86, allocations: 7.75 kB / 4.167 GB, free: 101.6 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/10.86, allocations: 27.41 kB / 4.167 GB, free: 101.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.785e-05/10.86, allocations: 24.64 kB / 4.167 GB, free: 101.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/10.86, allocations: 0 / 4.167 GB, free: 101.6 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003286/10.87, allocations: 2.142 MB / 4.169 GB, free: 100.4 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/10.87, allocations: 377.4 kB / 4.17 GB, free: 100.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004149/10.87, allocations: 23.72 kB / 4.17 GB, free: 100.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001582/10.87, allocations: 115.5 kB / 4.17 GB, free: 100.1 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/10.87, allocations: 82.81 kB / 4.17 GB, free: 100.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.742e-05/10.87, allocations: 39.83 kB / 4.17 GB, free: 100.1 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001472/10.87, allocations: 0.8113 MB / 4.171 GB, free: 99.78 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.3e-07/10.87, allocations: 0 / 4.171 GB, free: 99.78 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004468/10.88, allocations: 1.093 MB / 4.172 GB, free: 99.48 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) * Number of clocked states: 0 () * 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.009878/10.89, allocations: 6.163 MB / 4.178 GB, free: 95.98 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003499/10.89, allocations: 1.614 MB / 4.179 GB, free: 95.42 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.307e-06/10.89, allocations: 0 / 4.179 GB, free: 95.42 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/10.89, allocations: 0.5583 MB / 4.18 GB, free: 95.23 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004782/10.9, allocations: 0.8182 MB / 4.181 GB, free: 95.06 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02116/10.92, allocations: 11.11 MB / 4.191 GB, free: 88.36 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00151/10.92, allocations: 1.403 MB / 4.193 GB, free: 87.57 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002539/10.92, allocations: 451.9 kB / 4.193 GB, free: 87.5 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001203/10.92, allocations: 0.6131 MB / 4.194 GB, free: 87.04 MB / 0.9636 GB Notification: Performance of SimCode: time 1.553e-06/10.92, allocations: 0 / 4.194 GB, free: 87.04 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1325/11.05, allocations: 78.32 MB / 4.27 GB, free: 16.85 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002363/11.05, allocations: 227.6 kB / 4.271 GB, free: 16.61 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.738/16.79, allocations: 3.656 kB / 4.271 GB, free: 16.61 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)