Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.668/1.668, allocations: 292.3 MB / 308.1 MB, free: 4.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001245/0.001245, allocations: 190.4 kB / 376.9 MB, free: 1.809 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.53/1.53, allocations: 205.1 MB / 0.6354 GB, free: 9.805 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009976/0.0009976, allocations: 102.4 kB / 0.748 GB, free: 61.02 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001047/0.001047, allocations: 59.91 kB / 0.8703 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2547, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.7494/1.004, allocations: 233.6 MB / 1.21 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01585/1.02, allocations: 10.31 MB / 1.22 GB, free: 5.586 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004388/1.025, allocations: 51.22 kB / 1.22 GB, free: 5.566 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.003471/1.028, allocations: 1.038 MB / 1.222 GB, free: 5.039 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.009981/1.038, allocations: 3.393 MB / 1.225 GB, free: 3.234 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.005674/1.044, allocations: 1.889 MB / 1.227 GB, free: 2.195 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.009827/1.054, allocations: 6.275 MB / 1.233 GB, free: 20 kB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003501/1.057, allocations: 1.335 MB / 1.234 GB, free: 15.46 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004009/1.061, allocations: 1.391 MB / 1.235 GB, free: 14.91 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004548/1.066, allocations: 1.542 MB / 1.237 GB, free: 14.31 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0006315/1.066, allocations: 100.1 kB / 1.237 GB, free: 14.31 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009792/1.076, allocations: 3.739 MB / 1.241 GB, free: 12.88 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.00174/1.078, allocations: 0.6115 MB / 1.241 GB, free: 12.65 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.00255/1.081, allocations: 0.9758 MB / 1.242 GB, free: 12.1 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.009429/1.09, allocations: 3.945 MB / 1.246 GB, free: 10.72 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.09, allocations: 0 / 1.246 GB, free: 10.72 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.383e-06/1.09, allocations: 1.125 kB / 1.246 GB, free: 10.72 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.742e-05/1.09, allocations: 0 / 1.246 GB, free: 10.72 MB / 0.823 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.007343/1.098, allocations: 2.49 MB / 1.249 GB, free: 9.227 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/1.098, allocations: 8.562 kB / 1.249 GB, free: 9.227 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003618/1.101, allocations: 0.5262 MB / 1.249 GB, free: 9.078 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002654/1.104, allocations: 1.208 MB / 1.25 GB, free: 8.34 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/1.104, allocations: 106.2 kB / 1.25 GB, free: 8.289 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002518/1.104, allocations: 143.3 kB / 1.25 GB, free: 8.238 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003149/1.107, allocations: 1.667 MB / 1.252 GB, free: 7.504 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.703e-05/1.107, allocations: 9.031 kB / 1.252 GB, free: 7.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001373/1.108, allocations: 57.53 kB / 1.252 GB, free: 7.457 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.129e-05/1.108, allocations: 65.33 kB / 1.252 GB, free: 7.449 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002582/1.11, allocations: 1.445 MB / 1.254 GB, free: 6.934 MB / 0.823 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.009638/1.12, allocations: 6.94 MB / 1.26 GB, free: 2.008 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001804/1.122, allocations: 1.189 MB / 1.262 GB, free: 1.379 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009008/1.123, allocations: 0.6125 MB / 1.262 GB, free: 1.145 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009189/1.124, allocations: 0.8657 MB / 1.263 GB, free: 196 kB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001076/1.125, allocations: 0.6113 MB / 1.264 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=110): time 3.897e-06/1.125, allocations: 0 / 1.264 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=110): time 0.003163/1.128, allocations: 1.574 MB / 1.265 GB, free: 15.31 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.758e-05/1.128, allocations: 94.23 kB / 1.265 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001707/1.13, allocations: 1.183 MB / 1.266 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.00012/1.13, allocations: 46.95 kB / 1.266 GB, free: 14.72 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005928/1.13, allocations: 0.681 MB / 1.267 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004048/1.131, allocations: 389.9 kB / 1.267 GB, free: 13.89 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003026/1.131, allocations: 173.6 kB / 1.268 GB, free: 13.8 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001626/1.131, allocations: 344.9 kB / 1.268 GB, free: 13.48 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000718/1.132, allocations: 427.5 kB / 1.268 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008675/1.133, allocations: 0.5686 MB / 1.269 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001585/1.134, allocations: 1.017 MB / 1.27 GB, free: 12.12 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/1.134, allocations: 4 kB / 1.27 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002299/1.137, allocations: 1.21 MB / 1.271 GB, free: 10.89 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/1.137, allocations: 8 kB / 1.271 GB, free: 10.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/1.137, allocations: 320 / 1.271 GB, free: 10.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/1.137, allocations: 15.94 kB / 1.271 GB, free: 10.87 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009818/1.138, allocations: 220.6 kB / 1.271 GB, free: 10.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.797e-05/1.138, allocations: 12.8 kB / 1.271 GB, free: 10.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001681/1.14, allocations: 166.9 kB / 1.272 GB, free: 10.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.377e-05/1.14, allocations: 32 kB / 1.272 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001332/1.141, allocations: 0.7401 MB / 1.272 GB, free: 9.703 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007913/1.142, allocations: 0.5514 MB / 1.273 GB, free: 9.113 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001465/1.143, allocations: 0.9932 MB / 1.274 GB, free: 8.086 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.387e-06/1.143, allocations: 0 / 1.274 GB, free: 8.086 MB / 0.8386 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.002107/1.145, allocations: 1.191 MB / 1.275 GB, free: 6.887 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/1.145, allocations: 6.031 kB / 1.275 GB, free: 6.883 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/1.145, allocations: 4 kB / 1.275 GB, free: 6.879 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/1.145, allocations: 4.75 kB / 1.275 GB, free: 6.875 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008875/1.146, allocations: 215.7 kB / 1.275 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/1.146, allocations: 13.19 kB / 1.275 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/1.148, allocations: 151.1 kB / 1.275 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.707e-05/1.148, allocations: 32 kB / 1.275 GB, free: 6.473 MB / 0.8386 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.000341/1.148, allocations: 241 kB / 1.276 GB, free: 6.23 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002189/1.149, allocations: 150.2 kB / 1.276 GB, free: 6.082 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002312/1.151, allocations: 1.237 MB / 1.277 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/1.151, allocations: 11.94 kB / 1.277 GB, free: 4.828 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/1.151, allocations: 4 kB / 1.277 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001641/1.153, allocations: 1.003 MB / 1.278 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005548/1.158, allocations: 3.155 MB / 1.281 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/1.158, allocations: 4 kB / 1.281 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/1.159, allocations: 240.8 kB / 1.281 GB, free: 300 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.117e-05/1.159, allocations: 4 kB / 1.281 GB, free: 296 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-05/1.159, allocations: 31.98 kB / 1.281 GB, free: 264 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.033e-05/1.159, allocations: 8 kB / 1.281 GB, free: 256 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/1.159, allocations: 0 / 1.281 GB, free: 256 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02118/1.181, allocations: 10.69 MB / 1.292 GB, free: 5.312 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007021/1.181, allocations: 355 kB / 1.292 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000177/1.182, allocations: 24 kB / 1.292 GB, free: 4.922 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/1.183, allocations: 111.8 kB / 1.292 GB, free: 4.812 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/1.183, allocations: 76.88 kB / 1.292 GB, free: 4.738 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-05/1.183, allocations: 39.98 kB / 1.292 GB, free: 4.699 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001141/1.184, allocations: 0.8216 MB / 1.293 GB, free: 3.875 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.6e-07/1.184, allocations: 4 kB / 1.293 GB, free: 3.871 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004645/1.189, allocations: 1.357 MB / 1.294 GB, free: 2.512 MB / 0.8542 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 (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.001449/1.19, allocations: 0.6049 MB / 1.295 GB, free: 2.039 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002921/1.193, allocations: 1.612 MB / 1.297 GB, free: 436 kB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/1.193, allocations: 3.938 kB / 1.297 GB, free: 432 kB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0009099/1.194, allocations: 0.5716 MB / 1.297 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004305/1.198, allocations: 0.8317 MB / 1.298 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006853/1.205, allocations: 4.568 MB / 1.302 GB, free: 10.42 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001139/1.206, allocations: 1.409 MB / 1.304 GB, free: 8.977 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002203/1.209, allocations: 484.9 kB / 1.304 GB, free: 8.512 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004546/1.209, allocations: 119.4 kB / 1.304 GB, free: 8.395 MB / 0.8698 GB Notification: Performance of SimCode: time 6.91e-07/1.209, allocations: 0 / 1.304 GB, free: 8.395 MB / 0.8698 GB Notification: Performance of Templates: time 0.05688/1.266, allocations: 33.15 MB / 1.337 GB, free: 7.492 MB / 0.9011 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)