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: translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.385/1.385, allocations: 252 MB / 267.6 MB, free: 10.96 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.0009573/0.0009572, allocations: 184.6 kB / 327.3 MB, free: 2.223 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.768/1.768, allocations: 205.4 MB / 0.5783 GB, free: 20.26 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.0008125/0.0008125, allocations: 89.58 kB / 0.6829 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003569/0.0003567, allocations: 12.88 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2155, allocations: 106.3 MB / 0.9008 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.6966/0.9121, allocations: 215.4 MB / 1.111 GB, free: 3.609 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01377/0.9259, allocations: 9.727 MB / 1.121 GB, free: 3.367 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002839/0.9288, allocations: 53.84 kB / 1.121 GB, free: 3.363 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002596/0.9314, allocations: 0.8014 MB / 1.121 GB, free: 3.352 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007735/0.9392, allocations: 2.646 MB / 1.124 GB, free: 3.219 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005772/0.945, allocations: 1.479 MB / 1.125 GB, free: 3.184 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.007197/0.9522, allocations: 5.386 MB / 1.131 GB, free: 3.176 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002061/0.9543, allocations: 1.198 MB / 1.132 GB, free: 3 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00306/0.9574, allocations: 1.394 MB / 1.133 GB, free: 2.992 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002706/0.9601, allocations: 1.421 MB / 1.135 GB, free: 2.988 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003154/0.9604, allocations: 78.38 kB / 1.135 GB, free: 2.988 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005044/0.9655, allocations: 1.61 MB / 1.136 GB, free: 2.953 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0008574/0.9664, allocations: 0.5974 MB / 1.137 GB, free: 2.953 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001112/0.9675, allocations: 410.9 kB / 1.137 GB, free: 18.92 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004347/0.9718, allocations: 2.614 MB / 1.14 GB, free: 18.31 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.9719, allocations: 4.531 kB / 1.14 GB, free: 18.3 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.475e-06/0.9719, allocations: 0 / 1.14 GB, free: 18.3 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.068e-05/0.9719, allocations: 0.5312 kB / 1.14 GB, free: 18.3 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.005699/0.9776, allocations: 2.15 MB / 1.142 GB, free: 16.93 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.9777, allocations: 13.47 kB / 1.142 GB, free: 16.92 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003262/0.981, allocations: 0.5298 MB / 1.142 GB, free: 16.71 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002026/0.983, allocations: 1.176 MB / 1.144 GB, free: 16.13 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.711e-05/0.9831, allocations: 100.1 kB / 1.144 GB, free: 16.13 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001869/0.9833, allocations: 146.1 kB / 1.144 GB, free: 16.12 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002596/0.9859, allocations: 1.678 MB / 1.145 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.498e-05/0.986, allocations: 5.656 kB / 1.146 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/0.9861, allocations: 58.14 kB / 1.146 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.945e-05/0.9862, allocations: 78.72 kB / 1.146 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002286/0.9885, allocations: 1.444 MB / 1.147 GB, free: 15.36 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.008444/0.9969, allocations: 6.978 MB / 1.154 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.9986, allocations: 1.173 MB / 1.155 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008925/0.9995, allocations: 0.6057 MB / 1.156 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009247/1, allocations: 0.8673 MB / 1.156 GB, free: 9.586 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001029/1.001, allocations: 0.6089 MB / 1.157 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=110): time 4.138e-06/1.002, allocations: 2.938 kB / 1.157 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=110): time 0.002985/1.005, allocations: 1.562 MB / 1.159 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/1.005, allocations: 89.64 kB / 1.159 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/1.006, allocations: 1.191 MB / 1.16 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001012/1.006, allocations: 48.89 kB / 1.16 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005452/1.007, allocations: 0.6804 MB / 1.161 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003777/1.007, allocations: 389.9 kB / 1.161 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-05/1.007, allocations: 17.53 kB / 1.161 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001427/1.007, allocations: 353.8 kB / 1.161 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006612/1.008, allocations: 416.8 kB / 1.162 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007729/1.009, allocations: 0.5635 MB / 1.162 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007526/1.009, allocations: 495.9 kB / 1.163 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.009, allocations: 0 / 1.163 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001899/1.011, allocations: 1.203 MB / 1.164 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001149/1.012, allocations: 163.7 kB / 1.164 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/1.012, allocations: 7.141 kB / 1.164 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.713e-05/1.012, allocations: 8.031 kB / 1.164 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009572/1.013, allocations: 214.3 kB / 1.164 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/1.013, allocations: 9 kB / 1.164 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/1.014, allocations: 182.6 kB / 1.164 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.232e-05/1.014, allocations: 39.58 kB / 1.164 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.276e-06/1.014, allocations: 2.844 kB / 1.164 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001599/1.016, allocations: 1.019 MB / 1.165 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/1.016, allocations: 9.344 kB / 1.165 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/1.016, allocations: 10.58 kB / 1.165 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008422/1.017, allocations: 203.8 kB / 1.166 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/1.017, allocations: 12.39 kB / 1.166 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/1.018, allocations: 165.7 kB / 1.166 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.117e-05/1.018, allocations: 38.86 kB / 1.166 GB, free: 6.672 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.0009331/1.019, allocations: 493.1 kB / 1.166 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002323/1.02, allocations: 152.7 kB / 1.166 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002021/1.022, allocations: 1.238 MB / 1.168 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/1.022, allocations: 10.84 kB / 1.168 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/1.022, allocations: 64 / 1.168 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001481/1.023, allocations: 1.003 MB / 1.169 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004969/1.028, allocations: 3.166 MB / 1.172 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.338e-06/1.028, allocations: 7.453 kB / 1.172 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/1.029, allocations: 234 kB / 1.172 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/1.029, allocations: 6.219 kB / 1.172 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.307e-05/1.029, allocations: 29.33 kB / 1.172 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.009e-05/1.029, allocations: 7.219 kB / 1.172 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/1.029, allocations: 9.484 kB / 1.172 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002929/1.032, allocations: 1.994 MB / 1.174 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007886/1.033, allocations: 371.7 kB / 1.174 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001768/1.033, allocations: 22.5 kB / 1.174 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/1.034, allocations: 129.7 kB / 1.174 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/1.035, allocations: 79 kB / 1.175 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.962e-05/1.035, allocations: 35.23 kB / 1.175 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00109/1.036, allocations: 0.8221 MB / 1.175 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.71e-07/1.036, allocations: 1.859 kB / 1.175 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002082/1.038, allocations: 0.8454 MB / 1.176 GB, free: 1.949 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.001257/1.039, allocations: 0.5804 MB / 1.177 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002638/1.042, allocations: 1.6 MB / 1.178 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/1.042, allocations: 4 kB / 1.178 GB, free: 500 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008964/1.043, allocations: 0.5592 MB / 1.179 GB, free: 128 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004823/1.048, allocations: 0.8448 MB / 1.18 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007431/1.055, allocations: 4.117 MB / 1.184 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001383/1.056, allocations: 1.372 MB / 1.185 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005787/1.057, allocations: 120.7 kB / 1.185 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of SimCode: time 1.142e-06/1.057, allocations: 0 / 1.185 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of Templates: time 0.04089/1.098, allocations: 25.26 MB / 1.21 GB, free: 1.328 MB / 0.7449 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)