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.00105/0.00105, allocations: 111.6 kB / 16.41 MB, free: 6.492 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.001125/0.001125, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.322/1.322, allocations: 222.9 MB / 241 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.7196/0.7196, allocations: 115.3 MB / 406.5 MB, free: 6.242 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 66.81 kB / 0.5577 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1313, allocations: 76.18 MB / 0.6321 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.5998/0.7311, allocations: 235.8 MB / 0.8624 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01779/0.749, allocations: 10.42 MB / 0.8726 GB, free: 6.262 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003626/0.7527, allocations: 59.69 kB / 0.8726 GB, free: 6.203 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003775/0.7565, allocations: 1.189 MB / 0.8738 GB, free: 5.008 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01024/0.7668, allocations: 3.664 MB / 0.8774 GB, free: 1.328 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005614/0.7724, allocations: 2.072 MB / 0.8794 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006001/0.7784, allocations: 4.453 MB / 0.8837 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002649/0.7811, allocations: 1.575 MB / 0.8853 GB, free: 9.184 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003103/0.7842, allocations: 1.619 MB / 0.8868 GB, free: 7.559 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003089/0.7873, allocations: 1.497 MB / 0.8883 GB, free: 6.062 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0006004/0.7879, allocations: 184 kB / 0.8885 GB, free: 5.883 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006668/0.7946, allocations: 3.238 MB / 0.8916 GB, free: 2.637 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0009891/0.7956, allocations: 0.7011 MB / 0.8923 GB, free: 1.934 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001957/0.7976, allocations: 1.061 MB / 0.8934 GB, free: 0.8672 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007057/0.8046, allocations: 3.821 MB / 0.8971 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.8047, allocations: 0 / 0.8971 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.072e-06/0.8047, allocations: 0 / 0.8971 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001/0.8048, allocations: 0 / 0.8971 GB, free: 13.04 MB / 0.6544 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.006512/0.8113, allocations: 2.49 MB / 0.8995 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.8114, allocations: 8.031 kB / 0.8995 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00365/0.815, allocations: 0.5206 MB / 0.9 GB, free: 9.957 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002774/0.8178, allocations: 1.287 MB / 0.9013 GB, free: 8.613 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.784e-05/0.8179, allocations: 102.6 kB / 0.9014 GB, free: 8.512 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003286/0.8183, allocations: 143.9 kB / 0.9015 GB, free: 8.371 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003294/0.8216, allocations: 1.666 MB / 0.9032 GB, free: 6.637 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.626e-05/0.8216, allocations: 3.938 kB / 0.9032 GB, free: 6.633 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001759/0.8218, allocations: 56 kB / 0.9032 GB, free: 6.578 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.685e-05/0.8219, allocations: 74.56 kB / 0.9033 GB, free: 6.504 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002799/0.8247, allocations: 1.451 MB / 0.9047 GB, free: 5.047 MB / 0.6544 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.00924/0.834, allocations: 6.977 MB / 0.9115 GB, free: 13.61 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001906/0.8359, allocations: 1.195 MB / 0.9127 GB, free: 12.36 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009426/0.8368, allocations: 0.6122 MB / 0.9133 GB, free: 11.75 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008119/0.8377, allocations: 0.8632 MB / 0.9141 GB, free: 10.7 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001055/0.8387, allocations: 0.6025 MB / 0.9147 GB, free: 10.09 MB / 0.67 GB Notification: Performance of pre-optimization done (n=110): time 3.226e-06/0.8388, allocations: 0 / 0.9147 GB, free: 10.09 MB / 0.67 GB Notification: Performance of matching and sorting (n=110): time 0.003009/0.8418, allocations: 1.576 MB / 0.9163 GB, free: 8.504 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/0.8419, allocations: 90.11 kB / 0.9163 GB, free: 8.398 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001591/0.8435, allocations: 1.195 MB / 0.9175 GB, free: 7.184 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001004/0.8436, allocations: 45.7 kB / 0.9176 GB, free: 7.133 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005552/0.8441, allocations: 0.6776 MB / 0.9182 GB, free: 6.449 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003807/0.8445, allocations: 382.3 kB / 0.9186 GB, free: 6.07 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003181/0.8448, allocations: 178.6 kB / 0.9188 GB, free: 5.891 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.845, allocations: 349.9 kB / 0.9191 GB, free: 5.543 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007638/0.8458, allocations: 429.7 kB / 0.9195 GB, free: 5.121 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008575/0.8466, allocations: 0.5556 MB / 0.92 GB, free: 4.527 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001599/0.8482, allocations: 1.013 MB / 0.921 GB, free: 3.484 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.8483, allocations: 0 / 0.921 GB, free: 3.484 MB / 0.67 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002126/0.8504, allocations: 1.222 MB / 0.9222 GB, free: 2.254 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.8504, allocations: 4 kB / 0.9222 GB, free: 2.25 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.8504, allocations: 4.312 kB / 0.9222 GB, free: 2.246 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.823e-05/0.8505, allocations: 15.94 kB / 0.9222 GB, free: 2.23 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009331/0.8514, allocations: 215.7 kB / 0.9224 GB, free: 2.02 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.115e-05/0.8514, allocations: 6.266 kB / 0.9225 GB, free: 2.016 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/0.8526, allocations: 95.92 kB / 0.9225 GB, free: 1.922 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.822e-05/0.8527, allocations: 36 kB / 0.9226 GB, free: 1.887 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001123/0.8539, allocations: 0.7322 MB / 0.9233 GB, free: 1.152 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007781/0.8547, allocations: 0.5478 MB / 0.9238 GB, free: 0.5664 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001482/0.8562, allocations: 0.9894 MB / 0.9248 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.477e-06/0.8562, allocations: 0 / 0.9248 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.001983/0.8582, allocations: 1.199 MB / 0.926 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.8582, allocations: 8 kB / 0.926 GB, free: 14.33 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.8582, allocations: 7.938 kB / 0.926 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.086e-06/0.8582, allocations: 4 kB / 0.926 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008759/0.8591, allocations: 212 kB / 0.9262 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.67e-05/0.8591, allocations: 15.94 kB / 0.9262 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/0.8602, allocations: 79.2 kB / 0.9263 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.016e-05/0.8603, allocations: 39.94 kB / 0.9263 GB, free: 13.98 MB / 0.6856 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.0002705/0.8606, allocations: 237.8 kB / 0.9265 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002764/0.8609, allocations: 150.3 kB / 0.9267 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002167/0.863, allocations: 1.24 MB / 0.9279 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.8631, allocations: 15.94 kB / 0.9279 GB, free: 12.33 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.8631, allocations: 0 / 0.9279 GB, free: 12.33 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001576/0.8646, allocations: 1.015 MB / 0.9289 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004741/0.8694, allocations: 3.159 MB / 0.932 GB, free: 8.016 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.8694, allocations: 7.938 kB / 0.932 GB, free: 8.008 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/0.8705, allocations: 232 kB / 0.9322 GB, free: 7.781 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.26e-05/0.8705, allocations: 4 kB / 0.9322 GB, free: 7.777 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.046e-05/0.8706, allocations: 31.98 kB / 0.9323 GB, free: 7.746 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.147e-05/0.8707, allocations: 11.94 kB / 0.9323 GB, free: 7.734 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.8707, allocations: 0 / 0.9323 GB, free: 7.734 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002793/0.8735, allocations: 1.92 MB / 0.9341 GB, free: 5.766 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005759/0.874, allocations: 358.9 kB / 0.9345 GB, free: 5.395 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002333/0.8743, allocations: 24 kB / 0.9345 GB, free: 5.371 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009483/0.8752, allocations: 39.97 kB / 0.9345 GB, free: 5.332 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/0.8754, allocations: 72.88 kB / 0.9346 GB, free: 5.262 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-05/0.8755, allocations: 39.98 kB / 0.9347 GB, free: 5.223 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001084/0.8766, allocations: 0.8297 MB / 0.9355 GB, free: 4.391 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8766, allocations: 7.938 kB / 0.9355 GB, free: 4.383 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00183/0.8784, allocations: 0.8338 MB / 0.9363 GB, free: 3.547 MB / 0.6856 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.001252/0.8797, allocations: 0.5777 MB / 0.9368 GB, free: 3.133 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002666/0.8824, allocations: 1.623 MB / 0.9384 GB, free: 1.508 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.8824, allocations: 4 kB / 0.9384 GB, free: 1.504 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0008781/0.8833, allocations: 0.5612 MB / 0.939 GB, free: 0.9492 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003764/0.8871, allocations: 0.8772 MB / 0.9398 GB, free: 96 kB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006358/0.8934, allocations: 3.304 MB / 0.9431 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001501/0.895, allocations: 1.364 MB / 0.9444 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001924/0.8969, allocations: 455.6 kB / 0.9448 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004551/0.8974, allocations: 111.4 kB / 0.9449 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of SimCode: time 8.11e-07/0.8974, allocations: 4 kB / 0.9449 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of Templates: time 0.04757/0.945, allocations: 30.18 MB / 0.9744 GB, free: 12.94 MB / 0.7325 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)