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.001095/0.001095, allocations: 105.6 kB / 15.98 MB, free: 6.352 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.001128/0.001128, allocations: 190.6 kB / 16.91 MB, free: 6.195 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.311/1.311, allocations: 222.9 MB / 240.6 MB, free: 13.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7363/0.7363, allocations: 122.9 MB / 413.6 MB, free: 56 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 63.89 kB / 0.4906 GB, free: 7.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3187, allocations: 77.92 MB / 0.5667 GB, free: 32.09 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.5426/0.8613, allocations: 232.9 MB / 0.7942 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01361/0.875, allocations: 10.34 MB / 0.8043 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002699/0.8777, allocations: 62.56 kB / 0.8043 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002672/0.8804, allocations: 1.064 MB / 0.8054 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008017/0.8885, allocations: 3.437 MB / 0.8087 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004868/0.8933, allocations: 1.903 MB / 0.8106 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005692/0.899, allocations: 4.452 MB / 0.8149 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002307/0.9014, allocations: 1.544 MB / 0.8164 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003083/0.9045, allocations: 1.625 MB / 0.818 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003831/0.9083, allocations: 1.582 MB / 0.8196 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000475/0.9088, allocations: 185.4 kB / 0.8197 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006763/0.9156, allocations: 3.382 MB / 0.823 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008697/0.9165, allocations: 0.6972 MB / 0.8237 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001592/0.9181, allocations: 1.064 MB / 0.8248 GB, free: 260 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007386/0.9255, allocations: 4.022 MB / 0.8287 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.9255, allocations: 0 / 0.8287 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9255, allocations: 0 / 0.8287 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.035e-05/0.9256, allocations: 0 / 0.8287 GB, free: 15.68 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.005189/0.9308, allocations: 2.485 MB / 0.8311 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.9308, allocations: 11.09 kB / 0.8311 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003433/0.9343, allocations: 0.5277 MB / 0.8316 GB, free: 14 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001939/0.9362, allocations: 1.229 MB / 0.8328 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.884e-05/0.9363, allocations: 95.94 kB / 0.8329 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001996/0.9365, allocations: 139.5 kB / 0.8331 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002768/0.9393, allocations: 1.676 MB / 0.8347 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.737e-05/0.9393, allocations: 2.094 kB / 0.8347 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/0.9395, allocations: 55.5 kB / 0.8348 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.258e-05/0.9396, allocations: 74.66 kB / 0.8348 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002395/0.942, allocations: 1.443 MB / 0.8362 GB, free: 11.37 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.007989/0.95, allocations: 6.965 MB / 0.843 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/0.9518, allocations: 1.193 MB / 0.8442 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008924/0.9527, allocations: 0.6153 MB / 0.8448 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008231/0.9535, allocations: 0.8615 MB / 0.8457 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001072/0.9546, allocations: 0.6089 MB / 0.8462 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=110): time 3.907e-06/0.9546, allocations: 0 / 0.8462 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of matching and sorting (n=110): time 0.003124/0.9577, allocations: 1.576 MB / 0.8478 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.769e-05/0.9578, allocations: 92.64 kB / 0.8479 GB, free: 1 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001489/0.9593, allocations: 1.195 MB / 0.849 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.579e-05/0.9594, allocations: 45.7 kB / 0.8491 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005241/0.9599, allocations: 0.6775 MB / 0.8497 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000326/0.9603, allocations: 383.1 kB / 0.8501 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002933/0.9606, allocations: 178.6 kB / 0.8503 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.9607, allocations: 345.9 kB / 0.8506 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007181/0.9614, allocations: 428.6 kB / 0.851 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008087/0.9623, allocations: 0.5582 MB / 0.8516 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00156/0.9638, allocations: 1.009 MB / 0.8526 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.9638, allocations: 3.984 kB / 0.8526 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002066/0.9659, allocations: 1.214 MB / 0.8537 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.9659, allocations: 19.86 kB / 0.8538 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.966, allocations: 0 / 0.8538 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.966, allocations: 8 kB / 0.8538 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009994/0.967, allocations: 212.7 kB / 0.854 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.993e-05/0.967, allocations: 12.09 kB / 0.854 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.9685, allocations: 186.8 kB / 0.8542 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.111e-05/0.9686, allocations: 43.98 kB / 0.8542 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001278/0.9699, allocations: 0.7368 MB / 0.8549 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000776/0.9707, allocations: 0.5401 MB / 0.8554 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001448/0.9722, allocations: 0.9954 MB / 0.8564 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.995e-06/0.9722, allocations: 0 / 0.8564 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.002053/0.9742, allocations: 1.198 MB / 0.8576 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.9743, allocations: 6.188 kB / 0.8576 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.9743, allocations: 4 kB / 0.8576 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.9743, allocations: 11.94 kB / 0.8576 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009417/0.9752, allocations: 208.7 kB / 0.8578 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.9753, allocations: 8.312 kB / 0.8578 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/0.9767, allocations: 155.3 kB / 0.858 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-05/0.9768, allocations: 36 kB / 0.858 GB, free: 6.508 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.0002917/0.9771, allocations: 241 kB / 0.8582 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002204/0.9773, allocations: 156.5 kB / 0.8584 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002309/0.9796, allocations: 1.236 MB / 0.8596 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.9796, allocations: 16 kB / 0.8596 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.9796, allocations: 0 / 0.8596 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001591/0.9812, allocations: 1.005 MB / 0.8606 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004954/0.9862, allocations: 3.173 MB / 0.8637 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/0.9862, allocations: 4 kB / 0.8637 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001148/0.9874, allocations: 228.6 kB / 0.8639 GB, free: 392 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/0.9874, allocations: 4 kB / 0.8639 GB, free: 388 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.458e-05/0.9875, allocations: 31.98 kB / 0.8639 GB, free: 356 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.137e-05/0.9875, allocations: 11.94 kB / 0.864 GB, free: 344 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.9875, allocations: 6.469 kB / 0.864 GB, free: 340 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002884/0.9904, allocations: 1.906 MB / 0.8658 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006613/0.9911, allocations: 362.9 kB / 0.8662 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002041/0.9913, allocations: 23.98 kB / 0.8662 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/0.9925, allocations: 117 kB / 0.8663 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/0.9926, allocations: 79.53 kB / 0.8664 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-05/0.9927, allocations: 35.98 kB / 0.8664 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001056/0.9938, allocations: 0.8258 MB / 0.8672 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9938, allocations: 0 / 0.8672 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001797/0.9956, allocations: 0.8415 MB / 0.868 GB, free: 12.09 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 (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.001302/0.9969, allocations: 0.5736 MB / 0.8686 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003552/1, allocations: 1.866 MB / 0.8704 GB, free: 9.914 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1, allocations: 5.25 kB / 0.8704 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008823/1.001, allocations: 0.5664 MB / 0.871 GB, free: 9.375 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003713/1.005, allocations: 0.8763 MB / 0.8718 GB, free: 8.543 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005455/1.011, allocations: 3.967 MB / 0.8757 GB, free: 4.531 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008715/1.011, allocations: 1.368 MB / 0.877 GB, free: 3.133 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001858/1.013, allocations: 459.5 kB / 0.8775 GB, free: 2.68 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003655/1.014, allocations: 111.4 kB / 0.8776 GB, free: 2.57 MB / 0.6231 GB Notification: Performance of SimCode: time 6.61e-07/1.014, allocations: 0 / 0.8776 GB, free: 2.57 MB / 0.6231 GB Notification: Performance of Templates: time 0.0472/1.061, allocations: 29.74 MB / 0.9066 GB, free: 5.266 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)