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.001481/0.001481, allocations: 115.3 kB / 17.08 MB, free: 6.012 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.001058/0.001058, allocations: 195 kB / 18.01 MB, free: 5.094 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.37/1.37, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7653/0.7653, allocations: 115.3 MB / 407.2 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 67.98 kB / 0.5583 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1854, allocations: 76.18 MB / 0.6327 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.7819/0.9674, allocations: 235.8 MB / 0.863 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01856/0.986, allocations: 10.42 MB / 0.8732 GB, free: 6.086 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003707/0.9897, allocations: 63.69 kB / 0.8733 GB, free: 6.023 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003705/0.9935, allocations: 1.185 MB / 0.8744 GB, free: 4.832 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01057/1.004, allocations: 3.656 MB / 0.878 GB, free: 1.16 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006474/1.011, allocations: 2.069 MB / 0.88 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007378/1.018, allocations: 4.459 MB / 0.8844 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003073/1.021, allocations: 1.576 MB / 0.8859 GB, free: 9.008 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00368/1.025, allocations: 1.619 MB / 0.8875 GB, free: 7.383 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003499/1.028, allocations: 1.499 MB / 0.889 GB, free: 5.891 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0006945/1.029, allocations: 184 kB / 0.8891 GB, free: 5.711 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008014/1.037, allocations: 3.242 MB / 0.8923 GB, free: 2.461 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001502/1.039, allocations: 0.6972 MB / 0.893 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002735/1.041, allocations: 1.062 MB / 0.894 GB, free: 0.6953 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.009526/1.051, allocations: 3.817 MB / 0.8978 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/1.051, allocations: 4 kB / 0.8978 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.753e-06/1.051, allocations: 0 / 0.8978 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001194/1.051, allocations: 0 / 0.8978 GB, free: 12.86 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.0076/1.059, allocations: 2.49 MB / 0.9002 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/1.059, allocations: 8.031 kB / 0.9002 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003794/1.063, allocations: 0.5245 MB / 0.9007 GB, free: 9.781 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002973/1.066, allocations: 1.291 MB / 0.902 GB, free: 8.434 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.14e-05/1.066, allocations: 98.59 kB / 0.9021 GB, free: 8.336 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003609/1.066, allocations: 143.9 kB / 0.9022 GB, free: 8.195 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003627/1.07, allocations: 1.674 MB / 0.9038 GB, free: 6.453 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.657e-05/1.07, allocations: 11.98 kB / 0.9038 GB, free: 6.441 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001775/1.07, allocations: 52 kB / 0.9039 GB, free: 6.391 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.475e-05/1.07, allocations: 70.52 kB / 0.904 GB, free: 6.32 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002955/1.073, allocations: 1.443 MB / 0.9054 GB, free: 4.871 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.01007/1.083, allocations: 6.981 MB / 0.9122 GB, free: 13.43 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001943/1.085, allocations: 1.195 MB / 0.9134 GB, free: 12.18 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001002/1.086, allocations: 0.6084 MB / 0.9139 GB, free: 11.57 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008869/1.087, allocations: 0.8555 MB / 0.9148 GB, free: 10.54 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001116/1.088, allocations: 0.6142 MB / 0.9154 GB, free: 9.91 MB / 0.67 GB Notification: Performance of pre-optimization done (n=110): time 4.488e-06/1.088, allocations: 0 / 0.9154 GB, free: 9.91 MB / 0.67 GB Notification: Performance of matching and sorting (n=110): time 0.003264/1.091, allocations: 1.572 MB / 0.9169 GB, free: 8.328 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/1.091, allocations: 98.05 kB / 0.917 GB, free: 8.215 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001977/1.093, allocations: 1.191 MB / 0.9182 GB, free: 7.004 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001286/1.094, allocations: 45.7 kB / 0.9182 GB, free: 6.953 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006646/1.094, allocations: 0.6737 MB / 0.9189 GB, free: 6.273 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004322/1.095, allocations: 390.3 kB / 0.9192 GB, free: 5.887 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003275/1.095, allocations: 178.6 kB / 0.9194 GB, free: 5.707 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001277/1.095, allocations: 341.9 kB / 0.9197 GB, free: 5.367 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007672/1.096, allocations: 432.6 kB / 0.9202 GB, free: 4.941 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008847/1.097, allocations: 0.5518 MB / 0.9207 GB, free: 4.352 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001628/1.098, allocations: 1.02 MB / 0.9217 GB, free: 3.301 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/1.099, allocations: 0 / 0.9217 GB, free: 3.301 MB / 0.67 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002336/1.101, allocations: 1.214 MB / 0.9229 GB, free: 2.078 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/1.101, allocations: 8 kB / 0.9229 GB, free: 2.07 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/1.101, allocations: 4 kB / 0.9229 GB, free: 2.066 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.908e-05/1.101, allocations: 7.938 kB / 0.9229 GB, free: 2.059 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000989/1.102, allocations: 219.7 kB / 0.9231 GB, free: 1.844 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.472e-05/1.102, allocations: 6.422 kB / 0.9231 GB, free: 1.84 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/1.103, allocations: 99.03 kB / 0.9232 GB, free: 1.742 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/1.103, allocations: 40.16 kB / 0.9232 GB, free: 1.703 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001376/1.105, allocations: 0.7368 MB / 0.924 GB, free: 0.9648 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008432/1.106, allocations: 0.5401 MB / 0.9245 GB, free: 396 kB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001536/1.107, allocations: 0.9932 MB / 0.9255 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.27e-06/1.107, allocations: 0 / 0.9255 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.002303/1.11, allocations: 1.191 MB / 0.9266 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/1.11, allocations: 11.94 kB / 0.9266 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/1.11, allocations: 4.312 kB / 0.9266 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/1.11, allocations: 8 kB / 0.9267 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009054/1.111, allocations: 215.8 kB / 0.9269 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.857e-05/1.111, allocations: 7.938 kB / 0.9269 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/1.112, allocations: 87.17 kB / 0.9269 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-05/1.112, allocations: 36 kB / 0.927 GB, free: 13.8 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.0003733/1.112, allocations: 232.1 kB / 0.9272 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004455/1.113, allocations: 150.2 kB / 0.9273 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0024/1.115, allocations: 1.24 MB / 0.9286 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/1.115, allocations: 23.88 kB / 0.9286 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/1.115, allocations: 0 / 0.9286 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001646/1.117, allocations: 1.007 MB / 0.9296 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005588/1.123, allocations: 3.167 MB / 0.9327 GB, free: 7.832 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/1.123, allocations: 4 kB / 0.9327 GB, free: 7.828 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/1.124, allocations: 227.7 kB / 0.9329 GB, free: 7.605 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.167e-05/1.124, allocations: 8 kB / 0.9329 GB, free: 7.598 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-05/1.124, allocations: 28 kB / 0.9329 GB, free: 7.57 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.005e-05/1.124, allocations: 7.984 kB / 0.9329 GB, free: 7.562 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/1.124, allocations: 7.938 kB / 0.9329 GB, free: 7.555 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00317/1.127, allocations: 1.92 MB / 0.9348 GB, free: 5.586 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008238/1.128, allocations: 358.9 kB / 0.9351 GB, free: 5.215 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003846/1.128, allocations: 24 kB / 0.9352 GB, free: 5.191 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/1.129, allocations: 38.59 kB / 0.9352 GB, free: 5.156 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001891/1.13, allocations: 76.84 kB / 0.9353 GB, free: 5.082 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/1.13, allocations: 39.98 kB / 0.9353 GB, free: 5.043 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001752/1.132, allocations: 0.8219 MB / 0.9361 GB, free: 4.219 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/1.132, allocations: 0 / 0.9361 GB, free: 4.219 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003855/1.135, allocations: 0.8416 MB / 0.9369 GB, free: 3.375 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.002226/1.138, allocations: 0.5769 MB / 0.9375 GB, free: 2.957 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003578/1.141, allocations: 1.62 MB / 0.9391 GB, free: 1.336 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.361e-05/1.141, allocations: 4 kB / 0.9391 GB, free: 1.332 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009947/1.142, allocations: 0.5719 MB / 0.9396 GB, free: 0.7656 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00505/1.147, allocations: 0.8769 MB / 0.9405 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006958/1.154, allocations: 3.391 MB / 0.9438 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00144/1.156, allocations: 1.364 MB / 0.9451 GB, free: 11.06 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007224/1.157, allocations: 119.4 kB / 0.9453 GB, free: 10.94 MB / 0.7012 GB Notification: Performance of SimCode: time 9.52e-07/1.157, allocations: 4 kB / 0.9453 GB, free: 10.94 MB / 0.7012 GB Notification: Performance of Templates: time 0.04683/1.203, allocations: 25.44 MB / 0.9701 GB, free: 1.645 MB / 0.7169 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)