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.001083/0.001083, allocations: 88.86 kB / 16.67 MB, free: 6.594 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.001154/0.001154, allocations: 182 kB / 17.58 MB, free: 6.188 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.332/1.332, allocations: 223.3 MB / 241.6 MB, free: 14.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7063/0.7063, allocations: 115.5 MB / 408.2 MB, free: 7.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003567/0.0003568, allocations: 11.98 kB / 496.5 MB, free: 15.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.404/0.4044, allocations: 77.51 MB / 0.5606 GB, free: 35.87 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.6143/1.019, allocations: 230.5 MB / 0.7856 GB, free: 1.816 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.01696/1.036, allocations: 10.41 MB / 0.7958 GB, free: 1.59 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003424/1.039, allocations: 51.44 kB / 0.7959 GB, free: 1.59 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.003487/1.043, allocations: 1.021 MB / 0.7969 GB, free: 1.566 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01155/1.054, allocations: 3.442 MB / 0.8002 GB, free: 1.391 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.006909/1.061, allocations: 1.883 MB / 0.8021 GB, free: 1.328 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.008652/1.07, allocations: 6.276 MB / 0.8082 GB, free: 1.312 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002737/1.073, allocations: 1.303 MB / 0.8095 GB, free: 17.1 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003774/1.077, allocations: 1.332 MB / 0.8108 GB, free: 17.09 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003896/1.08, allocations: 1.483 MB / 0.8122 GB, free: 17.08 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004766/1.081, allocations: 78.06 kB / 0.8123 GB, free: 17.08 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008444/1.089, allocations: 3.722 MB / 0.8159 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001331/1.091, allocations: 0.5806 MB / 0.8165 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002051/1.093, allocations: 0.9529 MB / 0.8174 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004492/1.097, allocations: 2.789 MB / 0.8201 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/1.097, allocations: 0 / 0.8201 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.216e-06/1.097, allocations: 3.594 kB / 0.8201 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.34e-05/1.097, allocations: 0 / 0.8201 GB, free: 15.6 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.005443/1.103, allocations: 2.133 MB / 0.8222 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/1.103, allocations: 12.62 kB / 0.8222 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003562/1.107, allocations: 0.5239 MB / 0.8227 GB, free: 14 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002265/1.109, allocations: 1.22 MB / 0.8239 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.968e-05/1.109, allocations: 102.3 kB / 0.824 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002168/1.109, allocations: 141.4 kB / 0.8242 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00289/1.112, allocations: 1.672 MB / 0.8258 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.87e-05/1.112, allocations: 7.5 kB / 0.8258 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001373/1.112, allocations: 56.66 kB / 0.8259 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.29e-05/1.112, allocations: 70.91 kB / 0.8259 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002697/1.115, allocations: 1.458 MB / 0.8274 GB, free: 12.61 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.009117/1.124, allocations: 6.981 MB / 0.8342 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001767/1.126, allocations: 1.199 MB / 0.8353 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009046/1.127, allocations: 0.6153 MB / 0.8359 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008885/1.128, allocations: 0.8605 MB / 0.8368 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001032/1.129, allocations: 0.6163 MB / 0.8374 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=110): time 3.617e-06/1.129, allocations: 0 / 0.8374 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of matching and sorting (n=110): time 0.003075/1.132, allocations: 1.586 MB / 0.8389 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.725e-05/1.132, allocations: 89.83 kB / 0.839 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00158/1.134, allocations: 1.193 MB / 0.8402 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001033/1.134, allocations: 46.64 kB / 0.8402 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006264/1.134, allocations: 0.6776 MB / 0.8409 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004062/1.135, allocations: 382.8 kB / 0.8413 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/1.135, allocations: 94.02 kB / 0.8413 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001361/1.135, allocations: 344.6 kB / 0.8417 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000727/1.136, allocations: 424.8 kB / 0.8421 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008315/1.137, allocations: 0.5617 MB / 0.8426 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001566/1.138, allocations: 1.028 MB / 0.8436 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/1.138, allocations: 3.938 kB / 0.8436 GB, free: 3.965 MB / 0.5919 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00229/1.141, allocations: 1.223 MB / 0.8448 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001229/1.141, allocations: 167.7 kB / 0.845 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/1.141, allocations: 2.906 kB / 0.845 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.586e-05/1.141, allocations: 7.031 kB / 0.845 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009342/1.142, allocations: 222 kB / 0.8452 GB, free: 3.141 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/1.142, allocations: 9.594 kB / 0.8452 GB, free: 3.141 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/1.143, allocations: 188.8 kB / 0.8454 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.8e-05/1.143, allocations: 36.5 kB / 0.8454 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.066e-06/1.143, allocations: 4.938 kB / 0.8454 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001679/1.145, allocations: 1.044 MB / 0.8465 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/1.145, allocations: 6.766 kB / 0.8465 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.534e-06/1.145, allocations: 6.625 kB / 0.8465 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008388/1.146, allocations: 208.5 kB / 0.8467 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/1.146, allocations: 10.61 kB / 0.8467 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/1.147, allocations: 175.3 kB / 0.8468 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.897e-05/1.148, allocations: 43.97 kB / 0.8469 GB, free: 2.121 MB / 0.5919 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.0009582/1.149, allocations: 495.7 kB / 0.8474 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002602/1.149, allocations: 150.1 kB / 0.8475 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002259/1.151, allocations: 1.245 MB / 0.8487 GB, free: 240 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/1.151, allocations: 12 kB / 0.8487 GB, free: 228 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/1.151, allocations: 0 / 0.8487 GB, free: 228 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001621/1.153, allocations: 1.021 MB / 0.8497 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005167/1.158, allocations: 3.18 MB / 0.8528 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/1.158, allocations: 4.312 kB / 0.8528 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/1.159, allocations: 230 kB / 0.8531 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.319e-05/1.159, allocations: 10.53 kB / 0.8531 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.07e-05/1.159, allocations: 27.98 kB / 0.8531 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.166e-05/1.159, allocations: 10.62 kB / 0.8531 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/1.159, allocations: 4 kB / 0.8531 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003008/1.162, allocations: 1.92 MB / 0.855 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007435/1.163, allocations: 366.8 kB / 0.8553 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001824/1.163, allocations: 24 kB / 0.8554 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/1.164, allocations: 120.6 kB / 0.8555 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/1.164, allocations: 67.81 kB / 0.8555 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.821e-05/1.164, allocations: 39.98 kB / 0.8556 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001116/1.166, allocations: 0.8336 MB / 0.8564 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/1.166, allocations: 0 / 0.8564 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001955/1.168, allocations: 0.83 MB / 0.8572 GB, free: 7.41 MB / 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.001378/1.169, allocations: 0.587 MB / 0.8578 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002825/1.172, allocations: 1.626 MB / 0.8594 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/1.172, allocations: 0 / 0.8594 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009262/1.173, allocations: 0.5677 MB / 0.8599 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004677/1.177, allocations: 0.8277 MB / 0.8607 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007072/1.185, allocations: 4.236 MB / 0.8649 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009972/1.186, allocations: 1.36 MB / 0.8662 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000629/1.186, allocations: 119.4 kB / 0.8663 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of SimCode: time 9.12e-07/1.186, allocations: 0 / 0.8663 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of Templates: time 0.0412/1.227, allocations: 25.04 MB / 0.8908 GB, free: 5.43 MB / 0.6388 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)