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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 81.95 kB / 21.44 MB, free: 3.059 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001869/0.001869, allocations: 172 kB / 24.83 MB, free: 8.914 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9606/0.9606, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6797/0.6797, allocations: 115 MB / 376.8 MB, free: 7.48 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 482.7 MB, free: 11.76 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.111e-05/1.284e-05, allocations: 2.312 kB / 482.8 MB, free: 11.75 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.01069/0.0107, allocations: 10.27 MB / 493 MB, free: 4.816 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008609/0.01931, allocations: 5.598 MB / 498.6 MB, free: 1.098 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006284/0.01994, allocations: 52.09 kB / 498.7 MB, free: 1.07 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006452/0.02058, allocations: 255.2 kB / 498.9 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001665/0.02225, allocations: 0.8708 MB / 499.8 MB, free: 400 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002372/0.02462, allocations: 1.28 MB / 0.4893 GB, free: 15.74 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.004651/0.02927, allocations: 5.105 MB / 0.4943 GB, free: 13.21 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00151/0.03078, allocations: 1.621 MB / 0.4959 GB, free: 12.21 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002861/0.03364, allocations: 2.458 MB / 0.4983 GB, free: 11.14 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002039/0.03568, allocations: 1.482 MB / 0.4997 GB, free: 9.926 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000218/0.0359, allocations: 228 kB / 0.5 GB, free: 9.703 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001303/0.0372, allocations: 0.9938 MB / 0.5009 GB, free: 8.91 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004326/0.03764, allocations: 0.5887 MB / 0.5015 GB, free: 8.406 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007046/0.03834, allocations: 0.8256 MB / 0.5023 GB, free: 7.648 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002163/0.0405, allocations: 2.44 MB / 0.5047 GB, free: 5.656 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.04051, allocations: 5.406 kB / 0.5047 GB, free: 5.652 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.04051, allocations: 0.9375 kB / 0.5047 GB, free: 5.652 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.431e-05/0.04052, allocations: 0 / 0.5047 GB, free: 5.652 MB / 426.7 MB 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.002735/0.04326, allocations: 2.576 MB / 0.5072 GB, free: 3.102 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.04329, allocations: 8.031 kB / 0.5072 GB, free: 3.094 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005586/0.04385, allocations: 374.1 kB / 0.5076 GB, free: 2.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001504/0.04535, allocations: 1.44 MB / 0.509 GB, free: 1.254 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.672e-05/0.04541, allocations: 114.7 kB / 0.5091 GB, free: 1.141 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/0.04558, allocations: 156 kB / 0.5092 GB, free: 0.9883 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.04671, allocations: 1.311 MB / 0.5105 GB, free: 15.54 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.814e-05/0.04673, allocations: 7.891 kB / 0.5105 GB, free: 15.54 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.583e-05/0.04682, allocations: 56 kB / 0.5106 GB, free: 15.48 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.03e-05/0.04686, allocations: 44.48 kB / 0.5106 GB, free: 15.44 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006125/0.04747, allocations: 481.9 kB / 0.5111 GB, free: 14.95 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004905/0.05238, allocations: 5.402 MB / 0.5164 GB, free: 9.43 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006117/0.05299, allocations: 0.5576 MB / 0.5169 GB, free: 8.863 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002286/0.05322, allocations: 219.1 kB / 0.5171 GB, free: 8.645 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002466/0.05568, allocations: 1.737 MB / 0.5188 GB, free: 6.906 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.05571, allocations: 50.33 kB / 0.5189 GB, free: 6.848 MB / 442.7 MB Notification: Performance of pre-optimization done (n=88): time 2.154e-06/0.05571, allocations: 0 / 0.5189 GB, free: 6.848 MB / 442.7 MB Notification: Performance of matching and sorting (n=88): time 0.0007963/0.05651, allocations: 0.6245 MB / 0.5195 GB, free: 6.223 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.05654, allocations: 68.41 kB / 0.5195 GB, free: 6.141 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009029/0.05744, allocations: 1.28 MB / 0.5208 GB, free: 4.824 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.931e-05/0.0575, allocations: 53.7 kB / 0.5208 GB, free: 4.766 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004662/0.05797, allocations: 0.9019 MB / 0.5217 GB, free: 3.852 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001858/0.05815, allocations: 353.2 kB / 0.5221 GB, free: 3.504 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003034/0.05846, allocations: 349.9 kB / 0.5224 GB, free: 3.156 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.341e-05/0.05855, allocations: 484.7 kB / 0.5228 GB, free: 2.68 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002225/0.05877, allocations: 157 kB / 0.523 GB, free: 2.523 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005065/0.05928, allocations: 0.8393 MB / 0.5238 GB, free: 1.441 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007338/0.06001, allocations: 0.9356 MB / 0.5247 GB, free: 308 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-06/0.06002, allocations: 4 kB / 0.5247 GB, free: 304 kB / 442.7 MB Notification: Performance of matching and sorting (n=184) (initialization): time 0.001386/0.06141, allocations: 0.9723 MB / 0.5257 GB, free: 15.31 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.06142, allocations: 8 kB / 0.5257 GB, free: 15.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.06143, allocations: 12 kB / 0.5257 GB, free: 15.29 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.06145, allocations: 16.78 kB / 0.5257 GB, free: 15.28 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006497/0.0621, allocations: 339.5 kB / 0.526 GB, free: 14.95 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.06212, allocations: 23.92 kB / 0.5261 GB, free: 14.92 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004591/0.06258, allocations: 146.8 kB / 0.5262 GB, free: 14.78 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.229e-05/0.06265, allocations: 55.98 kB / 0.5263 GB, free: 14.72 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003936/0.06304, allocations: 302.7 kB / 0.5266 GB, free: 14.42 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007918/0.06383, allocations: 0.8431 MB / 0.5274 GB, free: 13.34 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007102/0.06454, allocations: 0.9236 MB / 0.5283 GB, free: 12.21 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.799e-06/0.06455, allocations: 4 kB / 0.5283 GB, free: 12.21 MB / 458.7 MB Notification: Performance of matching and sorting (n=184) (initialization_lambda0): time 0.001063/0.06561, allocations: 0.9803 MB / 0.5292 GB, free: 11.22 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.06562, allocations: 15.94 kB / 0.5293 GB, free: 11.21 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.06563, allocations: 8 kB / 0.5293 GB, free: 11.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.06564, allocations: 20 kB / 0.5293 GB, free: 11.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000601/0.06624, allocations: 319.5 kB / 0.5296 GB, free: 10.87 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.634e-05/0.06626, allocations: 28.48 kB / 0.5296 GB, free: 10.84 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004148/0.06667, allocations: 111.2 kB / 0.5297 GB, free: 10.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.467e-05/0.06674, allocations: 51.98 kB / 0.5298 GB, free: 10.68 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (184): * Single equations (assignments): 184 * 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.0001669/0.0669, allocations: 355.6 kB / 0.5301 GB, free: 10.32 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001798/0.06708, allocations: 179 kB / 0.5303 GB, free: 10.15 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007332/0.06782, allocations: 0.6748 MB / 0.5309 GB, free: 9.461 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.06782, allocations: 12 kB / 0.5309 GB, free: 9.449 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.06783, allocations: 0 / 0.5309 GB, free: 9.449 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007221/0.06855, allocations: 0.6872 MB / 0.5316 GB, free: 8.68 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001608/0.07016, allocations: 1.653 MB / 0.5332 GB, free: 6.969 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.07016, allocations: 0 / 0.5332 GB, free: 6.969 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000388/0.07055, allocations: 167.8 kB / 0.5334 GB, free: 6.805 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.07055, allocations: 7.938 kB / 0.5334 GB, free: 6.797 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.385e-05/0.07059, allocations: 24.12 kB / 0.5334 GB, free: 6.773 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.07059, allocations: 11.98 kB / 0.5334 GB, free: 6.762 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.07059, allocations: 4 kB / 0.5334 GB, free: 6.758 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008495/0.07144, allocations: 0.8942 MB / 0.5343 GB, free: 5.82 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003023/0.07174, allocations: 258.9 kB / 0.5346 GB, free: 5.566 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.07185, allocations: 27.94 kB / 0.5346 GB, free: 5.539 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000331/0.07218, allocations: 27.98 kB / 0.5346 GB, free: 5.512 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.282e-05/0.07225, allocations: 48.91 kB / 0.5347 GB, free: 5.465 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.106e-05/0.07229, allocations: 31.97 kB / 0.5347 GB, free: 5.434 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004654/0.07275, allocations: 0.6734 MB / 0.5353 GB, free: 4.758 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.07275, allocations: 0 / 0.5353 GB, free: 4.758 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001329/0.07408, allocations: 0.9705 MB / 0.5363 GB, free: 3.785 MB / 458.7 MB 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.0004068/0.07449, allocations: 263.5 kB / 0.5365 GB, free: 3.52 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001129/0.07562, allocations: 1.101 MB / 0.5376 GB, free: 2.422 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.07562, allocations: 4.062 kB / 0.5376 GB, free: 2.418 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000243/0.07586, allocations: 259.2 kB / 0.5379 GB, free: 2.156 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001784/0.07765, allocations: 0.7048 MB / 0.5386 GB, free: 1.504 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002826/0.08047, allocations: 2.9 MB / 0.5414 GB, free: 14.54 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.0808, allocations: 0.5003 MB / 0.5419 GB, free: 14.02 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0007294/0.08153, allocations: 320.2 kB / 0.5422 GB, free: 13.72 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009363/0.08247, allocations: 0.5954 MB / 0.5428 GB, free: 13.12 MB / 474.7 MB Notification: Performance of SimCode: time 1.032e-06/0.08247, allocations: 0 / 0.5428 GB, free: 13.12 MB / 474.7 MB Notification: Performance of Templates: time 0.03991/0.1224, allocations: 33.3 MB / 0.5753 GB, free: 12.44 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile [Timeout 660] (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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.132646685931832]