Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.037/2.037, allocations: 391.2 MB / 407 MB, free: 10.8 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 188.6 kB / 499.1 MB, free: 4.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 0.7948 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009437/0.0009436, allocations: 110.9 kB / 0.9329 GB, free: 7.043 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001024/0.001024, allocations: 51.72 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2647, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.143/0.4077, allocations: 165.2 MB / 1.379 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.0127/0.4204, allocations: 8.946 MB / 1.388 GB, free: 6.387 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001708/0.4222, allocations: 43.69 kB / 1.388 GB, free: 6.344 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.001667/0.4239, allocations: 0.5597 MB / 1.389 GB, free: 5.781 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.00373/0.4277, allocations: 1.388 MB / 1.39 GB, free: 4.387 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.002799/0.4305, allocations: 1.069 MB / 1.391 GB, free: 3.324 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.003964/0.4345, allocations: 3.669 MB / 1.395 GB, free: 15.64 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001159/0.4356, allocations: 0.8308 MB / 1.396 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001498/0.4371, allocations: 0.9101 MB / 1.396 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001153/0.4383, allocations: 0.9998 MB / 1.397 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0001124/0.4384, allocations: 56 kB / 1.397 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002165/0.4406, allocations: 1.021 MB / 1.398 GB, free: 11.8 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0002395/0.4409, allocations: 242.9 kB / 1.399 GB, free: 11.56 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0005684/0.4414, allocations: 0.5711 MB / 1.399 GB, free: 10.99 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001972/0.4434, allocations: 1.678 MB / 1.401 GB, free: 9.305 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.4434, allocations: 0 / 1.401 GB, free: 9.305 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.002e-06/0.4434, allocations: 0 / 1.401 GB, free: 9.305 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.24e-05/0.4435, allocations: 0 / 1.401 GB, free: 9.305 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002576/0.446, allocations: 1.571 MB / 1.402 GB, free: 7.68 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.4461, allocations: 15.97 kB / 1.402 GB, free: 7.664 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002837/0.4464, allocations: 143.3 kB / 1.403 GB, free: 7.523 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.4477, allocations: 0.8558 MB / 1.403 GB, free: 6.625 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.956e-05/0.4478, allocations: 62 kB / 1.403 GB, free: 6.562 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.4479, allocations: 76 kB / 1.404 GB, free: 6.488 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/0.4492, allocations: 0.8693 MB / 1.404 GB, free: 5.574 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.4492, allocations: 4 kB / 1.404 GB, free: 5.57 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.245e-05/0.4493, allocations: 36 kB / 1.404 GB, free: 5.535 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/0.4493, allocations: 16 kB / 1.404 GB, free: 5.52 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.4504, allocations: 0.6324 MB / 1.405 GB, free: 4.883 MB / 0.9011 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.004078/0.4545, allocations: 3.958 MB / 1.409 GB, free: 0.6719 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.4555, allocations: 0.5654 MB / 1.409 GB, free: 100 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004563/0.456, allocations: 295.1 kB / 1.41 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008939/0.4569, allocations: 1.239 MB / 1.411 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005564/0.4575, allocations: 327 kB / 1.411 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=63): time 3.216e-06/0.4575, allocations: 0 / 1.411 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of matching and sorting (n=63): time 0.002299/0.4598, allocations: 1.138 MB / 1.412 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.4599, allocations: 81.67 kB / 1.412 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009299/0.4608, allocations: 0.8689 MB / 1.413 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 5.014e-05/0.4609, allocations: 37.7 kB / 1.413 GB, free: 11.74 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003245/0.4612, allocations: 460.2 kB / 1.414 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.4614, allocations: 220.8 kB / 1.414 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/0.4615, allocations: 118.2 kB / 1.414 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.4617, allocations: 334 kB / 1.414 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003694/0.462, allocations: 211.4 kB / 1.415 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000445/0.4625, allocations: 316.4 kB / 1.415 GB, free: 10.06 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008091/0.4633, allocations: 0.5269 MB / 1.415 GB, free: 9.504 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.4633, allocations: 4 kB / 1.415 GB, free: 9.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001169/0.4645, allocations: 0.7133 MB / 1.416 GB, free: 8.773 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.4645, allocations: 4 kB / 1.416 GB, free: 8.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.4645, allocations: 4 kB / 1.416 GB, free: 8.766 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005181/0.4651, allocations: 104.7 kB / 1.416 GB, free: 8.66 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004191/0.4655, allocations: 120 kB / 1.416 GB, free: 8.543 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005324/0.466, allocations: 0.6616 MB / 1.417 GB, free: 7.855 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005816/0.4666, allocations: 91.39 kB / 1.417 GB, free: 7.766 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.273e-05/0.4667, allocations: 27.94 kB / 1.417 GB, free: 7.738 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005857/0.4673, allocations: 393.3 kB / 1.418 GB, free: 7.352 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004093/0.4677, allocations: 312.4 kB / 1.418 GB, free: 7.012 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007313/0.4685, allocations: 0.5074 MB / 1.418 GB, free: 6.477 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.424e-06/0.4685, allocations: 0 / 1.418 GB, free: 6.477 MB / 0.9167 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.001099/0.4696, allocations: 0.69 MB / 1.419 GB, free: 5.773 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.4696, allocations: 9.25 kB / 1.419 GB, free: 5.766 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.4696, allocations: 0 / 1.419 GB, free: 5.766 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003996/0.47, allocations: 108.8 kB / 1.419 GB, free: 5.656 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003859/0.4704, allocations: 111.8 kB / 1.419 GB, free: 5.547 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004958/0.4709, allocations: 0.6656 MB / 1.42 GB, free: 4.855 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005608/0.4715, allocations: 75.61 kB / 1.42 GB, free: 4.781 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.425e-05/0.4716, allocations: 27.98 kB / 1.42 GB, free: 4.754 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001999/0.4718, allocations: 219.5 kB / 1.42 GB, free: 4.535 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.4719, allocations: 98.78 kB / 1.42 GB, free: 4.438 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001675/0.4736, allocations: 0.9485 MB / 1.421 GB, free: 3.477 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-05/0.4736, allocations: 20.08 kB / 1.421 GB, free: 3.457 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.4736, allocations: 0 / 1.421 GB, free: 3.457 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001164/0.4748, allocations: 0.8582 MB / 1.422 GB, free: 2.543 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00278/0.4776, allocations: 1.845 MB / 1.424 GB, free: 0.6289 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.4776, allocations: 0 / 1.424 GB, free: 0.6289 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004022/0.478, allocations: 107.8 kB / 1.424 GB, free: 0.5234 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005975/0.4786, allocations: 161.6 kB / 1.424 GB, free: 368 kB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-05/0.4787, allocations: 19.98 kB / 1.424 GB, free: 348 kB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4756/0.9543, allocations: 1.239 MB / 1.425 GB, free: 204.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.9544, allocations: 0 / 1.425 GB, free: 204.7 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01564/0.97, allocations: 10.4 MB / 1.435 GB, free: 198.3 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003298/0.9704, allocations: 252 kB / 1.436 GB, free: 198.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.409e-05/0.9705, allocations: 14.09 kB / 1.436 GB, free: 198.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000485/0.971, allocations: 62.86 kB / 1.436 GB, free: 198.1 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.9711, allocations: 50.44 kB / 1.436 GB, free: 198.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.158e-05/0.9712, allocations: 25.33 kB / 1.436 GB, free: 198.1 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0007455/0.9719, allocations: 0.6116 MB / 1.436 GB, free: 197.9 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9719, allocations: 0 / 1.436 GB, free: 197.9 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002889/0.9748, allocations: 0.9224 MB / 1.437 GB, free: 197.7 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc) * 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 (62): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,9), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00151/0.9763, allocations: 0.7367 MB / 1.438 GB, free: 197.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00184/0.9782, allocations: 0.9251 MB / 1.439 GB, free: 197.3 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.9782, allocations: 3.156 kB / 1.439 GB, free: 197.3 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007099/0.9789, allocations: 382.7 kB / 1.439 GB, free: 197.1 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001974/0.9809, allocations: 436.3 kB / 1.44 GB, free: 197 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003673/0.9846, allocations: 3.172 MB / 1.443 GB, free: 195 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005656/0.9852, allocations: 1.096 MB / 1.444 GB, free: 194.3 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0008553/0.986, allocations: 237.8 kB / 1.444 GB, free: 194.2 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002321/0.9863, allocations: 90.28 kB / 1.444 GB, free: 194.2 MB / 0.9167 GB Notification: Performance of SimCode: time 5.71e-07/0.9863, allocations: 0 / 1.444 GB, free: 194.2 MB / 0.9167 GB Notification: Performance of Templates: time 0.03413/1.02, allocations: 23.12 MB / 1.467 GB, free: 180.8 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)