Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 182.3 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7441/0.7441, allocations: 133.3 MB / 150.1 MB, free: 11.19 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 404.7 MB, free: 6.105 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009943/0.0009943, allocations: 115.4 kB / 485.9 MB, free: 7.23 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009898/0.0009898, allocations: 59.92 kB / 0.5636 GB, free: 69.95 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1142, allocations: 80.43 MB / 0.6421 GB, free: 5.453 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.4666/0.5808, allocations: 233.6 MB / 0.8703 GB, free: 7.355 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01503/0.5959, allocations: 10.51 MB / 0.8806 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002144/0.5981, allocations: 55.62 kB / 0.8806 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002637/0.6008, allocations: 1.022 MB / 0.8816 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.008129/0.6089, allocations: 3.44 MB / 0.885 GB, free: 8.285 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004966/0.6139, allocations: 1.877 MB / 0.8868 GB, free: 6.418 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.006683/0.6206, allocations: 6.303 MB / 0.893 GB, free: 96 kB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002262/0.6229, allocations: 1.343 MB / 0.8943 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002891/0.6258, allocations: 1.397 MB / 0.8956 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003263/0.6291, allocations: 1.541 MB / 0.8971 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004515/0.6296, allocations: 96 kB / 0.8972 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006699/0.6363, allocations: 3.74 MB / 0.9009 GB, free: 7.934 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0009611/0.6373, allocations: 0.6191 MB / 0.9015 GB, free: 7.312 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001927/0.6392, allocations: 0.9639 MB / 0.9024 GB, free: 6.344 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.007278/0.6465, allocations: 3.949 MB / 0.9063 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.6466, allocations: 0 / 0.9063 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6466, allocations: 0 / 0.9063 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.826e-05/0.6466, allocations: 0 / 0.9063 GB, free: 2.383 MB / 0.6355 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.005925/0.6526, allocations: 2.49 MB / 0.9087 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.6526, allocations: 11.97 kB / 0.9087 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003386/0.656, allocations: 0.5244 MB / 0.9093 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002471/0.6585, allocations: 1.224 MB / 0.9104 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.179e-05/0.6586, allocations: 102.7 kB / 0.9105 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003003/0.6589, allocations: 143.9 kB / 0.9107 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003128/0.6621, allocations: 1.666 MB / 0.9123 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.148e-05/0.6621, allocations: 7.875 kB / 0.9123 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001446/0.6623, allocations: 60 kB / 0.9124 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.693e-05/0.6624, allocations: 66.58 kB / 0.9124 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002689/0.6651, allocations: 1.439 MB / 0.9138 GB, free: 10.46 MB / 0.6511 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.008968/0.674, allocations: 6.953 MB / 0.9206 GB, free: 3.039 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001886/0.676, allocations: 1.18 MB / 0.9218 GB, free: 1.824 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009424/0.6769, allocations: 0.616 MB / 0.9224 GB, free: 1.207 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008068/0.6777, allocations: 0.8594 MB / 0.9232 GB, free: 164 kB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001036/0.6788, allocations: 0.6025 MB / 0.9238 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=110): time 3.727e-06/0.6788, allocations: 0 / 0.9238 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of matching and sorting (n=110): time 0.003073/0.6819, allocations: 1.58 MB / 0.9254 GB, free: 13.96 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/0.682, allocations: 90.11 kB / 0.9254 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001535/0.6835, allocations: 1.191 MB / 0.9266 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.6836, allocations: 45.7 kB / 0.9266 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005253/0.6841, allocations: 0.6775 MB / 0.9273 GB, free: 11.91 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003344/0.6845, allocations: 386.4 kB / 0.9277 GB, free: 11.53 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002976/0.6848, allocations: 178.6 kB / 0.9279 GB, free: 11.35 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.6849, allocations: 345.9 kB / 0.9282 GB, free: 11 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007333/0.6857, allocations: 424.6 kB / 0.9286 GB, free: 10.59 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008525/0.6865, allocations: 0.5652 MB / 0.9291 GB, free: 9.977 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001587/0.6881, allocations: 1.013 MB / 0.9301 GB, free: 8.93 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.6881, allocations: 0 / 0.9301 GB, free: 8.93 MB / 0.6667 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002067/0.6902, allocations: 1.214 MB / 0.9313 GB, free: 7.711 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.6902, allocations: 4 kB / 0.9313 GB, free: 7.707 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.6902, allocations: 12.23 kB / 0.9313 GB, free: 7.695 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.6903, allocations: 12 kB / 0.9313 GB, free: 7.684 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009843/0.6913, allocations: 211.7 kB / 0.9315 GB, free: 7.477 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.791e-05/0.6913, allocations: 8 kB / 0.9315 GB, free: 7.469 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/0.6927, allocations: 170.8 kB / 0.9317 GB, free: 7.301 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-05/0.6928, allocations: 36 kB / 0.9317 GB, free: 7.266 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001144/0.694, allocations: 0.7361 MB / 0.9325 GB, free: 6.523 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007912/0.6948, allocations: 0.5534 MB / 0.933 GB, free: 5.93 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001497/0.6963, allocations: 0.9854 MB / 0.934 GB, free: 4.914 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.128e-06/0.6963, allocations: 7.938 kB / 0.934 GB, free: 4.906 MB / 0.6667 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.001964/0.6983, allocations: 1.198 MB / 0.9351 GB, free: 3.695 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.6983, allocations: 9.875 kB / 0.9352 GB, free: 3.688 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.6983, allocations: 128 / 0.9352 GB, free: 3.688 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.6983, allocations: 15.94 kB / 0.9352 GB, free: 3.672 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009079/0.6992, allocations: 211.7 kB / 0.9354 GB, free: 3.465 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.516e-05/0.6993, allocations: 8.312 kB / 0.9354 GB, free: 3.457 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/0.7006, allocations: 143.1 kB / 0.9355 GB, free: 3.316 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.631e-05/0.7007, allocations: 44.92 kB / 0.9356 GB, free: 3.273 MB / 0.6667 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.0002761/0.701, allocations: 237.4 kB / 0.9358 GB, free: 3.035 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002855/0.7013, allocations: 146.2 kB / 0.9359 GB, free: 2.891 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002247/0.7035, allocations: 1.237 MB / 0.9371 GB, free: 1.645 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/0.7035, allocations: 11.98 kB / 0.9371 GB, free: 1.633 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.7035, allocations: 0 / 0.9371 GB, free: 1.633 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001624/0.7052, allocations: 1.003 MB / 0.9381 GB, free: 0.6211 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005013/0.7102, allocations: 3.155 MB / 0.9412 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.7102, allocations: 4 kB / 0.9412 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/0.7114, allocations: 240 kB / 0.9414 GB, free: 13.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-05/0.7114, allocations: 4 kB / 0.9414 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.812e-05/0.7115, allocations: 28 kB / 0.9415 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.03e-05/0.7115, allocations: 11.94 kB / 0.9415 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.7115, allocations: 3.938 kB / 0.9415 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02068/0.7322, allocations: 10.69 MB / 0.9519 GB, free: 2.105 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007133/0.7329, allocations: 358.9 kB / 0.9523 GB, free: 1.734 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000212/0.7331, allocations: 31.92 kB / 0.9523 GB, free: 1.703 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/0.7343, allocations: 111.8 kB / 0.9524 GB, free: 1.594 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/0.7345, allocations: 68.89 kB / 0.9525 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-05/0.7346, allocations: 39.98 kB / 0.9525 GB, free: 1.484 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001073/0.7356, allocations: 0.8258 MB / 0.9533 GB, free: 0.6562 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.2e-07/0.7356, allocations: 4 kB / 0.9533 GB, free: 0.6523 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.2467/0.9824, allocations: 1.354 MB / 0.9546 GB, free: 257.3 MB / 0.6823 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.001454/0.9839, allocations: 0.6127 MB / 0.9552 GB, free: 257.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003062/0.987, allocations: 1.607 MB / 0.9568 GB, free: 257.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.987, allocations: 0.9375 kB / 0.9568 GB, free: 257.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009991/0.988, allocations: 0.5696 MB / 0.9574 GB, free: 257.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004029/0.992, allocations: 0.8262 MB / 0.9582 GB, free: 257 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005584/0.9976, allocations: 4.588 MB / 0.9626 GB, free: 254.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009027/0.9986, allocations: 1.407 MB / 0.964 GB, free: 253.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002071/1.001, allocations: 485.8 kB / 0.9645 GB, free: 253.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004627/1.001, allocations: 120.8 kB / 0.9646 GB, free: 253.6 MB / 0.6823 GB Notification: Performance of SimCode: time 4.71e-07/1.001, allocations: 0 / 0.9646 GB, free: 253.6 MB / 0.6823 GB Notification: Performance of Templates: time 0.04663/1.048, allocations: 33.16 MB / 0.997 GB, free: 237 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)