Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001471/0.001471, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 195.7 kB / 16.53 MB, free: 6.391 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.473/1.473, allocations: 222.9 MB / 240.2 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.075/3.075, allocations: 472.6 MB / 0.7451 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001263, allocations: 64.7 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3875/0.3887, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 1.071/1.46, allocations: 235.9 MB / 1.298 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02018/1.48, allocations: 10.43 MB / 1.309 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003821/1.484, allocations: 60.28 kB / 1.309 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003473/1.487, allocations: 1.188 MB / 1.31 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01187/1.499, allocations: 3.661 MB / 1.313 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006301/1.506, allocations: 2.06 MB / 1.315 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007445/1.513, allocations: 4.443 MB / 1.32 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003673/1.517, allocations: 1.571 MB / 1.321 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004483/1.521, allocations: 1.592 MB / 1.323 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004146/1.525, allocations: 1.498 MB / 1.324 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009138/1.526, allocations: 183.6 kB / 1.325 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008757/1.535, allocations: 3.232 MB / 1.328 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001397/1.536, allocations: 0.7002 MB / 1.328 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0029/1.539, allocations: 1.06 MB / 1.329 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008988/1.548, allocations: 3.78 MB / 1.333 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/1.548, allocations: 2.75 kB / 1.333 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.283e-06/1.548, allocations: 0 / 1.333 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001232/1.549, allocations: 6.219 kB / 1.333 GB, free: 3.664 MB / 0.9981 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.007872/1.556, allocations: 2.487 MB / 1.336 GB, free: 18.5 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/1.556, allocations: 11.31 kB / 1.336 GB, free: 18.5 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003316/1.56, allocations: 0.5147 MB / 1.336 GB, free: 18.39 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001894/1.562, allocations: 1.238 MB / 1.337 GB, free: 17.96 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.754e-05/1.562, allocations: 101.8 kB / 1.337 GB, free: 17.96 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001798/1.562, allocations: 132.8 kB / 1.338 GB, free: 17.96 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002392/1.564, allocations: 1.672 MB / 1.339 GB, free: 17.75 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.051e-05/1.564, allocations: 5.719 kB / 1.339 GB, free: 17.75 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/1.565, allocations: 54.28 kB / 1.339 GB, free: 17.75 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-05/1.565, allocations: 69.81 kB / 1.339 GB, free: 17.75 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002145/1.567, allocations: 1.454 MB / 1.341 GB, free: 17.73 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.007031/1.574, allocations: 7.019 MB / 1.348 GB, free: 12.94 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/1.575, allocations: 1.195 MB / 1.349 GB, free: 12.32 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000812/1.576, allocations: 0.6162 MB / 1.349 GB, free: 12.09 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007752/1.577, allocations: 0.8584 MB / 1.35 GB, free: 11.14 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000906/1.578, allocations: 0.6086 MB / 1.351 GB, free: 10.89 MB / 1.014 GB Notification: Performance of pre-optimization done (n=110): time 3.016e-06/1.578, allocations: 4 kB / 1.351 GB, free: 10.89 MB / 1.014 GB Notification: Performance of matching and sorting (n=110): time 0.002714/1.581, allocations: 1.577 MB / 1.352 GB, free: 10.27 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/1.581, allocations: 90 kB / 1.352 GB, free: 10.18 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/1.582, allocations: 1.192 MB / 1.354 GB, free: 9.715 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.68e-05/1.582, allocations: 50.8 kB / 1.354 GB, free: 9.664 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004686/1.583, allocations: 0.6774 MB / 1.354 GB, free: 9.141 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000301/1.583, allocations: 381.9 kB / 1.355 GB, free: 8.848 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002622/1.583, allocations: 180.6 kB / 1.355 GB, free: 8.762 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001144/1.583, allocations: 342.8 kB / 1.355 GB, free: 8.441 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006627/1.584, allocations: 429.2 kB / 1.356 GB, free: 8.277 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007631/1.585, allocations: 0.5571 MB / 1.356 GB, free: 7.992 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/1.586, allocations: 1.013 MB / 1.357 GB, free: 7.492 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/1.586, allocations: 2.625 kB / 1.357 GB, free: 7.492 MB / 1.014 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001845/1.588, allocations: 1.221 MB / 1.358 GB, free: 6.984 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.588, allocations: 6 kB / 1.358 GB, free: 6.984 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/1.588, allocations: 10.12 kB / 1.358 GB, free: 6.98 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/1.588, allocations: 8.125 kB / 1.358 GB, free: 6.98 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008739/1.589, allocations: 213 kB / 1.358 GB, free: 6.973 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/1.589, allocations: 8.406 kB / 1.358 GB, free: 6.973 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/1.59, allocations: 98.84 kB / 1.359 GB, free: 6.906 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.443e-05/1.59, allocations: 34.44 kB / 1.359 GB, free: 6.898 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001065/1.591, allocations: 0.7379 MB / 1.359 GB, free: 6.547 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007197/1.592, allocations: 0.5462 MB / 1.36 GB, free: 6.27 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001409/1.593, allocations: 0.9962 MB / 1.361 GB, free: 5.766 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.985e-06/1.593, allocations: 6.438 kB / 1.361 GB, free: 5.762 MB / 1.014 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.001732/1.595, allocations: 1.19 MB / 1.362 GB, free: 5.27 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/1.595, allocations: 14.56 kB / 1.362 GB, free: 5.266 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/1.595, allocations: 2.438 kB / 1.362 GB, free: 5.266 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.084e-06/1.595, allocations: 4.812 kB / 1.362 GB, free: 5.266 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008065/1.596, allocations: 215.7 kB / 1.362 GB, free: 5.254 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/1.596, allocations: 6.938 kB / 1.362 GB, free: 5.254 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/1.597, allocations: 74.28 kB / 1.362 GB, free: 5.203 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-05/1.597, allocations: 39.12 kB / 1.362 GB, free: 5.195 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.0002623/1.597, allocations: 238.4 kB / 1.363 GB, free: 4.98 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001977/1.598, allocations: 154.9 kB / 1.363 GB, free: 4.902 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002012/1.6, allocations: 1.235 MB / 1.364 GB, free: 4.371 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/1.6, allocations: 10.78 kB / 1.364 GB, free: 4.371 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.6, allocations: 5.125 kB / 1.364 GB, free: 4.367 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001509/1.601, allocations: 1.012 MB / 1.365 GB, free: 3.945 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004557/1.606, allocations: 3.17 MB / 1.368 GB, free: 2.379 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/1.606, allocations: 9.641 kB / 1.368 GB, free: 2.375 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/1.607, allocations: 223.6 kB / 1.368 GB, free: 2.367 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-06/1.607, allocations: 9.297 kB / 1.368 GB, free: 2.367 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.899e-05/1.607, allocations: 27.94 kB / 1.368 GB, free: 2.352 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.005e-05/1.607, allocations: 14.66 kB / 1.368 GB, free: 2.348 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.607, allocations: 1.969 kB / 1.368 GB, free: 2.348 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002726/1.61, allocations: 1.913 MB / 1.37 GB, free: 1.316 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005925/1.61, allocations: 355.9 kB / 1.371 GB, free: 1.027 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001836/1.61, allocations: 27.28 kB / 1.371 GB, free: 1.008 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008645/1.611, allocations: 44.56 kB / 1.371 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/1.612, allocations: 73.56 kB / 1.371 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.518e-05/1.612, allocations: 39.27 kB / 1.371 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001029/1.613, allocations: 0.826 MB / 1.371 GB, free: 496 kB / 1.014 GB Notification: Performance of sort global known variables: time 3.2e-07/1.613, allocations: 0 / 1.371 GB, free: 496 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.002023/1.615, allocations: 0.8307 MB / 1.372 GB, free: 324 kB / 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.001345/1.616, allocations: 0.5902 MB / 1.373 GB, free: 44 kB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003531/1.62, allocations: 1.859 MB / 1.375 GB, free: 15.31 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.824e-06/1.62, allocations: 3.812 kB / 1.375 GB, free: 15.31 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008669/1.62, allocations: 0.5755 MB / 1.375 GB, free: 15.07 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003812/1.624, allocations: 0.8703 MB / 1.376 GB, free: 14.61 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00507/1.629, allocations: 3.353 MB / 1.379 GB, free: 12.52 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008078/1.63, allocations: 1.368 MB / 1.381 GB, free: 11.51 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001716/1.632, allocations: 457.2 kB / 1.381 GB, free: 11.3 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003229/1.632, allocations: 112.5 kB / 1.381 GB, free: 11.29 MB / 1.029 GB Notification: Performance of SimCode: time 3.61e-07/1.632, allocations: 0 / 1.381 GB, free: 11.29 MB / 1.029 GB Notification: Performance of Templates: time 0.04636/1.679, allocations: 29.96 MB / 1.411 GB, free: 124 kB / 1.045 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)