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.001418/0.001418, allocations: 92.22 kB / 20.43 MB, free: 4.141 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.001597/0.001597, allocations: 165 kB / 23.8 MB, free: 0.7695 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.9431/0.9431, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.6161/0.6161, allocations: 115 MB / 375.7 MB, free: 7.621 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 2.014e-06/2.014e-06, allocations: 0 / 481.5 MB, free: 11.91 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.199e-05/3.4e-05, allocations: 4.531 kB / 481.5 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.01378/0.01381, allocations: 10.42 MB / 491.9 MB, free: 4.965 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008161/0.02198, allocations: 5.639 MB / 497.6 MB, free: 1.262 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/0.023, allocations: 52.59 kB / 497.6 MB, free: 1.234 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006492/0.02365, allocations: 256.2 kB / 497.9 MB, free: 1.094 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001879/0.02553, allocations: 0.8734 MB / 498.7 MB, free: 0.5508 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002626/0.02816, allocations: 1.278 MB / 0.4883 GB, free: 15.9 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.004913/0.03307, allocations: 5.107 MB / 0.4933 GB, free: 13.37 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002168/0.03524, allocations: 1.618 MB / 0.4949 GB, free: 12.37 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003803/0.03904, allocations: 2.395 MB / 0.4972 GB, free: 11.24 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002169/0.04121, allocations: 1.484 MB / 0.4986 GB, free: 10.02 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004174/0.04163, allocations: 232.9 kB / 0.4989 GB, free: 9.793 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00162/0.04325, allocations: 1.015 MB / 0.4999 GB, free: 8.98 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004236/0.04367, allocations: 0.5895 MB / 0.5004 GB, free: 8.477 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008666/0.04454, allocations: 0.838 MB / 0.5013 GB, free: 7.707 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002507/0.04704, allocations: 2.449 MB / 0.5036 GB, free: 5.711 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.04705, allocations: 4.656 kB / 0.5036 GB, free: 5.707 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.04705, allocations: 0.7188 kB / 0.5036 GB, free: 5.707 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.693e-05/0.0471, allocations: 0 / 0.5036 GB, free: 5.707 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.003313/0.05041, allocations: 2.744 MB / 0.5063 GB, free: 3.051 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.05045, allocations: 11.28 kB / 0.5063 GB, free: 3.043 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006284/0.05108, allocations: 379.3 kB / 0.5067 GB, free: 2.672 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002016/0.05309, allocations: 1.672 MB / 0.5083 GB, free: 0.9688 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.032e-05/0.05315, allocations: 110.7 kB / 0.5084 GB, free: 0.8594 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001714/0.05332, allocations: 167.9 kB / 0.5086 GB, free: 0.6953 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001509/0.05483, allocations: 1.398 MB / 0.51 GB, free: 15.16 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.934e-05/0.05486, allocations: 7.938 kB / 0.51 GB, free: 15.16 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.703e-05/0.05495, allocations: 60 kB / 0.51 GB, free: 15.1 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.51e-05/0.05498, allocations: 36 kB / 0.5101 GB, free: 15.06 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009778/0.05596, allocations: 0.59 MB / 0.5106 GB, free: 14.46 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005695/0.06166, allocations: 6.01 MB / 0.5165 GB, free: 8.328 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008429/0.0625, allocations: 0.6276 MB / 0.5171 GB, free: 7.699 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003312/0.06283, allocations: 251.2 kB / 0.5174 GB, free: 7.449 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002736/0.06557, allocations: 1.983 MB / 0.5193 GB, free: 5.461 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.0656, allocations: 50.39 kB / 0.5193 GB, free: 5.402 MB / 442.7 MB Notification: Performance of pre-optimization done (n=88): time 1.633e-06/0.0656, allocations: 0 / 0.5193 GB, free: 5.402 MB / 442.7 MB Notification: Performance of matching and sorting (n=88): time 0.001056/0.06666, allocations: 0.7065 MB / 0.52 GB, free: 4.695 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.06669, allocations: 60.41 kB / 0.5201 GB, free: 4.621 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.06779, allocations: 1.32 MB / 0.5214 GB, free: 3.266 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.817e-05/0.06785, allocations: 45.7 kB / 0.5214 GB, free: 3.215 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004739/0.06832, allocations: 0.9016 MB / 0.5223 GB, free: 2.301 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001914/0.06851, allocations: 345.2 kB / 0.5226 GB, free: 1.961 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003452/0.06886, allocations: 341.1 kB / 0.523 GB, free: 1.621 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.934e-05/0.06896, allocations: 484.8 kB / 0.5234 GB, free: 1.145 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003636/0.06932, allocations: 199.5 kB / 0.5236 GB, free: 0.9453 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006473/0.06997, allocations: 0.8902 MB / 0.5245 GB, free: 15.81 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009301/0.0709, allocations: 0.9824 MB / 0.5254 GB, free: 14.62 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.07091, allocations: 4 kB / 0.5254 GB, free: 14.61 MB / 458.7 MB Notification: Performance of matching and sorting (n=184) (initialization): time 0.001421/0.07233, allocations: 1.082 MB / 0.5265 GB, free: 13.52 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.07235, allocations: 12 kB / 0.5265 GB, free: 13.51 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.07236, allocations: 8 kB / 0.5265 GB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.07238, allocations: 20 kB / 0.5265 GB, free: 13.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006714/0.07305, allocations: 355.5 kB / 0.5269 GB, free: 13.14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/0.07307, allocations: 19.94 kB / 0.5269 GB, free: 13.12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005171/0.07358, allocations: 190.8 kB / 0.5271 GB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.564e-05/0.07367, allocations: 71.92 kB / 0.5271 GB, free: 12.86 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005216/0.07419, allocations: 342.9 kB / 0.5275 GB, free: 12.52 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006172/0.07481, allocations: 0.8863 MB / 0.5283 GB, free: 11.39 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009057/0.07571, allocations: 0.9784 MB / 0.5293 GB, free: 10.21 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.47e-06/0.07572, allocations: 4 kB / 0.5293 GB, free: 10.21 MB / 458.7 MB Notification: Performance of matching and sorting (n=184) (initialization_lambda0): time 0.001361/0.07708, allocations: 1.082 MB / 0.5304 GB, free: 9.117 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.07709, allocations: 12.06 kB / 0.5304 GB, free: 9.105 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.0771, allocations: 12 kB / 0.5304 GB, free: 9.094 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.07711, allocations: 16 kB / 0.5304 GB, free: 9.078 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006499/0.07776, allocations: 355.4 kB / 0.5307 GB, free: 8.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/0.07777, allocations: 27.92 kB / 0.5308 GB, free: 8.703 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004744/0.07825, allocations: 155.2 kB / 0.5309 GB, free: 8.551 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.289e-05/0.07832, allocations: 67.98 kB / 0.531 GB, free: 8.484 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.000194/0.07852, allocations: 347.6 kB / 0.5313 GB, free: 8.137 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001882/0.0787, allocations: 179 kB / 0.5315 GB, free: 7.961 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008847/0.07959, allocations: 0.7218 MB / 0.5322 GB, free: 7.223 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.0796, allocations: 8 kB / 0.5322 GB, free: 7.215 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.0796, allocations: 0 / 0.5322 GB, free: 7.215 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007174/0.08032, allocations: 0.738 MB / 0.5329 GB, free: 6.395 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00213/0.08245, allocations: 2.066 MB / 0.5349 GB, free: 4.262 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.08245, allocations: 8.031 kB / 0.5349 GB, free: 4.254 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004063/0.08286, allocations: 187.8 kB / 0.5351 GB, free: 4.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.08286, allocations: 4 kB / 0.5351 GB, free: 4.066 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.709e-05/0.0829, allocations: 23.98 kB / 0.5351 GB, free: 4.043 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.0829, allocations: 4 kB / 0.5351 GB, free: 4.039 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.08291, allocations: 4 kB / 0.5351 GB, free: 4.035 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.08395, allocations: 0.9723 MB / 0.5361 GB, free: 3.02 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003386/0.08429, allocations: 282.8 kB / 0.5364 GB, free: 2.742 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-05/0.08439, allocations: 27.98 kB / 0.5364 GB, free: 2.715 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003348/0.08472, allocations: 43.95 kB / 0.5364 GB, free: 2.672 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.862e-05/0.08479, allocations: 56.83 kB / 0.5365 GB, free: 2.617 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.181e-05/0.08483, allocations: 35.98 kB / 0.5365 GB, free: 2.582 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006579/0.08549, allocations: 0.7166 MB / 0.5372 GB, free: 1.863 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.08549, allocations: 0 / 0.5372 GB, free: 1.863 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001552/0.08704, allocations: 0.9705 MB / 0.5382 GB, free: 0.8906 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.0004329/0.08748, allocations: 276.1 kB / 0.5384 GB, free: 0.6133 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001513/0.08899, allocations: 1.206 MB / 0.5396 GB, free: 15.41 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.08899, allocations: 7.938 kB / 0.5396 GB, free: 15.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002923/0.08929, allocations: 275.2 kB / 0.5399 GB, free: 15.12 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001562/0.09085, allocations: 0.7159 MB / 0.5406 GB, free: 14.46 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003586/0.09443, allocations: 2.916 MB / 0.5434 GB, free: 11.48 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.09476, allocations: 0.5003 MB / 0.5439 GB, free: 10.96 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001245/0.09601, allocations: 0.7527 MB / 0.5447 GB, free: 10.22 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002378/0.09625, allocations: 124.5 kB / 0.5448 GB, free: 10.1 MB / 474.7 MB Notification: Performance of SimCode: time 8.82e-07/0.09625, allocations: 0 / 0.5448 GB, free: 10.1 MB / 474.7 MB Notification: Performance of Templates: time 0.0327/0.1289, allocations: 29.99 MB / 0.5741 GB, free: 12.69 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.16385001828894]