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.00141/0.001409, allocations: 106.6 kB / 16.52 MB, free: 6.27 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.001455/0.001455, allocations: 195.2 kB / 17.44 MB, free: 5.887 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.354/1.354, allocations: 222.9 MB / 241.1 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7099/0.7099, allocations: 115.3 MB / 406.6 MB, free: 6.406 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 63.89 kB / 493.5 MB, free: 0.8477 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3607, allocations: 76.18 MB / 0.5564 GB, free: 36.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.5709/0.9317, allocations: 233.6 MB / 0.7845 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01521/0.9469, allocations: 10.51 MB / 0.7948 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003247/0.9502, allocations: 54.53 kB / 0.7949 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003649/0.9539, allocations: 1.032 MB / 0.7959 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009235/0.9632, allocations: 3.442 MB / 0.7992 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005284/0.9685, allocations: 1.884 MB / 0.8011 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007269/0.9758, allocations: 6.273 MB / 0.8072 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002581/0.9784, allocations: 1.342 MB / 0.8085 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003693/0.9821, allocations: 1.377 MB / 0.8099 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004215/0.9864, allocations: 1.548 MB / 0.8114 GB, free: 16.74 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006159/0.987, allocations: 94.91 kB / 0.8115 GB, free: 16.74 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007923/0.995, allocations: 3.741 MB / 0.8151 GB, free: 16.7 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001405/0.9964, allocations: 0.6069 MB / 0.8157 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002421/0.9989, allocations: 0.9777 MB / 0.8167 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005226/1.004, allocations: 2.829 MB / 0.8194 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 9.878e-06/1.004, allocations: 3.984 kB / 0.8194 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.134e-06/1.004, allocations: 4 kB / 0.8194 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001249/1.004, allocations: 0 / 0.8194 GB, free: 15.37 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.008257/1.013, allocations: 2.484 MB / 0.8218 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/1.013, allocations: 11.66 kB / 0.8219 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004174/1.017, allocations: 0.5224 MB / 0.8224 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003108/1.02, allocations: 1.23 MB / 0.8236 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/1.02, allocations: 102.1 kB / 0.8237 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004555/1.021, allocations: 132.1 kB / 0.8238 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003962/1.025, allocations: 1.674 MB / 0.8254 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.671e-05/1.025, allocations: 7.891 kB / 0.8254 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002354/1.025, allocations: 62.64 kB / 0.8255 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-05/1.025, allocations: 67.2 kB / 0.8256 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002912/1.028, allocations: 1.449 MB / 0.827 GB, free: 12.3 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.00992/1.038, allocations: 6.958 MB / 0.8338 GB, free: 7.91 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001975/1.04, allocations: 1.191 MB / 0.8349 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009663/1.041, allocations: 0.6085 MB / 0.8355 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008632/1.042, allocations: 0.8633 MB / 0.8364 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001115/1.043, allocations: 0.6088 MB / 0.837 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=110): time 5.019e-06/1.043, allocations: 4 kB / 0.837 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=110): time 0.003312/1.046, allocations: 1.57 MB / 0.8385 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.358e-05/1.046, allocations: 91.17 kB / 0.8386 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001856/1.048, allocations: 1.194 MB / 0.8398 GB, free: 3.77 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001203/1.048, allocations: 53.7 kB / 0.8398 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005716/1.049, allocations: 0.6737 MB / 0.8405 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003693/1.049, allocations: 389.8 kB / 0.8408 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002965/1.05, allocations: 174.7 kB / 0.841 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001161/1.05, allocations: 345.9 kB / 0.8413 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007643/1.05, allocations: 432.6 kB / 0.8417 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008339/1.051, allocations: 0.5479 MB / 0.8423 GB, free: 1.121 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001564/1.053, allocations: 1.018 MB / 0.8433 GB, free: 84 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/1.053, allocations: 0 / 0.8433 GB, free: 84 kB / 0.5919 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002271/1.055, allocations: 1.225 MB / 0.8445 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/1.055, allocations: 12.31 kB / 0.8445 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/1.055, allocations: 0 / 0.8445 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/1.055, allocations: 8 kB / 0.8445 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009548/1.056, allocations: 214.5 kB / 0.8447 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.38e-05/1.056, allocations: 11.98 kB / 0.8447 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/1.058, allocations: 190.7 kB / 0.8449 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/1.058, allocations: 36 kB / 0.8449 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001267/1.059, allocations: 0.7361 MB / 0.8456 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007903/1.06, allocations: 0.5429 MB / 0.8462 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001483/1.062, allocations: 0.9956 MB / 0.8471 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.472e-06/1.062, allocations: 4 kB / 0.8471 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.002184/1.064, allocations: 1.187 MB / 0.8483 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/1.064, allocations: 16.05 kB / 0.8483 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/1.064, allocations: 4 kB / 0.8483 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/1.064, allocations: 4 kB / 0.8483 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009372/1.065, allocations: 207.8 kB / 0.8485 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.799e-05/1.065, allocations: 15.64 kB / 0.8485 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/1.066, allocations: 159.3 kB / 0.8487 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.502e-05/1.066, allocations: 40 kB / 0.8487 GB, free: 10.48 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 ($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.000288/1.067, allocations: 240.8 kB / 0.849 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003988/1.067, allocations: 150.2 kB / 0.8491 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002348/1.069, allocations: 1.246 MB / 0.8503 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/1.069, allocations: 12 kB / 0.8503 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/1.069, allocations: 0 / 0.8503 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001614/1.071, allocations: 1.011 MB / 0.8513 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005466/1.077, allocations: 3.162 MB / 0.8544 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/1.077, allocations: 4 kB / 0.8544 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/1.078, allocations: 231.9 kB / 0.8546 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.444e-05/1.078, allocations: 8 kB / 0.8546 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.679e-05/1.078, allocations: 27.98 kB / 0.8547 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.939e-06/1.078, allocations: 6.906 kB / 0.8547 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/1.078, allocations: 4 kB / 0.8547 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003093/1.081, allocations: 1.914 MB / 0.8565 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008848/1.082, allocations: 361.9 kB / 0.8569 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003817/1.082, allocations: 24 kB / 0.8569 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001378/1.084, allocations: 117 kB / 0.857 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/1.084, allocations: 72.83 kB / 0.8571 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-05/1.084, allocations: 39.98 kB / 0.8571 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001197/1.085, allocations: 0.8219 MB / 0.8579 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.81e-07/1.085, allocations: 8.188 kB / 0.8579 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002254/1.087, allocations: 0.8377 MB / 0.8588 GB, free: 60 kB / 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.001402/1.089, allocations: 0.5865 MB / 0.8593 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002844/1.092, allocations: 1.614 MB / 0.8609 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/1.092, allocations: 0 / 0.8609 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009342/1.093, allocations: 0.5711 MB / 0.8615 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0044/1.097, allocations: 0.825 MB / 0.8623 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006318/1.103, allocations: 4.058 MB / 0.8662 GB, free: 8.656 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001101/1.105, allocations: 1.364 MB / 0.8676 GB, free: 7.262 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006136/1.105, allocations: 119.4 kB / 0.8677 GB, free: 7.145 MB / 0.6231 GB Notification: Performance of SimCode: time 7.51e-07/1.105, allocations: 0 / 0.8677 GB, free: 7.145 MB / 0.6231 GB Notification: Performance of Templates: time 0.03704/1.142, allocations: 25.28 MB / 0.8924 GB, free: 14.04 MB / 0.6544 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)