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.0009763/0.0009763, allocations: 73.88 kB / 20.65 MB, free: 3.84 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.0009973/0.0009973, allocations: 169 kB / 24.05 MB, free: 448 kB / 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.9586/0.9586, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.5988/0.5988, allocations: 115 MB / 376 MB, free: 7.504 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.723e-06/1.723e-06, allocations: 0 / 482 MB, free: 11.7 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.684e-05/2.856e-05, allocations: 4.703 kB / 482 MB, free: 11.7 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.008936/0.008964, allocations: 10.28 MB / 492.2 MB, free: 4.758 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008044/0.01701, allocations: 5.584 MB / 497.8 MB, free: 1.047 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/0.01838, allocations: 53.38 kB / 497.9 MB, free: 1.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006728/0.01906, allocations: 260.4 kB / 498.1 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001992/0.02105, allocations: 0.8718 MB / 499 MB, free: 344 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002938/0.02399, allocations: 1.284 MB / 0.4886 GB, free: 15.68 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.005403/0.02939, allocations: 5.103 MB / 0.4935 GB, free: 13.15 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002611/0.032, allocations: 1.618 MB / 0.4951 GB, free: 12.16 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005537/0.03754, allocations: 2.46 MB / 0.4975 GB, free: 11.1 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003085/0.04062, allocations: 1.486 MB / 0.499 GB, free: 9.879 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006281/0.04125, allocations: 228 kB / 0.4992 GB, free: 9.656 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002293/0.04354, allocations: 0.9898 MB / 0.5002 GB, free: 8.867 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000573/0.04412, allocations: 0.5852 MB / 0.5007 GB, free: 8.367 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001723/0.04584, allocations: 0.8302 MB / 0.5015 GB, free: 7.605 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004393/0.05023, allocations: 2.436 MB / 0.5039 GB, free: 5.617 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.05024, allocations: 4 kB / 0.5039 GB, free: 5.613 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.093e-06/0.05024, allocations: 0.75 kB / 0.5039 GB, free: 5.613 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.697e-05/0.05031, allocations: 0 / 0.5039 GB, free: 5.613 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.004536/0.05485, allocations: 2.577 MB / 0.5064 GB, free: 3.109 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.0549, allocations: 8.031 kB / 0.5064 GB, free: 3.102 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008721/0.05577, allocations: 373.8 kB / 0.5068 GB, free: 2.738 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002134/0.0579, allocations: 1.436 MB / 0.5082 GB, free: 1.266 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00016/0.05806, allocations: 118.7 kB / 0.5083 GB, free: 1.148 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000216/0.05828, allocations: 152 kB / 0.5085 GB, free: 1 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001709/0.05999, allocations: 1.32 MB / 0.5098 GB, free: 15.55 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.918e-05/0.06003, allocations: 11.88 kB / 0.5098 GB, free: 15.54 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/0.06014, allocations: 61.5 kB / 0.5098 GB, free: 15.48 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.535e-05/0.0602, allocations: 39.98 kB / 0.5099 GB, free: 15.44 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.06123, allocations: 481.5 kB / 0.5103 GB, free: 14.95 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007362/0.06859, allocations: 5.392 MB / 0.5156 GB, free: 9.441 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008257/0.06941, allocations: 0.5657 MB / 0.5161 GB, free: 8.867 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003036/0.06972, allocations: 215.4 kB / 0.5163 GB, free: 8.652 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00324/0.07296, allocations: 1.748 MB / 0.5181 GB, free: 6.914 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.07299, allocations: 46.92 kB / 0.5181 GB, free: 6.859 MB / 442.7 MB Notification: Performance of pre-optimization done (n=88): time 2.885e-06/0.073, allocations: 0 / 0.5181 GB, free: 6.859 MB / 442.7 MB Notification: Performance of matching and sorting (n=88): time 0.001159/0.07415, allocations: 0.6329 MB / 0.5187 GB, free: 6.227 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.07419, allocations: 60.94 kB / 0.5188 GB, free: 6.152 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/0.07566, allocations: 1.284 MB / 0.52 GB, free: 4.832 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.426e-05/0.07574, allocations: 57.7 kB / 0.5201 GB, free: 4.77 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009593/0.0767, allocations: 0.9052 MB / 0.521 GB, free: 3.852 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002777/0.07698, allocations: 349.2 kB / 0.5213 GB, free: 3.508 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000409/0.07738, allocations: 353 kB / 0.5216 GB, free: 3.156 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.0775, allocations: 480.7 kB / 0.5221 GB, free: 2.684 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003184/0.07782, allocations: 155.5 kB / 0.5222 GB, free: 2.527 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006793/0.0785, allocations: 0.851 MB / 0.5231 GB, free: 1.434 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.0795, allocations: 0.9236 MB / 0.524 GB, free: 308 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.188e-05/0.07951, allocations: 4 kB / 0.524 GB, free: 304 kB / 442.7 MB Notification: Performance of matching and sorting (n=184) (initialization): time 0.001633/0.08115, allocations: 0.9763 MB / 0.5249 GB, free: 15.31 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.08117, allocations: 10.19 kB / 0.5249 GB, free: 15.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.832e-05/0.08119, allocations: 12 kB / 0.525 GB, free: 15.29 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.787e-05/0.08122, allocations: 20.75 kB / 0.525 GB, free: 15.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008782/0.0821, allocations: 327.5 kB / 0.5253 GB, free: 14.95 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.941e-05/0.08213, allocations: 31.91 kB / 0.5253 GB, free: 14.92 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008168/0.08294, allocations: 150.8 kB / 0.5255 GB, free: 14.77 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.525e-05/0.08304, allocations: 51.98 kB / 0.5255 GB, free: 14.72 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007066/0.08374, allocations: 302.7 kB / 0.5258 GB, free: 14.42 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006743/0.08442, allocations: 0.8469 MB / 0.5266 GB, free: 13.34 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001256/0.08567, allocations: 0.9236 MB / 0.5275 GB, free: 12.21 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.195e-06/0.08568, allocations: 0 / 0.5275 GB, free: 12.21 MB / 458.7 MB Notification: Performance of matching and sorting (n=184) (initialization_lambda0): time 0.001543/0.08722, allocations: 0.9803 MB / 0.5285 GB, free: 11.22 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.08725, allocations: 15.94 kB / 0.5285 GB, free: 11.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.08726, allocations: 12 kB / 0.5285 GB, free: 11.19 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.08728, allocations: 16 kB / 0.5285 GB, free: 11.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008345/0.08811, allocations: 319.5 kB / 0.5288 GB, free: 10.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.501e-05/0.08814, allocations: 32.36 kB / 0.5289 GB, free: 10.83 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006855/0.08882, allocations: 115.2 kB / 0.529 GB, free: 10.72 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.642e-05/0.08891, allocations: 52.11 kB / 0.529 GB, free: 10.67 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.0003007/0.08921, allocations: 347.7 kB / 0.5294 GB, free: 10.32 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002702/0.08948, allocations: 179 kB / 0.5295 GB, free: 10.14 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.09054, allocations: 0.6798 MB / 0.5302 GB, free: 9.453 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.09055, allocations: 12 kB / 0.5302 GB, free: 9.441 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.09055, allocations: 7.984 kB / 0.5302 GB, free: 9.434 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006468/0.0912, allocations: 0.6794 MB / 0.5309 GB, free: 8.672 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002788/0.09399, allocations: 1.653 MB / 0.5325 GB, free: 6.961 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.094, allocations: 0 / 0.5325 GB, free: 6.961 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006162/0.09461, allocations: 171.7 kB / 0.5326 GB, free: 6.793 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.097e-05/0.09462, allocations: 8 kB / 0.5327 GB, free: 6.785 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.284e-05/0.09469, allocations: 24 kB / 0.5327 GB, free: 6.762 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.237e-06/0.0947, allocations: 12.11 kB / 0.5327 GB, free: 6.75 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.0947, allocations: 0 / 0.5327 GB, free: 6.75 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/0.09612, allocations: 0.8942 MB / 0.5336 GB, free: 5.812 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008896/0.09701, allocations: 262.8 kB / 0.5338 GB, free: 5.555 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/0.0972, allocations: 27.94 kB / 0.5338 GB, free: 5.527 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000551/0.09775, allocations: 23.98 kB / 0.5339 GB, free: 5.504 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.182e-05/0.09784, allocations: 48.91 kB / 0.5339 GB, free: 5.457 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-05/0.09792, allocations: 31.97 kB / 0.5339 GB, free: 5.426 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001005/0.09892, allocations: 0.6656 MB / 0.5346 GB, free: 4.758 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.09892, allocations: 4 kB / 0.5346 GB, free: 4.754 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003462/0.1024, allocations: 0.9705 MB / 0.5355 GB, free: 3.781 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.000762/0.1031, allocations: 266.6 kB / 0.5358 GB, free: 3.512 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002533/0.1057, allocations: 1.097 MB / 0.5369 GB, free: 2.418 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.371e-05/0.1057, allocations: 12 kB / 0.5369 GB, free: 2.406 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005114/0.1062, allocations: 251.3 kB / 0.5371 GB, free: 2.152 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003001/0.1092, allocations: 0.7151 MB / 0.5378 GB, free: 1.488 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005822/0.115, allocations: 2.9 MB / 0.5407 GB, free: 14.52 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005758/0.1156, allocations: 0.5003 MB / 0.5411 GB, free: 14 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001836/0.1174, allocations: 302.6 kB / 0.5414 GB, free: 13.72 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001562/0.119, allocations: 0.5954 MB / 0.542 GB, free: 13.12 MB / 474.7 MB Notification: Performance of SimCode: time 1.974e-06/0.119, allocations: 0 / 0.542 GB, free: 13.12 MB / 474.7 MB Notification: Performance of Templates: time 0.04044/0.1594, allocations: 32.87 MB / 0.5741 GB, free: 12.91 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.084954414982349]