Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009644/0.009644, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.919/2.919, allocations: 473.4 MB / 0.7469 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003798/0.0003798, allocations: 12.06 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3991/0.3995, allocations: 162.2 MB / 1.074 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 1.128/1.528, allocations: 230.5 MB / 1.299 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01663/1.544, allocations: 10.41 MB / 1.309 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003319/1.548, allocations: 54.25 kB / 1.309 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003744/1.552, allocations: 1.024 MB / 1.31 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01122/1.563, allocations: 3.439 MB / 1.314 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006741/1.57, allocations: 1.892 MB / 1.316 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01023/1.58, allocations: 6.273 MB / 1.322 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003148/1.583, allocations: 1.294 MB / 1.323 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004242/1.587, allocations: 1.335 MB / 1.324 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004485/1.592, allocations: 1.475 MB / 1.326 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004739/1.592, allocations: 76.12 kB / 1.326 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009407/1.602, allocations: 3.721 MB / 1.329 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001564/1.603, allocations: 0.5871 MB / 1.33 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002537/1.606, allocations: 0.9539 MB / 1.331 GB, free: 21.32 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.009842/1.616, allocations: 3.896 MB / 1.335 GB, free: 20.88 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/1.616, allocations: 0 / 1.335 GB, free: 20.88 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.954e-06/1.616, allocations: 0 / 1.335 GB, free: 20.88 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.522e-05/1.616, allocations: 0 / 1.335 GB, free: 20.88 MB / 1.014 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.005596/1.621, allocations: 2.129 MB / 1.337 GB, free: 19.76 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/1.622, allocations: 9.375 kB / 1.337 GB, free: 19.76 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003395/1.625, allocations: 0.5248 MB / 1.337 GB, free: 19.65 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002426/1.627, allocations: 1.225 MB / 1.339 GB, free: 19.23 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.883e-05/1.627, allocations: 103.5 kB / 1.339 GB, free: 19.22 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001986/1.628, allocations: 137 kB / 1.339 GB, free: 19.21 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003014/1.631, allocations: 1.677 MB / 1.34 GB, free: 19.01 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.902e-05/1.631, allocations: 4.906 kB / 1.34 GB, free: 19.01 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/1.631, allocations: 54.25 kB / 1.341 GB, free: 19.01 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.737e-05/1.631, allocations: 74.94 kB / 1.341 GB, free: 19 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002456/1.633, allocations: 1.456 MB / 1.342 GB, free: 18.98 MB / 1.014 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.009346/1.643, allocations: 6.98 MB / 1.349 GB, free: 15.57 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/1.645, allocations: 1.199 MB / 1.35 GB, free: 15.34 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008407/1.645, allocations: 0.6093 MB / 1.351 GB, free: 15.11 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008919/1.646, allocations: 0.8655 MB / 1.351 GB, free: 14.16 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009602/1.647, allocations: 0.619 MB / 1.352 GB, free: 13.91 MB / 1.014 GB Notification: Performance of pre-optimization done (n=110): time 3.577e-06/1.647, allocations: 0 / 1.352 GB, free: 13.91 MB / 1.014 GB Notification: Performance of matching and sorting (n=110): time 0.002901/1.65, allocations: 1.59 MB / 1.354 GB, free: 13.28 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.699e-05/1.65, allocations: 86.67 kB / 1.354 GB, free: 13.19 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/1.652, allocations: 1.195 MB / 1.355 GB, free: 12.73 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.08e-05/1.652, allocations: 49.77 kB / 1.355 GB, free: 12.68 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005219/1.652, allocations: 0.682 MB / 1.356 GB, free: 12.15 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000316/1.653, allocations: 379.5 kB / 1.356 GB, free: 11.86 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/1.653, allocations: 85.53 kB / 1.356 GB, free: 11.81 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001535/1.653, allocations: 347.6 kB / 1.356 GB, free: 11.48 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006658/1.654, allocations: 425.3 kB / 1.357 GB, free: 11.27 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007374/1.654, allocations: 0.5614 MB / 1.357 GB, free: 10.92 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001564/1.656, allocations: 1.021 MB / 1.358 GB, free: 10.34 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/1.656, allocations: 5.906 kB / 1.358 GB, free: 10.34 MB / 1.014 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002075/1.658, allocations: 1.222 MB / 1.359 GB, free: 9.742 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001276/1.658, allocations: 171.3 kB / 1.36 GB, free: 9.551 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/1.658, allocations: 1.906 kB / 1.36 GB, free: 9.551 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/1.658, allocations: 6.094 kB / 1.36 GB, free: 9.551 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009192/1.659, allocations: 223.6 kB / 1.36 GB, free: 9.512 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/1.659, allocations: 10.53 kB / 1.36 GB, free: 9.508 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/1.661, allocations: 183.1 kB / 1.36 GB, free: 9.406 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.214e-05/1.661, allocations: 34.06 kB / 1.36 GB, free: 9.398 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.254e-06/1.661, allocations: 6.219 kB / 1.36 GB, free: 9.398 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001642/1.662, allocations: 1.042 MB / 1.361 GB, free: 8.898 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/1.662, allocations: 6.609 kB / 1.361 GB, free: 8.895 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.946e-06/1.662, allocations: 12.33 kB / 1.361 GB, free: 8.891 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000801/1.663, allocations: 206.2 kB / 1.361 GB, free: 8.863 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/1.663, allocations: 16.33 kB / 1.361 GB, free: 8.855 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/1.665, allocations: 178.4 kB / 1.362 GB, free: 8.754 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.527e-05/1.665, allocations: 38.27 kB / 1.362 GB, free: 8.742 MB / 1.014 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 ($PRE.mRoo_flow.nextTimeEvent,$whenCondition1,mRoo_flow.nextTimeEventScaled,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009562/1.666, allocations: 497.2 kB / 1.362 GB, free: 8.383 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002084/1.666, allocations: 150.2 kB / 1.362 GB, free: 8.305 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002274/1.668, allocations: 1.251 MB / 1.363 GB, free: 7.605 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/1.668, allocations: 13.66 kB / 1.363 GB, free: 7.602 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/1.668, allocations: 0 / 1.363 GB, free: 7.602 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001684/1.67, allocations: 1.015 MB / 1.364 GB, free: 7.078 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005289/1.675, allocations: 3.173 MB / 1.367 GB, free: 4.945 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/1.675, allocations: 3.188 kB / 1.367 GB, free: 4.945 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/1.676, allocations: 232.9 kB / 1.368 GB, free: 4.906 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.31e-05/1.676, allocations: 6 kB / 1.368 GB, free: 4.906 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.332e-05/1.676, allocations: 32.3 kB / 1.368 GB, free: 4.887 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.179e-05/1.677, allocations: 7.5 kB / 1.368 GB, free: 4.887 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/1.677, allocations: 2.875 kB / 1.368 GB, free: 4.887 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003024/1.68, allocations: 1.924 MB / 1.37 GB, free: 3.793 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008102/1.68, allocations: 360.2 kB / 1.37 GB, free: 3.5 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000178/1.681, allocations: 28.64 kB / 1.37 GB, free: 3.48 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/1.682, allocations: 121.8 kB / 1.37 GB, free: 3.418 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/1.682, allocations: 79.12 kB / 1.37 GB, free: 3.379 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.952e-05/1.682, allocations: 38.02 kB / 1.37 GB, free: 3.367 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001125/1.683, allocations: 0.8217 MB / 1.371 GB, free: 2.922 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.11e-07/1.683, allocations: 3.469 kB / 1.371 GB, free: 2.922 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001892/1.685, allocations: 0.8357 MB / 1.372 GB, free: 2.746 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.medium.Xi[1],roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.medium.Xi[1],sha.vol.dynBal.U,sha.vol.dynBal.m) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001339/1.686, allocations: 0.574 MB / 1.372 GB, free: 2.484 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002672/1.689, allocations: 1.623 MB / 1.374 GB, free: 1.777 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/1.689, allocations: 0 / 1.374 GB, free: 1.777 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008934/1.69, allocations: 0.572 MB / 1.375 GB, free: 1.543 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004503/1.694, allocations: 0.8409 MB / 1.375 GB, free: 1.125 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00581/1.7, allocations: 4.141 MB / 1.379 GB, free: 14.25 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009595/1.701, allocations: 1.369 MB / 1.381 GB, free: 13.25 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002275/1.704, allocations: 455.5 kB / 1.381 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003998/1.704, allocations: 112.7 kB / 1.381 GB, free: 13.02 MB / 1.029 GB Notification: Performance of SimCode: time 1.002e-06/1.704, allocations: 0 / 1.381 GB, free: 13.02 MB / 1.029 GB Notification: Performance of Templates: time 0.05199/1.756, allocations: 28.52 MB / 1.409 GB, free: 5.453 MB / 1.045 GB make -j1 -f Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)