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.0008023/0.0008023, allocations: 92.86 kB / 15.7 MB, free: 472 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.0009769/0.000977, allocations: 172.1 kB / 16.58 MB, free: 5.938 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.403/1.403, allocations: 223.3 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7007/0.7007, allocations: 115.5 MB / 407.2 MB, free: 2.824 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003316/0.0003319, allocations: 13.94 kB / 495.2 MB, free: 6.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1715, allocations: 77.52 MB / 0.5593 GB, free: 9.391 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.5447/0.7162, allocations: 215 MB / 0.7693 GB, free: 128 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01561/0.7319, allocations: 9.79 MB / 0.7788 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002514/0.7344, allocations: 47.69 kB / 0.7789 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002833/0.7373, allocations: 0.804 MB / 0.7797 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008556/0.7459, allocations: 2.664 MB / 0.7823 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004826/0.7507, allocations: 1.441 MB / 0.7837 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007442/0.7582, allocations: 5.281 MB / 0.7888 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002423/0.7606, allocations: 1.181 MB / 0.79 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003216/0.7639, allocations: 1.354 MB / 0.7913 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002585/0.7665, allocations: 1.405 MB / 0.7927 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002908/0.7668, allocations: 76 kB / 0.7928 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005087/0.7719, allocations: 1.613 MB / 0.7943 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001029/0.773, allocations: 0.5801 MB / 0.7949 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009282/0.7739, allocations: 412.7 kB / 0.7953 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004347/0.7783, allocations: 2.564 MB / 0.7978 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.7783, allocations: 3.938 kB / 0.7978 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.955e-06/0.7783, allocations: 0 / 0.7978 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.63e-05/0.7784, allocations: 4 kB / 0.7978 GB, free: 2.824 MB / 0.6075 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.005351/0.7837, allocations: 2.148 MB / 0.7999 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.7838, allocations: 8.031 kB / 0.7999 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00349/0.7873, allocations: 0.5244 MB / 0.8004 GB, free: 88 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002457/0.7898, allocations: 1.179 MB / 0.8016 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.994e-05/0.7899, allocations: 98.66 kB / 0.8017 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002216/0.7901, allocations: 132 kB / 0.8018 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003133/0.7932, allocations: 1.677 MB / 0.8034 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.428e-05/0.7933, allocations: 4 kB / 0.8034 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001525/0.7935, allocations: 59.98 kB / 0.8035 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-05/0.7936, allocations: 66.58 kB / 0.8036 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003049/0.7966, allocations: 1.454 MB / 0.805 GB, free: 11.29 MB / 0.6231 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.01021/0.8068, allocations: 6.977 MB / 0.8118 GB, free: 3.855 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00201/0.8089, allocations: 1.191 MB / 0.813 GB, free: 2.621 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00103/0.8099, allocations: 0.6084 MB / 0.8136 GB, free: 2.016 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009124/0.8109, allocations: 0.8633 MB / 0.8144 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001145/0.812, allocations: 0.6025 MB / 0.815 GB, free: 360 kB / 0.6231 GB Notification: Performance of pre-optimization done (n=110): time 4.599e-06/0.8121, allocations: 4 kB / 0.815 GB, free: 356 kB / 0.6231 GB Notification: Performance of matching and sorting (n=110): time 0.003415/0.8155, allocations: 1.584 MB / 0.8165 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.405e-05/0.8156, allocations: 90.11 kB / 0.8166 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001931/0.8175, allocations: 1.178 MB / 0.8178 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001127/0.8176, allocations: 49.7 kB / 0.8178 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006816/0.8183, allocations: 0.6827 MB / 0.8185 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004228/0.8188, allocations: 378.4 kB / 0.8188 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/0.8188, allocations: 24 kB / 0.8189 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.819, allocations: 345.9 kB / 0.8192 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007727/0.8198, allocations: 421.8 kB / 0.8196 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008847/0.8207, allocations: 0.5595 MB / 0.8201 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008848/0.8216, allocations: 490.9 kB / 0.8206 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.8216, allocations: 0 / 0.8206 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002353/0.8239, allocations: 1.218 MB / 0.8218 GB, free: 9.254 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001305/0.8241, allocations: 165.2 kB / 0.822 GB, free: 9.062 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.8241, allocations: 11.97 kB / 0.822 GB, free: 9.051 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/0.8241, allocations: 8 kB / 0.822 GB, free: 9.043 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009825/0.8251, allocations: 219.7 kB / 0.8222 GB, free: 8.828 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.656e-05/0.8252, allocations: 11.95 kB / 0.8222 GB, free: 8.816 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/0.8267, allocations: 182.9 kB / 0.8224 GB, free: 8.637 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.8268, allocations: 43.92 kB / 0.8224 GB, free: 8.594 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.8268, allocations: 7.938 kB / 0.8224 GB, free: 8.586 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001812/0.8287, allocations: 1.035 MB / 0.8234 GB, free: 7.547 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.8287, allocations: 4 kB / 0.8234 GB, free: 7.543 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.8287, allocations: 8 kB / 0.8234 GB, free: 7.535 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009073/0.8296, allocations: 207.7 kB / 0.8236 GB, free: 7.332 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.015e-05/0.8296, allocations: 8 kB / 0.8237 GB, free: 7.324 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/0.8312, allocations: 187.1 kB / 0.8238 GB, free: 7.141 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.554e-05/0.8313, allocations: 32 kB / 0.8239 GB, free: 7.109 MB / 0.6387 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 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009576/0.8322, allocations: 492.7 kB / 0.8243 GB, free: 6.617 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003685/0.8326, allocations: 154.2 kB / 0.8245 GB, free: 6.465 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002416/0.835, allocations: 1.243 MB / 0.8257 GB, free: 5.211 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.8351, allocations: 15.98 kB / 0.8257 GB, free: 5.195 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.8351, allocations: 0 / 0.8257 GB, free: 5.195 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001653/0.8367, allocations: 1.007 MB / 0.8267 GB, free: 4.18 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006032/0.8428, allocations: 3.167 MB / 0.8298 GB, free: 0.8828 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.8428, allocations: 4.312 kB / 0.8298 GB, free: 0.8789 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/0.8439, allocations: 235.7 kB / 0.83 GB, free: 0.6484 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-05/0.844, allocations: 8 kB / 0.83 GB, free: 0.6406 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-05/0.8441, allocations: 27.95 kB / 0.83 GB, free: 0.6133 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.305e-05/0.8441, allocations: 7.938 kB / 0.8301 GB, free: 0.6055 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.8441, allocations: 7.984 kB / 0.8301 GB, free: 0.5977 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3244/1.169, allocations: 1.908 MB / 0.8319 GB, free: 230.8 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007397/1.169, allocations: 361.5 kB / 0.8323 GB, free: 230.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001957/1.17, allocations: 22.47 kB / 0.8323 GB, free: 230.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/1.171, allocations: 120.9 kB / 0.8324 GB, free: 230.7 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/1.171, allocations: 76.67 kB / 0.8325 GB, free: 230.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.848e-05/1.171, allocations: 38.25 kB / 0.8325 GB, free: 230.7 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001428/1.172, allocations: 0.8171 MB / 0.8333 GB, free: 230.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.71e-07/1.172, allocations: 0 / 0.8333 GB, free: 230.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002224/1.175, allocations: 0.8423 MB / 0.8341 GB, free: 230.5 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001363/1.176, allocations: 0.5781 MB / 0.8347 GB, free: 230.4 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002968/1.179, allocations: 1.611 MB / 0.8363 GB, free: 230.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/1.179, allocations: 4.719 kB / 0.8363 GB, free: 230.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009713/1.18, allocations: 0.5673 MB / 0.8368 GB, free: 229.9 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003673/1.184, allocations: 0.8321 MB / 0.8376 GB, free: 229.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006144/1.19, allocations: 4.026 MB / 0.8416 GB, free: 227.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001239/1.191, allocations: 1.366 MB / 0.8429 GB, free: 226.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002348/1.193, allocations: 460.6 kB / 0.8433 GB, free: 226.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004467/1.194, allocations: 113 kB / 0.8435 GB, free: 226.7 MB / 0.6387 GB Notification: Performance of SimCode: time 8.42e-07/1.194, allocations: 3.938 kB / 0.8435 GB, free: 226.7 MB / 0.6387 GB Notification: Performance of Templates: time 0.04865/1.242, allocations: 27.69 MB / 0.8705 GB, free: 214.8 MB / 0.6387 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)