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.395/1.395, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001165/0.001165, allocations: 181.1 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.604/1.604, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.0008078/0.0008078, allocations: 88.33 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003268/0.0003268, allocations: 9.953 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.2024, allocations: 106.3 MB / 0.9001 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.6834/0.8858, allocations: 193.8 MB / 1.089 GB, free: 3.414 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01631/0.9022, allocations: 10.28 MB / 1.099 GB, free: 3.289 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002966/0.9052, allocations: 46.84 kB / 1.099 GB, free: 3.289 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004379/0.9096, allocations: 1.071 MB / 1.101 GB, free: 3.285 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01192/0.9216, allocations: 2.908 MB / 1.103 GB, free: 3.25 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005809/0.9274, allocations: 1.664 MB / 1.105 GB, free: 3.219 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005282/0.9327, allocations: 2.581 MB / 1.108 GB, free: 3.211 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002008/0.9347, allocations: 1.217 MB / 1.109 GB, free: 3.035 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002867/0.9376, allocations: 1.28 MB / 1.11 GB, free: 3.031 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00135/0.9389, allocations: 0.9485 MB / 1.111 GB, free: 3.027 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001668/0.9391, allocations: 76.75 kB / 1.111 GB, free: 3.027 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003831/0.943, allocations: 1.35 MB / 1.112 GB, free: 3.027 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005208/0.9435, allocations: 0.5443 MB / 1.113 GB, free: 3.027 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007366/0.9442, allocations: 415.6 kB / 1.113 GB, free: 18.99 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003132/0.9474, allocations: 2.41 MB / 1.116 GB, free: 18.81 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.9474, allocations: 6.156 kB / 1.116 GB, free: 18.81 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.753e-06/0.9474, allocations: 0 / 1.116 GB, free: 18.81 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.853e-05/0.9474, allocations: 0 / 1.116 GB, free: 18.81 MB / 0.7136 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.004818/0.9523, allocations: 2.103 MB / 1.118 GB, free: 17.72 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.9523, allocations: 12.05 kB / 1.118 GB, free: 17.72 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000384/0.9527, allocations: 206.7 kB / 1.118 GB, free: 17.68 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003248/0.956, allocations: 0.532 MB / 1.118 GB, free: 17.57 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00231/0.9583, allocations: 1.17 MB / 1.119 GB, free: 17.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-05/0.9584, allocations: 101.8 kB / 1.12 GB, free: 17.19 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001905/0.9586, allocations: 142.3 kB / 1.12 GB, free: 17.19 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002626/0.9612, allocations: 1.671 MB / 1.121 GB, free: 16.98 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.419e-05/0.9613, allocations: 7.125 kB / 1.121 GB, free: 16.98 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/0.9614, allocations: 57.27 kB / 1.121 GB, free: 16.98 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-05/0.9615, allocations: 71.94 kB / 1.121 GB, free: 16.98 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002289/0.9638, allocations: 1.449 MB / 1.123 GB, free: 16.96 MB / 0.7136 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.008676/0.9725, allocations: 6.975 MB / 1.13 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001618/0.9741, allocations: 1.186 MB / 1.131 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006501/0.9748, allocations: 0.6886 MB / 1.132 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001059/0.9758, allocations: 0.6119 MB / 1.132 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=110): time 3.767e-06/0.9759, allocations: 0 / 1.132 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of matching and sorting (n=110): time 0.003621/0.9795, allocations: 1.566 MB / 1.134 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.49e-05/0.9796, allocations: 89.11 kB / 1.134 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001824/0.9814, allocations: 1.193 MB / 1.135 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001059/0.9815, allocations: 50.03 kB / 1.135 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005426/0.9821, allocations: 0.68 MB / 1.136 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.00037/0.9825, allocations: 390.5 kB / 1.136 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.033e-05/0.9825, allocations: 19.19 kB / 1.136 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.9827, allocations: 346.8 kB / 1.136 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006508/0.9833, allocations: 411.3 kB / 1.137 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007554/0.9841, allocations: 0.5573 MB / 1.137 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007538/0.9849, allocations: 493.7 kB / 1.138 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.9849, allocations: 0 / 1.138 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001949/0.9868, allocations: 1.204 MB / 1.139 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004199/0.9873, allocations: 0.9851 MB / 1.14 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.9873, allocations: 6.781 kB / 1.14 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.9873, allocations: 8.188 kB / 1.14 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009354/0.9883, allocations: 221.3 kB / 1.14 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/0.9883, allocations: 8.125 kB / 1.14 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/0.9897, allocations: 169.1 kB / 1.14 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.452e-05/0.9898, allocations: 32.84 kB / 1.14 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.915e-06/0.9898, allocations: 4.859 kB / 1.14 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00152/0.9914, allocations: 1.031 MB / 1.141 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.9914, allocations: 2 kB / 1.141 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.9914, allocations: 9.031 kB / 1.141 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008365/0.9922, allocations: 209.9 kB / 1.142 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.9923, allocations: 8.156 kB / 1.142 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/0.9937, allocations: 168.7 kB / 1.142 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.714e-05/0.9938, allocations: 34.62 kB / 1.142 GB, free: 8.184 MB / 0.7136 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.0008473/0.9946, allocations: 499.7 kB / 1.142 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000263/0.9949, allocations: 148.4 kB / 1.142 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002156/0.997, allocations: 1.24 MB / 1.144 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.9971, allocations: 8.531 kB / 1.144 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.9971, allocations: 6.406 kB / 1.144 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00142/0.9985, allocations: 0.998 MB / 1.145 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005195/1.004, allocations: 3.177 MB / 1.148 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/1.004, allocations: 0 / 1.148 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/1.005, allocations: 233.1 kB / 1.148 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.29e-05/1.005, allocations: 12.09 kB / 1.148 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.649e-05/1.005, allocations: 28.83 kB / 1.148 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.428e-06/1.005, allocations: 14.75 kB / 1.148 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/1.005, allocations: 7.25 kB / 1.148 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002882/1.008, allocations: 2.122 MB / 1.15 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008236/1.009, allocations: 374.4 kB / 1.15 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/1.009, allocations: 24.66 kB / 1.15 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/1.01, allocations: 126.8 kB / 1.151 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/1.01, allocations: 82.7 kB / 1.151 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.315e-05/1.01, allocations: 38.73 kB / 1.151 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001/1.011, allocations: 0.8188 MB / 1.151 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/1.011, allocations: 0 / 1.151 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001843/1.013, allocations: 0.8402 MB / 1.152 GB, free: 4.805 MB / 0.7136 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 (110): * Single equations (assignments): 108 * 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.004554/1.018, allocations: 3.827 MB / 1.156 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002576/1.02, allocations: 1.597 MB / 1.158 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/1.02, allocations: 5.172 kB / 1.158 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00081/1.021, allocations: 0.5611 MB / 1.158 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003837/1.025, allocations: 0.8148 MB / 1.159 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01609/1.041, allocations: 11.07 MB / 1.17 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/1.042, allocations: 1.404 MB / 1.171 GB, free: 8.637 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002015/1.044, allocations: 455.6 kB / 1.172 GB, free: 8.188 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007464/1.045, allocations: 0.6249 MB / 1.172 GB, free: 8.031 MB / 0.7292 GB Notification: Performance of SimCode: time 8.71e-07/1.045, allocations: 4 kB / 1.172 GB, free: 8.027 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07466/1.12, allocations: 41.82 MB / 1.213 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002972/1.12, allocations: 237.6 kB / 1.213 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.1/4.22, allocations: 0 / 1.213 GB, free: 14.39 MB / 0.7761 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)