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.001075/0.001075, allocations: 72.95 kB / 20.72 MB, free: 3.762 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.00143/0.00143, allocations: 169 kB / 24.14 MB, free: 348 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 1.001/1.001, allocations: 177.1 MB / 204.6 MB, free: 5.469 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.6074/0.6074, allocations: 115 MB / 376 MB, free: 7.488 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.293e-06/1.293e-06, allocations: 0 / 428.7 MB, free: 2.816 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.334e-05, allocations: 10.25 kB / 428.7 MB, free: 2.805 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.008565/0.008589, allocations: 10.32 MB / 439 MB, free: 8.438 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006788/0.01538, allocations: 5.694 MB / 444.7 MB, free: 2.727 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005103/0.01589, allocations: 55.56 kB / 444.8 MB, free: 2.672 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005063/0.01639, allocations: 250 kB / 445 MB, free: 2.426 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001309/0.0177, allocations: 0.8737 MB / 445.9 MB, free: 1.547 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002457/0.02016, allocations: 1.285 MB / 447.2 MB, free: 264 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.2034/0.2236, allocations: 5.104 MB / 452.3 MB, free: 16.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002411/0.226, allocations: 1.644 MB / 453.9 MB, free: 16.77 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005243/0.2312, allocations: 2.442 MB / 456.4 MB, free: 16.59 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00281/0.234, allocations: 1.444 MB / 457.8 MB, free: 16.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000817/0.2349, allocations: 232.8 kB / 458 MB, free: 16.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001936/0.2368, allocations: 0.998 MB / 459 MB, free: 16.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005033/0.2373, allocations: 0.5793 MB / 459.6 MB, free: 16.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00142/0.2387, allocations: 0.8291 MB / 460.5 MB, free: 15.73 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002958/0.2417, allocations: 2.44 MB / 462.9 MB, free: 14.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.2417, allocations: 0 / 462.9 MB, free: 14.94 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2417, allocations: 4.344 kB / 462.9 MB, free: 14.94 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.533e-05/0.2418, allocations: 0 / 462.9 MB, free: 14.94 MB / 410.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.003295/0.2451, allocations: 2.267 MB / 465.2 MB, free: 13.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.2451, allocations: 10.81 kB / 465.2 MB, free: 13.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006039/0.2457, allocations: 308.7 kB / 465.5 MB, free: 13.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001399/0.2471, allocations: 1.113 MB / 466.6 MB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.277e-05/0.2472, allocations: 116.2 kB / 466.7 MB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001636/0.2473, allocations: 165 kB / 466.9 MB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.2484, allocations: 1.313 MB / 468.2 MB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.56e-05/0.2484, allocations: 0.75 kB / 468.2 MB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-05/0.2485, allocations: 56 kB / 468.2 MB, free: 11.65 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.833e-05/0.2486, allocations: 45.03 kB / 468.3 MB, free: 11.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006169/0.2492, allocations: 0.504 MB / 468.8 MB, free: 11.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003827/0.253, allocations: 3.93 MB / 472.7 MB, free: 7.289 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005271/0.2535, allocations: 0.5683 MB / 473.3 MB, free: 6.754 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.2537, allocations: 196.3 kB / 473.5 MB, free: 6.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002024/0.2557, allocations: 1.389 MB / 474.9 MB, free: 5.223 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.2558, allocations: 44.09 kB / 474.9 MB, free: 5.172 MB / 410.7 MB Notification: Performance of pre-optimization done (n=88): time 3.476e-06/0.2558, allocations: 2.047 kB / 474.9 MB, free: 5.172 MB / 410.7 MB Notification: Performance of matching and sorting (n=88): time 0.0006175/0.2564, allocations: 0.5294 MB / 475.4 MB, free: 4.645 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.377e-05/0.2564, allocations: 61.59 kB / 475.5 MB, free: 4.574 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000707/0.2571, allocations: 1.119 MB / 476.6 MB, free: 3.617 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.637e-05/0.2572, allocations: 53.7 kB / 476.7 MB, free: 3.559 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002265/0.2574, allocations: 0.6368 MB / 477.3 MB, free: 2.969 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.2575, allocations: 334.6 kB / 477.6 MB, free: 2.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002268/0.2578, allocations: 287.1 kB / 477.9 MB, free: 2.414 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.966e-05/0.2578, allocations: 305.1 kB / 478.2 MB, free: 2.113 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002154/0.258, allocations: 189.5 kB / 478.4 MB, free: 1.926 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003029/0.2583, allocations: 0.6388 MB / 479 MB, free: 1.141 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005561/0.2589, allocations: 0.7953 MB / 479.8 MB, free: 292 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.463e-06/0.2589, allocations: 4 kB / 479.8 MB, free: 288 kB / 410.7 MB Notification: Performance of matching and sorting (n=184) (initialization): time 0.0008845/0.2598, allocations: 0.7793 MB / 480.6 MB, free: 15.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.2598, allocations: 8 kB / 480.6 MB, free: 15.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.2598, allocations: 13.03 kB / 480.6 MB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/0.2598, allocations: 19.94 kB / 480.6 MB, free: 15.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006389/0.2605, allocations: 322.8 kB / 481 MB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.799e-05/0.2605, allocations: 28.62 kB / 481 MB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004991/0.261, allocations: 142.9 kB / 481.1 MB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.67e-05/0.261, allocations: 51.98 kB / 481.2 MB, free: 15.03 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000482/0.2615, allocations: 287.5 kB / 481.5 MB, free: 14.74 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004458/0.262, allocations: 0.6407 MB / 482.1 MB, free: 13.95 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006816/0.2627, allocations: 0.7764 MB / 482.9 MB, free: 13.12 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.995e-06/0.2627, allocations: 7.984 kB / 482.9 MB, free: 13.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=184) (initialization_lambda0): time 0.0009234/0.2636, allocations: 0.7794 MB / 483.7 MB, free: 12.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.2636, allocations: 9.406 kB / 483.7 MB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.2636, allocations: 12 kB / 483.7 MB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.2636, allocations: 21.72 kB / 483.7 MB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006164/0.2642, allocations: 331.4 kB / 484 MB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.029e-05/0.2643, allocations: 19 kB / 484.1 MB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004727/0.2647, allocations: 117.5 kB / 484.2 MB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.922e-05/0.2648, allocations: 52.7 kB / 484.2 MB, free: 11.88 MB / 426.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.0002309/0.265, allocations: 270 kB / 484.5 MB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/0.2652, allocations: 108.5 kB / 484.6 MB, free: 11.53 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007058/0.2659, allocations: 0.5694 MB / 485.2 MB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.2659, allocations: 11.94 kB / 485.2 MB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.2659, allocations: 1.469 kB / 485.2 MB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004013/0.2663, allocations: 0.5874 MB / 485.8 MB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001691/0.268, allocations: 1.354 MB / 487.1 MB, free: 9.027 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.268, allocations: 4 kB / 487.1 MB, free: 9.023 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003827/0.2684, allocations: 169.3 kB / 487.3 MB, free: 8.867 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.2684, allocations: 4 kB / 487.3 MB, free: 8.863 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.79e-05/0.2684, allocations: 28.92 kB / 487.3 MB, free: 8.836 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.2685, allocations: 4 kB / 487.3 MB, free: 8.832 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2685, allocations: 0.625 kB / 487.3 MB, free: 8.832 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007329/0.2692, allocations: 0.7263 MB / 488 MB, free: 8.094 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002889/0.2695, allocations: 198.7 kB / 488.2 MB, free: 7.898 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.2696, allocations: 21.02 kB / 488.3 MB, free: 7.879 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003029/0.2699, allocations: 29.28 kB / 488.3 MB, free: 7.852 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.338e-05/0.2699, allocations: 66.16 kB / 488.4 MB, free: 7.797 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.07e-05/0.27, allocations: 23.98 kB / 488.4 MB, free: 7.773 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004848/0.2705, allocations: 0.5494 MB / 488.9 MB, free: 7.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2705, allocations: 0 / 488.9 MB, free: 7.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001581/0.2721, allocations: 0.9634 MB / 489.9 MB, free: 6.305 MB / 426.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.0004217/0.2725, allocations: 249.9 kB / 490.1 MB, free: 6.078 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001096/0.2736, allocations: 0.9516 MB / 491.1 MB, free: 5.254 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.211e-05/0.2736, allocations: 16.5 kB / 491.1 MB, free: 5.234 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002074/0.2738, allocations: 217.1 kB / 491.3 MB, free: 5.043 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001516/0.2753, allocations: 0.7232 MB / 492 MB, free: 4.449 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003385/0.2787, allocations: 2.748 MB / 494.8 MB, free: 1.691 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.279, allocations: 421.2 kB / 495.2 MB, free: 1.254 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009132/0.28, allocations: 310.7 kB / 495.5 MB, free: 1.027 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009968/0.281, allocations: 0.4989 MB / 496 MB, free: 0.5234 MB / 426.7 MB Notification: Performance of SimCode: time 7.72e-07/0.281, allocations: 0 / 496 MB, free: 0.5234 MB / 426.7 MB Notification: Performance of Templates: time 0.03929/0.3202, allocations: 32.92 MB / 0.5165 GB, free: 0.5586 MB / 458.7 MB " [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.212717764079571]