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.0009582/0.0009582, allocations: 92.11 kB / 20.43 MB, free: 4.145 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.001107/0.001107, allocations: 165 kB / 23.8 MB, free: 0.7734 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.9966/0.9966, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.655/0.655, allocations: 115 MB / 375.7 MB, free: 7.648 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.362e-06/1.362e-06, allocations: 0 / 481.5 MB, free: 11.96 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.641e-05/1.777e-05, allocations: 6.234 kB / 481.5 MB, free: 11.96 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.01865/0.01866, allocations: 10.42 MB / 491.9 MB, free: 5.012 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01/0.02867, allocations: 5.645 MB / 497.6 MB, free: 1.305 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006013/0.02927, allocations: 57.19 kB / 497.6 MB, free: 1.273 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006299/0.0299, allocations: 255.5 kB / 497.9 MB, free: 1.133 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001452/0.03135, allocations: 0.8642 MB / 498.7 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002046/0.0334, allocations: 1.279 MB / 0.4883 GB, free: 15.95 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003885/0.03728, allocations: 5.108 MB / 0.4933 GB, free: 13.42 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001556/0.03884, allocations: 1.624 MB / 0.4949 GB, free: 12.41 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002784/0.04162, allocations: 2.46 MB / 0.4973 GB, free: 11.21 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001394/0.04302, allocations: 1.491 MB / 0.4987 GB, free: 9.98 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002191/0.04323, allocations: 228.9 kB / 0.499 GB, free: 9.758 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001362/0.0446, allocations: 0.994 MB / 0.4999 GB, free: 8.965 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003957/0.04499, allocations: 0.5811 MB / 0.5005 GB, free: 8.469 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006424/0.04563, allocations: 0.8255 MB / 0.5013 GB, free: 7.711 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00234/0.04798, allocations: 2.436 MB / 0.5037 GB, free: 5.723 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.04798, allocations: 0.9375 kB / 0.5037 GB, free: 5.723 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.04798, allocations: 0 / 0.5037 GB, free: 5.723 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.048, allocations: 1.406 kB / 0.5037 GB, free: 5.723 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.002669/0.05066, allocations: 2.72 MB / 0.5063 GB, free: 3.066 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.05071, allocations: 12.03 kB / 0.5063 GB, free: 3.055 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005456/0.05125, allocations: 376.8 kB / 0.5067 GB, free: 2.688 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001438/0.05269, allocations: 1.518 MB / 0.5082 GB, free: 1.133 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.643e-05/0.05275, allocations: 116.5 kB / 0.5083 GB, free: 1.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/0.0529, allocations: 156 kB / 0.5084 GB, free: 0.8672 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.05436, allocations: 1.397 MB / 0.5098 GB, free: 15.34 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.8e-05/0.05439, allocations: 7.953 kB / 0.5098 GB, free: 15.33 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.294e-05/0.05447, allocations: 56 kB / 0.5099 GB, free: 15.27 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-05/0.05452, allocations: 42.44 kB / 0.5099 GB, free: 15.23 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.05554, allocations: 0.589 MB / 0.5105 GB, free: 14.64 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005747/0.06128, allocations: 6.006 MB / 0.5164 GB, free: 8.504 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007817/0.06206, allocations: 0.6206 MB / 0.517 GB, free: 7.875 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003125/0.06238, allocations: 251.7 kB / 0.5172 GB, free: 7.625 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002578/0.06495, allocations: 1.984 MB / 0.5191 GB, free: 5.637 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.06498, allocations: 46.33 kB / 0.5192 GB, free: 5.582 MB / 442.7 MB Notification: Performance of pre-optimization done (n=88): time 2.104e-06/0.06499, allocations: 0 / 0.5192 GB, free: 5.582 MB / 442.7 MB Notification: Performance of matching and sorting (n=88): time 0.00102/0.06601, allocations: 0.7027 MB / 0.5199 GB, free: 4.879 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.06604, allocations: 64.41 kB / 0.5199 GB, free: 4.801 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.06711, allocations: 1.308 MB / 0.5212 GB, free: 3.457 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.347e-05/0.06718, allocations: 49.7 kB / 0.5213 GB, free: 3.402 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004826/0.06766, allocations: 0.9016 MB / 0.5221 GB, free: 2.488 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001894/0.06785, allocations: 345.2 kB / 0.5225 GB, free: 2.148 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005488/0.0684, allocations: 345.1 kB / 0.5228 GB, free: 1.805 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.289e-05/0.06849, allocations: 484.7 kB / 0.5233 GB, free: 1.328 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003454/0.06884, allocations: 203.5 kB / 0.5235 GB, free: 1.125 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006152/0.06945, allocations: 0.8825 MB / 0.5243 GB, free: 0 / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009095/0.07036, allocations: 0.9863 MB / 0.5253 GB, free: 14.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.07037, allocations: 4 kB / 0.5253 GB, free: 14.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=184) (initialization): time 0.001315/0.07168, allocations: 1.07 MB / 0.5263 GB, free: 13.72 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.0717, allocations: 12.94 kB / 0.5263 GB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.07171, allocations: 8 kB / 0.5263 GB, free: 13.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/0.07174, allocations: 20 kB / 0.5264 GB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007048/0.07244, allocations: 363.4 kB / 0.5267 GB, free: 13.33 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.069e-05/0.07246, allocations: 27.92 kB / 0.5267 GB, free: 13.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005082/0.07297, allocations: 186.7 kB / 0.5269 GB, free: 13.12 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.943e-05/0.07305, allocations: 67.98 kB / 0.527 GB, free: 13.05 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005232/0.07357, allocations: 346.7 kB / 0.5273 GB, free: 12.71 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006247/0.0742, allocations: 0.8785 MB / 0.5282 GB, free: 11.59 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001137/0.07533, allocations: 0.994 MB / 0.5291 GB, free: 10.39 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.498e-06/0.07534, allocations: 4 kB / 0.5291 GB, free: 10.39 MB / 458.7 MB Notification: Performance of matching and sorting (n=184) (initialization_lambda0): time 0.001308/0.07665, allocations: 1.07 MB / 0.5302 GB, free: 9.309 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.07666, allocations: 8 kB / 0.5302 GB, free: 9.301 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.07667, allocations: 12 kB / 0.5302 GB, free: 9.289 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.07668, allocations: 16.72 kB / 0.5302 GB, free: 9.273 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006681/0.07735, allocations: 359.4 kB / 0.5306 GB, free: 8.922 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/0.07736, allocations: 27.94 kB / 0.5306 GB, free: 8.895 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004737/0.07784, allocations: 155.2 kB / 0.5307 GB, free: 8.742 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.041e-05/0.07791, allocations: 67.98 kB / 0.5308 GB, free: 8.676 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.0001905/0.0781, allocations: 351.6 kB / 0.5311 GB, free: 8.324 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001839/0.07828, allocations: 175 kB / 0.5313 GB, free: 8.152 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000882/0.07916, allocations: 0.7253 MB / 0.532 GB, free: 7.414 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.07917, allocations: 11.98 kB / 0.532 GB, free: 7.402 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.07918, allocations: 0 / 0.532 GB, free: 7.402 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006141/0.07979, allocations: 0.7379 MB / 0.5327 GB, free: 6.582 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002081/0.08187, allocations: 2.058 MB / 0.5348 GB, free: 4.453 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.08188, allocations: 4 kB / 0.5348 GB, free: 4.449 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004192/0.08229, allocations: 179.8 kB / 0.5349 GB, free: 4.273 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.0823, allocations: 8.188 kB / 0.5349 GB, free: 4.266 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.764e-05/0.08234, allocations: 27.98 kB / 0.535 GB, free: 4.238 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.08234, allocations: 4 kB / 0.535 GB, free: 4.234 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.08234, allocations: 0 / 0.535 GB, free: 4.234 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.08337, allocations: 0.9802 MB / 0.5359 GB, free: 3.211 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005809/0.08395, allocations: 278.8 kB / 0.5362 GB, free: 2.938 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.08406, allocations: 23.95 kB / 0.5362 GB, free: 2.914 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003291/0.08438, allocations: 47.94 kB / 0.5363 GB, free: 2.867 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.437e-05/0.08446, allocations: 64.77 kB / 0.5363 GB, free: 2.805 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-05/0.0845, allocations: 35.98 kB / 0.5364 GB, free: 2.77 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006263/0.08513, allocations: 0.7166 MB / 0.5371 GB, free: 2.051 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08513, allocations: 0 / 0.5371 GB, free: 2.051 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001385/0.08651, allocations: 0.9627 MB / 0.538 GB, free: 1.086 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.0003865/0.0869, allocations: 266.1 kB / 0.5383 GB, free: 0.8203 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001407/0.0883, allocations: 1.206 MB / 0.5394 GB, free: 15.62 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.08831, allocations: 0 / 0.5394 GB, free: 15.62 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003147/0.08862, allocations: 279.2 kB / 0.5397 GB, free: 15.34 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/0.09018, allocations: 0.716 MB / 0.5404 GB, free: 14.67 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003169/0.09335, allocations: 2.916 MB / 0.5432 GB, free: 11.69 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.09365, allocations: 0.4964 MB / 0.5437 GB, free: 11.17 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001128/0.09477, allocations: 0.7664 MB / 0.5445 GB, free: 10.42 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002246/0.095, allocations: 128.5 kB / 0.5446 GB, free: 10.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.192e-06/0.095, allocations: 4 kB / 0.5446 GB, free: 10.29 MB / 474.7 MB Notification: Performance of Templates: time 0.03265/0.1276, allocations: 32.3 MB / 0.5761 GB, free: 10.72 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.19594610016793]