Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.557/1.557, allocations: 249.3 MB / 261.8 MB, free: 5.824 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001346/0.001346, allocations: 176.8 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.711/1.711, allocations: 205.2 MB / 0.572 GB, free: 10.71 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008881/0.0008886, allocations: 89.28 kB / 0.6764 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.058e-05/4.074e-05, allocations: 4 kB / 0.788 GB, free: 97.04 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.229, allocations: 106.3 MB / 0.8919 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.494/5.723, allocations: 2.202 GB / 3.094 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002991/5.724, allocations: 84.7 kB / 3.094 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.887/9.611, allocations: 1.03 GB / 4.124 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.914e-06/9.611, allocations: 0 / 4.124 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001858/9.611, allocations: 50.75 kB / 4.124 GB, free: 116.4 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.007138/9.619, allocations: 2.167 MB / 4.126 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/9.619, allocations: 11.19 kB / 4.126 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000328/9.619, allocations: 205.9 kB / 4.127 GB, free: 114.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003635/9.623, allocations: 0.5238 MB / 4.127 GB, free: 114.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003076/9.626, allocations: 1.273 MB / 4.128 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.823e-05/9.626, allocations: 105 kB / 4.128 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000213/9.626, allocations: 139.6 kB / 4.129 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002784/9.629, allocations: 1.634 MB / 4.13 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.791e-05/9.629, allocations: 7.719 kB / 4.13 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000138/9.629, allocations: 54.25 kB / 4.13 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.992e-05/9.629, allocations: 58.8 kB / 4.13 GB, free: 112.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002115/9.631, allocations: 1.349 MB / 4.132 GB, free: 111.8 MB / 0.8855 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.008514/9.64, allocations: 7.191 MB / 4.139 GB, free: 105.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/9.641, allocations: 1.122 MB / 4.14 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007413/9.642, allocations: 0.5855 MB / 4.14 GB, free: 104.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007463/9.643, allocations: 0.8688 MB / 4.141 GB, free: 103 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008867/9.644, allocations: 0.5868 MB / 4.142 GB, free: 102.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=110): time 4.027e-06/9.644, allocations: 0 / 4.142 GB, free: 102.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=110): time 0.002195/9.646, allocations: 1.107 MB / 4.143 GB, free: 101.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/9.646, allocations: 90.11 kB / 4.143 GB, free: 101.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001406/9.647, allocations: 1.029 MB / 4.144 GB, free: 100.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001231/9.647, allocations: 49.7 kB / 4.144 GB, free: 100.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005141/9.648, allocations: 0.6898 MB / 4.145 GB, free: 99.41 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002872/9.648, allocations: 388.5 kB / 4.145 GB, free: 99.04 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.763e-05/9.648, allocations: 23.94 kB / 4.145 GB, free: 99.02 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.973e-05/9.648, allocations: 345.9 kB / 4.145 GB, free: 98.67 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00053/9.649, allocations: 389.9 kB / 4.146 GB, free: 98.29 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006341/9.649, allocations: 0.5617 MB / 4.146 GB, free: 97.67 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000658/9.65, allocations: 479.4 kB / 4.147 GB, free: 97.21 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/9.65, allocations: 0 / 4.147 GB, free: 97.21 MB / 0.8855 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001807/9.652, allocations: 1.167 MB / 4.148 GB, free: 96.04 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002152/9.652, allocations: 0.9876 MB / 4.149 GB, free: 95.01 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/9.652, allocations: 4 kB / 4.149 GB, free: 95 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/9.652, allocations: 8 kB / 4.149 GB, free: 95 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009441/9.653, allocations: 219.7 kB / 4.149 GB, free: 94.78 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/9.653, allocations: 4 kB / 4.149 GB, free: 94.78 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001644/9.655, allocations: 176.1 kB / 4.149 GB, free: 94.61 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/9.655, allocations: 43.98 kB / 4.149 GB, free: 94.57 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.636e-06/9.655, allocations: 0 / 4.149 GB, free: 94.57 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001481/9.657, allocations: 1.014 MB / 4.15 GB, free: 93.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/9.657, allocations: 0 / 4.15 GB, free: 93.55 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.178e-06/9.657, allocations: 8 kB / 4.15 GB, free: 93.55 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008173/9.657, allocations: 214.3 kB / 4.15 GB, free: 93.34 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/9.657, allocations: 8 kB / 4.15 GB, free: 93.33 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/9.659, allocations: 179.5 kB / 4.151 GB, free: 93.16 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.992e-05/9.659, allocations: 39.98 kB / 4.151 GB, free: 93.12 MB / 0.8855 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.0002848/9.659, allocations: 162 kB / 4.151 GB, free: 92.96 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002478/9.66, allocations: 149.2 kB / 4.151 GB, free: 92.82 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002003/9.662, allocations: 1.203 MB / 4.152 GB, free: 91.61 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/9.662, allocations: 15.89 kB / 4.152 GB, free: 91.59 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/9.662, allocations: 0 / 4.152 GB, free: 91.59 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001235/9.663, allocations: 0.96 MB / 4.153 GB, free: 90.62 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004835/9.668, allocations: 3.144 MB / 4.156 GB, free: 87.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/9.668, allocations: 7.984 kB / 4.156 GB, free: 87.38 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/9.669, allocations: 242.2 kB / 4.156 GB, free: 87.14 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.424e-05/9.669, allocations: 12 kB / 4.156 GB, free: 87.13 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.762e-05/9.669, allocations: 27.98 kB / 4.156 GB, free: 87.11 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.177e-06/9.669, allocations: 10.41 kB / 4.156 GB, free: 87.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/9.669, allocations: 7.938 kB / 4.156 GB, free: 87.09 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002567/9.672, allocations: 2.063 MB / 4.158 GB, free: 84.91 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009753/9.673, allocations: 382.8 kB / 4.159 GB, free: 84.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001964/9.673, allocations: 35.88 kB / 4.159 GB, free: 84.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/9.674, allocations: 117.7 kB / 4.159 GB, free: 84.38 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/9.674, allocations: 64.91 kB / 4.159 GB, free: 84.31 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.719e-05/9.674, allocations: 42.36 kB / 4.159 GB, free: 84.27 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00108/9.675, allocations: 0.8083 MB / 4.16 GB, free: 83.46 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.71e-07/9.675, allocations: 0 / 4.16 GB, free: 83.46 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003567/9.679, allocations: 1.111 MB / 4.161 GB, free: 82.34 MB / 0.8855 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.007907/9.687, allocations: 6.037 MB / 4.167 GB, free: 76.42 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002967/9.69, allocations: 1.592 MB / 4.168 GB, free: 74.83 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/9.69, allocations: 4 kB / 4.168 GB, free: 74.82 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007699/9.691, allocations: 0.5342 MB / 4.169 GB, free: 74.29 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004217/9.695, allocations: 0.817 MB / 4.17 GB, free: 73.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005354/9.7, allocations: 3.142 MB / 4.173 GB, free: 70.31 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006957/9.701, allocations: 1.406 MB / 4.174 GB, free: 68.87 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002292/9.703, allocations: 0.588 MB / 4.175 GB, free: 68.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000727/9.704, allocations: 0.5969 MB / 4.175 GB, free: 67.7 MB / 0.8855 GB Notification: Performance of SimCode: time 1.262e-06/9.704, allocations: 0 / 4.175 GB, free: 67.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7389/10.44, allocations: 87.12 MB / 4.26 GB, free: 136.8 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/10.44, allocations: 214.3 kB / 4.261 GB, free: 136.6 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.429/15.87, allocations: 0 / 4.261 GB, free: 136.6 MB / 0.9011 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)