Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.000984/0.000984, allocations: 107 kB / 17.03 MB, free: 5.699 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.0009853/0.0009854, allocations: 194.9 kB / 17.97 MB, free: 5.078 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.241/1.241, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7/0.7, allocations: 115.1 MB / 406.9 MB, free: 6.367 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 59.91 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.359, allocations: 76.14 MB / 0.5576 GB, free: 36.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.5785/0.9376, allocations: 235.8 MB / 0.7879 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01446/0.9521, allocations: 10.42 MB / 0.798 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002656/0.9548, allocations: 62.28 kB / 0.7981 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002776/0.9576, allocations: 1.182 MB / 0.7993 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009126/0.9668, allocations: 3.659 MB / 0.8028 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005367/0.9721, allocations: 2.072 MB / 0.8049 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00642/0.9786, allocations: 4.46 MB / 0.8092 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002684/0.9813, allocations: 1.571 MB / 0.8107 GB, free: 17.11 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003433/0.9847, allocations: 1.598 MB / 0.8123 GB, free: 17.1 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00347/0.9882, allocations: 1.497 MB / 0.8138 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003585/0.9886, allocations: 184 kB / 0.8139 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007658/0.9963, allocations: 3.242 MB / 0.8171 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008108/0.9971, allocations: 0.6981 MB / 0.8178 GB, free: 16.83 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001541/0.9986, allocations: 1.067 MB / 0.8188 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007182/1.006, allocations: 3.818 MB / 0.8226 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/1.006, allocations: 0 / 0.8226 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.182e-06/1.006, allocations: 4.875 kB / 0.8226 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.2e-05/1.006, allocations: 0 / 0.8226 GB, free: 15.95 MB / 0.5919 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.005543/1.011, allocations: 2.486 MB / 0.825 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/1.012, allocations: 9.188 kB / 0.825 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003554/1.015, allocations: 0.5222 MB / 0.8255 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00268/1.018, allocations: 1.29 MB / 0.8268 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.169e-05/1.018, allocations: 104.4 kB / 0.8269 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002246/1.018, allocations: 134.5 kB / 0.827 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002769/1.021, allocations: 1.679 MB / 0.8286 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.761e-05/1.021, allocations: 6.156 kB / 0.8286 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/1.021, allocations: 57.36 kB / 0.8287 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.922e-05/1.021, allocations: 77.73 kB / 0.8288 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002313/1.023, allocations: 1.444 MB / 0.8302 GB, free: 12.86 MB / 0.5919 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.009686/1.033, allocations: 6.966 MB / 0.837 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0019/1.035, allocations: 1.193 MB / 0.8381 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009582/1.036, allocations: 0.6095 MB / 0.8387 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001046/1.037, allocations: 0.8624 MB / 0.8396 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001008/1.038, allocations: 0.61 MB / 0.8402 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=110): time 3.988e-06/1.038, allocations: 4 kB / 0.8402 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=110): time 0.00308/1.041, allocations: 1.571 MB / 0.8417 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.176e-05/1.041, allocations: 91.17 kB / 0.8418 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/1.043, allocations: 1.193 MB / 0.843 GB, free: 3.555 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.385e-05/1.043, allocations: 53.69 kB / 0.843 GB, free: 3.496 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005669/1.044, allocations: 0.6737 MB / 0.8437 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003814/1.044, allocations: 386.9 kB / 0.844 GB, free: 2.441 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002888/1.044, allocations: 178.7 kB / 0.8442 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001366/1.044, allocations: 349.9 kB / 0.8446 GB, free: 1.914 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006901/1.045, allocations: 424.6 kB / 0.845 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008574/1.046, allocations: 0.5557 MB / 0.8455 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001566/1.048, allocations: 1.014 MB / 0.8465 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/1.048, allocations: 0 / 0.8465 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002129/1.05, allocations: 1.222 MB / 0.8477 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/1.05, allocations: 4.312 kB / 0.8477 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/1.05, allocations: 8 kB / 0.8477 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.676e-05/1.05, allocations: 4 kB / 0.8477 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009675/1.051, allocations: 220.4 kB / 0.8479 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/1.051, allocations: 7.094 kB / 0.8479 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/1.052, allocations: 106.9 kB / 0.848 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.279e-05/1.052, allocations: 36 kB / 0.8481 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001478/1.054, allocations: 0.74 MB / 0.8488 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009629/1.055, allocations: 0.5401 MB / 0.8493 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001613/1.056, allocations: 0.9948 MB / 0.8503 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.827e-06/1.056, allocations: 4 kB / 0.8503 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.002212/1.058, allocations: 1.195 MB / 0.8514 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/1.058, allocations: 8 kB / 0.8515 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/1.058, allocations: 0 / 0.8515 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/1.058, allocations: 8 kB / 0.8515 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009087/1.059, allocations: 216.8 kB / 0.8517 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/1.059, allocations: 4 kB / 0.8517 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/1.061, allocations: 79.2 kB / 0.8517 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.558e-05/1.061, allocations: 43.98 kB / 0.8518 GB, free: 10.42 MB / 0.6075 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.0003413/1.061, allocations: 236.5 kB / 0.852 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002155/1.061, allocations: 150.2 kB / 0.8522 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002198/1.063, allocations: 1.239 MB / 0.8534 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/1.063, allocations: 12 kB / 0.8534 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/1.063, allocations: 0 / 0.8534 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001624/1.065, allocations: 1.018 MB / 0.8544 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005059/1.07, allocations: 3.165 MB / 0.8575 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.812e-06/1.07, allocations: 7.938 kB / 0.8575 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/1.071, allocations: 233.6 kB / 0.8577 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.806e-06/1.071, allocations: 4 kB / 0.8577 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.647e-05/1.071, allocations: 24 kB / 0.8577 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.015e-05/1.071, allocations: 11.17 kB / 0.8577 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.071, allocations: 4 kB / 0.8577 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002689/1.074, allocations: 1.916 MB / 0.8596 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006827/1.075, allocations: 358.9 kB / 0.8599 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/1.075, allocations: 24 kB / 0.86 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008507/1.076, allocations: 36.92 kB / 0.86 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/1.076, allocations: 76.02 kB / 0.8601 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.233e-05/1.076, allocations: 43.98 kB / 0.8601 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001144/1.077, allocations: 0.8258 MB / 0.8609 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.81e-07/1.077, allocations: 0 / 0.8609 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00198/1.079, allocations: 0.8338 MB / 0.8617 GB, free: 84 kB / 0.6075 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.001393/1.081, allocations: 0.5854 MB / 0.8623 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002567/1.083, allocations: 1.617 MB / 0.8639 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/1.083, allocations: 4 kB / 0.8639 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000844/1.084, allocations: 0.5663 MB / 0.8644 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003218/1.087, allocations: 0.8771 MB / 0.8653 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00491/1.092, allocations: 3.307 MB / 0.8685 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00092/1.093, allocations: 1.367 MB / 0.8699 GB, free: 7.996 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001549/1.095, allocations: 451.6 kB / 0.8703 GB, free: 7.551 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000338/1.095, allocations: 115.4 kB / 0.8704 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of SimCode: time 5.11e-07/1.095, allocations: 0 / 0.8704 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of Templates: time 0.0467/1.142, allocations: 29.96 MB / 0.8997 GB, free: 9.934 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)