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.0009779/0.000978, allocations: 96.27 kB / 15.68 MB, free: 488 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.001098/0.001098, allocations: 176.5 kB / 16.57 MB, free: 6.387 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.484/1.484, allocations: 223.2 MB / 240.5 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6788/0.6788, allocations: 113.8 MB / 405.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003535/0.0003536, allocations: 8.656 kB / 493 MB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1913, allocations: 77.16 MB / 0.5568 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.5941/0.7855, allocations: 193.5 MB / 0.7458 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01626/0.8018, allocations: 10.35 MB / 0.7559 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002411/0.8042, allocations: 47.69 kB / 0.756 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003886/0.8081, allocations: 1.066 MB / 0.757 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01137/0.8195, allocations: 2.972 MB / 0.7599 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005552/0.8251, allocations: 1.575 MB / 0.7614 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005401/0.8305, allocations: 2.546 MB / 0.7639 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002212/0.8327, allocations: 1.196 MB / 0.7651 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002789/0.8355, allocations: 1.254 MB / 0.7663 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001557/0.8371, allocations: 0.9299 MB / 0.7672 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002113/0.8373, allocations: 76 kB / 0.7673 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003969/0.8413, allocations: 1.361 MB / 0.7686 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006235/0.8419, allocations: 0.5336 MB / 0.7691 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007241/0.8427, allocations: 404.7 kB / 0.7695 GB, free: 144 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003512/0.8462, allocations: 2.373 MB / 0.7718 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.8462, allocations: 0 / 0.7718 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8462, allocations: 0 / 0.7718 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.64e-05/0.8463, allocations: 0 / 0.7718 GB, free: 13.76 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.004704/0.851, allocations: 2.09 MB / 0.7739 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.851, allocations: 8.031 kB / 0.7739 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003262/0.8543, allocations: 0.5322 MB / 0.7744 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002108/0.8564, allocations: 1.179 MB / 0.7756 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.8565, allocations: 98.66 kB / 0.7757 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001925/0.8567, allocations: 136 kB / 0.7758 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002894/0.8596, allocations: 1.658 MB / 0.7774 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.125e-05/0.8597, allocations: 3.938 kB / 0.7774 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/0.8598, allocations: 63.97 kB / 0.7775 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.927e-05/0.8599, allocations: 66.58 kB / 0.7775 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002604/0.8625, allocations: 1.447 MB / 0.7789 GB, free: 6.297 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.009555/0.872, allocations: 6.977 MB / 0.7858 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001868/0.8739, allocations: 1.197 MB / 0.7869 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007359/0.8747, allocations: 0.6931 MB / 0.7876 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001095/0.8758, allocations: 0.6072 MB / 0.7882 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=110): time 4.288e-06/0.8758, allocations: 0 / 0.7882 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of matching and sorting (n=110): time 0.003462/0.8793, allocations: 1.58 MB / 0.7897 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.26e-05/0.8794, allocations: 90.11 kB / 0.7898 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001811/0.8812, allocations: 1.182 MB / 0.791 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001144/0.8813, allocations: 45.7 kB / 0.791 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006672/0.882, allocations: 0.6775 MB / 0.7917 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004437/0.8825, allocations: 382.4 kB / 0.7921 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.399e-05/0.8825, allocations: 20 kB / 0.7921 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.8827, allocations: 349.9 kB / 0.7924 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007407/0.8834, allocations: 417.8 kB / 0.7928 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008295/0.8843, allocations: 0.5518 MB / 0.7933 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008304/0.8851, allocations: 498.8 kB / 0.7938 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.301e-06/0.8851, allocations: 0 / 0.7938 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002268/0.8874, allocations: 1.218 MB / 0.795 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004185/0.8878, allocations: 0.99 MB / 0.796 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.8879, allocations: 0 / 0.796 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.8879, allocations: 8 kB / 0.796 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009638/0.8889, allocations: 219.7 kB / 0.7962 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.764e-05/0.8889, allocations: 11.94 kB / 0.7962 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/0.8904, allocations: 190.7 kB / 0.7964 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.535e-05/0.8905, allocations: 36 kB / 0.7964 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.8906, allocations: 4 kB / 0.7964 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001723/0.8923, allocations: 1.042 MB / 0.7974 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.8923, allocations: 4.734 kB / 0.7974 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.8923, allocations: 11.98 kB / 0.7975 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008717/0.8932, allocations: 207.7 kB / 0.7977 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.8932, allocations: 7.984 kB / 0.7977 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.8947, allocations: 179 kB / 0.7978 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-05/0.8948, allocations: 43.97 kB / 0.7979 GB, free: 2.094 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 ($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.0008963/0.8957, allocations: 492.8 kB / 0.7983 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002714/0.896, allocations: 146.2 kB / 0.7985 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002188/0.8982, allocations: 1.243 MB / 0.7997 GB, free: 204 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.8982, allocations: 12 kB / 0.7997 GB, free: 192 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.8982, allocations: 4 kB / 0.7997 GB, free: 188 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001602/0.8998, allocations: 1.011 MB / 0.8007 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005369/0.9052, allocations: 3.167 MB / 0.8038 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.9052, allocations: 4 kB / 0.8038 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/0.9063, allocations: 228 kB / 0.804 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.309e-05/0.9064, allocations: 12 kB / 0.804 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.811e-05/0.9064, allocations: 31.98 kB / 0.8041 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.268e-06/0.9065, allocations: 4 kB / 0.8041 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.9065, allocations: 7.938 kB / 0.8041 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003117/0.9096, allocations: 2.057 MB / 0.8061 GB, free: 9.406 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008821/0.9105, allocations: 358.9 kB / 0.8064 GB, free: 9.035 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001929/0.9107, allocations: 24 kB / 0.8064 GB, free: 9.012 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/0.9118, allocations: 115.5 kB / 0.8066 GB, free: 8.902 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001628/0.9119, allocations: 76.84 kB / 0.8066 GB, free: 8.824 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.725e-05/0.912, allocations: 40 kB / 0.8067 GB, free: 8.785 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001151/0.9132, allocations: 0.8219 MB / 0.8075 GB, free: 7.961 MB / 0.6231 GB Notification: Performance of sort global known variables: time 5.01e-07/0.9132, allocations: 0 / 0.8075 GB, free: 7.961 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001959/0.9152, allocations: 0.8378 MB / 0.8083 GB, free: 7.121 MB / 0.6231 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.001317/0.9165, allocations: 0.5835 MB / 0.8089 GB, free: 6.719 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002849/0.9193, allocations: 1.612 MB / 0.8104 GB, free: 5.109 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/0.9194, allocations: 0 / 0.8104 GB, free: 5.109 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009464/0.9203, allocations: 0.5719 MB / 0.811 GB, free: 4.539 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003971/0.9243, allocations: 0.8086 MB / 0.8118 GB, free: 3.738 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006695/0.931, allocations: 4.028 MB / 0.8157 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001392/0.9324, allocations: 1.399 MB / 0.8171 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002383/0.9348, allocations: 463.5 kB / 0.8175 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005802/0.9354, allocations: 111.4 kB / 0.8176 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of SimCode: time 1.834e-06/0.9355, allocations: 0 / 0.8176 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of Templates: time 0.3407/1.276, allocations: 27.65 MB / 0.8446 GB, free: 229.4 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)