Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.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.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 114 kB / 17.08 MB, free: 5.965 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.001296/0.001296, allocations: 193.9 kB / 18.01 MB, free: 5.055 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.266/1.266, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6845/0.6845, allocations: 115.3 MB / 407.2 MB, free: 6.09 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 69.88 kB / 0.5583 GB, free: 32.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1485, allocations: 76.19 MB / 0.6327 GB, free: 4.387 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02507/0.1736, allocations: 28.53 MB / 0.6606 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01186/0.1854, allocations: 7.913 MB / 0.6683 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001473/0.187, allocations: 39.75 kB / 0.6684 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001125/0.1882, allocations: 405.2 kB / 0.6687 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002621/0.1908, allocations: 1.01 MB / 0.6697 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002591/0.1934, allocations: 1.066 MB / 0.6708 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004753/0.1982, allocations: 4.925 MB / 0.6756 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002578/0.2008, allocations: 2.289 MB / 0.6778 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003665/0.2044, allocations: 1.819 MB / 0.6796 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00217/0.2066, allocations: 1.459 MB / 0.681 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003359/0.207, allocations: 228 kB / 0.6812 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002511/0.2095, allocations: 1.322 MB / 0.6825 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004792/0.21, allocations: 0.5453 MB / 0.6831 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00135/0.2113, allocations: 1.159 MB / 0.6842 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004083/0.2154, allocations: 3.681 MB / 0.6878 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.2155, allocations: 7.938 kB / 0.6878 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.893e-06/0.2155, allocations: 0 / 0.6878 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.891e-05/0.2155, allocations: 0 / 0.6878 GB, free: 11.79 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.004485/0.22, allocations: 2.557 MB / 0.6903 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.22, allocations: 8.031 kB / 0.6903 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007436/0.2208, allocations: 234.5 kB / 0.6905 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002697/0.2235, allocations: 1.804 MB / 0.6923 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.632e-05/0.2236, allocations: 118.6 kB / 0.6924 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002441/0.2238, allocations: 156 kB / 0.6926 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00271/0.2266, allocations: 1.99 MB / 0.6945 GB, free: 4.754 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.369e-05/0.2266, allocations: 11.94 kB / 0.6945 GB, free: 4.742 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/0.2267, allocations: 56 kB / 0.6946 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-05/0.2268, allocations: 43.98 kB / 0.6946 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002424/0.2292, allocations: 1.798 MB / 0.6964 GB, free: 2.84 MB / 0.5294 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.01003/0.2393, allocations: 7.598 MB / 0.7038 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.241, allocations: 1.445 MB / 0.7052 GB, free: 9.457 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007769/0.2418, allocations: 0.6646 MB / 0.7058 GB, free: 8.789 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005838/0.2476, allocations: 3.858 MB / 0.7096 GB, free: 4.613 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.2477, allocations: 47.56 kB / 0.7096 GB, free: 4.559 MB / 0.545 GB Notification: Performance of pre-optimization done (n=88): time 3.597e-06/0.2477, allocations: 0 / 0.7096 GB, free: 4.559 MB / 0.545 GB Notification: Performance of matching and sorting (n=88): time 0.002348/0.25, allocations: 1.502 MB / 0.7111 GB, free: 3.055 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.2501, allocations: 64.41 kB / 0.7112 GB, free: 2.977 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00244/0.2525, allocations: 1.645 MB / 0.7128 GB, free: 1.32 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.729e-05/0.2526, allocations: 57.7 kB / 0.7128 GB, free: 1.258 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006079/0.2532, allocations: 0.7536 MB / 0.7136 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002725/0.2535, allocations: 311.5 kB / 0.7139 GB, free: 192 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004241/0.254, allocations: 291.5 kB / 0.7141 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.2541, allocations: 361.9 kB / 0.7145 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009479/0.2551, allocations: 0.6995 MB / 0.7152 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/0.2563, allocations: 1.02 MB / 0.7162 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001986/0.2583, allocations: 1.62 MB / 0.7178 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.2583, allocations: 3.938 kB / 0.7178 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002899/0.2612, allocations: 1.959 MB / 0.7197 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.2612, allocations: 8 kB / 0.7197 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.2612, allocations: 8 kB / 0.7197 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.961e-05/0.2613, allocations: 16.75 kB / 0.7197 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/0.2625, allocations: 335.5 kB / 0.72 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.48e-05/0.2625, allocations: 27.92 kB / 0.7201 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/0.2637, allocations: 198.1 kB / 0.7202 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.2639, allocations: 59.98 kB / 0.7203 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001811/0.2657, allocations: 1.284 MB / 0.7216 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001197/0.2669, allocations: 1.024 MB / 0.7226 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001942/0.2688, allocations: 1.624 MB / 0.7241 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.867e-06/0.2689, allocations: 0 / 0.7241 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.002802/0.2717, allocations: 1.952 MB / 0.726 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.2717, allocations: 11.94 kB / 0.7261 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.2717, allocations: 8.125 kB / 0.7261 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.2717, allocations: 16 kB / 0.7261 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.2729, allocations: 339.5 kB / 0.7264 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.723e-05/0.2729, allocations: 19.94 kB / 0.7264 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.274, allocations: 150.9 kB / 0.7266 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.816e-05/0.2741, allocations: 55.98 kB / 0.7266 GB, free: 2.586 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (175): * Single equations (assignments): 175 * 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.0003275/0.2744, allocations: 272 kB / 0.7269 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000269/0.2747, allocations: 150.1 kB / 0.727 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001882/0.2766, allocations: 1.273 MB / 0.7283 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/0.2766, allocations: 8 kB / 0.7283 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.2766, allocations: 0 / 0.7283 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00133/0.2779, allocations: 1.292 MB / 0.7295 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003772/0.2817, allocations: 2.959 MB / 0.7324 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.2817, allocations: 0 / 0.7324 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007478/0.2825, allocations: 191.8 kB / 0.7326 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-06/0.2825, allocations: 4 kB / 0.7326 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.726e-05/0.2826, allocations: 28.11 kB / 0.7326 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.2826, allocations: 4 kB / 0.7326 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.2826, allocations: 3.938 kB / 0.7326 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002309/0.2849, allocations: 1.917 MB / 0.7345 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006168/0.2855, allocations: 398.8 kB / 0.7349 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001924/0.2857, allocations: 23.98 kB / 0.7349 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007254/0.2865, allocations: 47.89 kB / 0.735 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.241e-05/0.2866, allocations: 52.86 kB / 0.735 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.906e-05/0.2866, allocations: 39.97 kB / 0.7351 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001711/0.2884, allocations: 1.234 MB / 0.7363 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2884, allocations: 0 / 0.7363 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002201/0.2906, allocations: 0.924 MB / 0.7372 GB, free: 7.555 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (indTanHex.vol[1].dynBal.U,indTanHex.vol[2].dynBal.U,indTanHex.vol[3].dynBal.U,indTanHex.cap[1].T,indTanHex.cap[2].T,indTanHex.cap[3].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * 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.0008209/0.2914, allocations: 372.1 kB / 0.7375 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003429/0.2948, allocations: 2.325 MB / 0.7398 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.2949, allocations: 0 / 0.7398 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006636/0.2955, allocations: 0.5289 MB / 0.7403 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003341/0.2989, allocations: 0.9132 MB / 0.7412 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3107/0.6096, allocations: 3.636 MB / 0.7447 GB, free: 104.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00151/0.6112, allocations: 1.634 MB / 0.7463 GB, free: 104 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006988/0.6119, allocations: 144.9 kB / 0.7465 GB, free: 103.9 MB / 0.5762 GB Notification: Performance of SimCode: time 1.182e-06/0.6119, allocations: 0 / 0.7465 GB, free: 103.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.05587/0.6677, allocations: 33.06 MB / 0.7788 GB, free: 87.49 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)