Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.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.0009015/0.0009015, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001014/0.001014, allocations: 167.5 kB / 24.82 MB, free: 9.266 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.9534/0.9534, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1061/0.1061, allocations: 19.75 MB / 281.6 MB, free: 9.086 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/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(ThermoPower.Test.WaterComponents.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser") translateModel(ThermoPower.Test.WaterComponents.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 358.4 MB, free: 7.387 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.393e-05, allocations: 6.312 kB / 358.4 MB, free: 7.379 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.02404/0.02407, allocations: 31.05 MB / 389.5 MB, free: 8.211 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008827/0.03289, allocations: 10.08 MB / 399.6 MB, free: 14.1 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003433/0.03324, allocations: 7.938 kB / 399.6 MB, free: 14.09 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000569/0.03381, allocations: 238.4 kB / 399.8 MB, free: 13.86 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004818/0.03862, allocations: 2.404 MB / 402.2 MB, free: 11.44 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007129/0.04575, allocations: 3.264 MB / 405.5 MB, free: 8.164 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001085/0.04684, allocations: 0.8947 MB / 406.4 MB, free: 7.266 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004366/0.04728, allocations: 285 kB / 406.6 MB, free: 6.984 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000529/0.04781, allocations: 470.8 kB / 407.1 MB, free: 6.523 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000386/0.04819, allocations: 335.1 kB / 407.4 MB, free: 6.195 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.776e-05/0.04824, allocations: 36 kB / 407.5 MB, free: 6.16 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01085/0.05909, allocations: 7.163 MB / 414.6 MB, free: 14.99 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001457/0.05924, allocations: 99.53 kB / 414.7 MB, free: 14.89 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002556/0.05949, allocations: 179.6 kB / 414.9 MB, free: 14.71 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01099/0.07048, allocations: 5.659 MB / 420.6 MB, free: 9.043 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.07049, allocations: 0 / 420.6 MB, free: 9.043 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.07049, allocations: 0 / 420.6 MB, free: 9.043 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.311e-06/0.07049, allocations: 0 / 420.6 MB, free: 9.043 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.002666/0.07316, allocations: 1.438 MB / 422 MB, free: 7.547 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.0732, allocations: 12.03 kB / 422 MB, free: 7.535 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006064/0.07381, allocations: 216.1 kB / 422.2 MB, free: 7.324 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003365/0.07415, allocations: 318.6 kB / 422.5 MB, free: 6.988 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.07417, allocations: 29.38 kB / 422.6 MB, free: 6.957 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.027e-05/0.07421, allocations: 36.38 kB / 422.6 MB, free: 6.922 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005014/0.07471, allocations: 489.8 kB / 423.1 MB, free: 6.375 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.07472, allocations: 192 / 423.1 MB, free: 6.375 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.07475, allocations: 19.94 kB / 423.1 MB, free: 6.355 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.455e-06/0.07476, allocations: 8 kB / 423.1 MB, free: 6.348 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002942/0.07505, allocations: 247.6 kB / 423.3 MB, free: 6.094 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/0.07671, allocations: 2.062 MB / 425.4 MB, free: 3.945 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003105/0.07702, allocations: 238.4 kB / 425.6 MB, free: 3.688 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.209e-05/0.07711, allocations: 119 kB / 425.8 MB, free: 3.555 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02766/0.1048, allocations: 15.51 MB / 441.3 MB, free: 4.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004315/0.1052, allocations: 299.6 kB / 441.6 MB, free: 3.688 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 2.174e-06/0.1052, allocations: 0 / 441.6 MB, free: 3.688 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001934/0.1071, allocations: 1.3 MB / 442.9 MB, free: 2.277 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.1072, allocations: 144.5 kB / 443 MB, free: 2.105 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/0.1074, allocations: 390.5 kB / 443.4 MB, free: 1.707 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.1074, allocations: 29.7 kB / 443.4 MB, free: 1.672 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.1076, allocations: 303.3 kB / 443.7 MB, free: 1.371 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.682e-05/0.1077, allocations: 119 kB / 443.8 MB, free: 1.254 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.606e-05/0.1077, allocations: 87.53 kB / 443.9 MB, free: 1.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1079, allocations: 0.539 MB / 444.4 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.295e-05/0.108, allocations: 112.2 kB / 444.6 MB, free: 500 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.1081, allocations: 253.5 kB / 444.8 MB, free: 188 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1526/0.2607, allocations: 345 kB / 445.1 MB, free: 103.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2607, allocations: 0.75 kB / 445.1 MB, free: 103.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007234/0.2615, allocations: 0.5284 MB / 445.7 MB, free: 103.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.595e-05/0.2615, allocations: 74.78 kB / 445.7 MB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.2615, allocations: 0 / 445.7 MB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007379/0.2622, allocations: 162.9 kB / 445.9 MB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.2624, allocations: 57.33 kB / 446 MB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01337/0.2757, allocations: 10.5 MB / 456.5 MB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.276, allocations: 14.22 kB / 456.5 MB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.564e-05/0.276, allocations: 16.48 kB / 456.5 MB, free: 100.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 15 (coolingFlowRate.nextEventScaled,coolingFlowRate.nextEvent,$PRE.coolingFlowRate.nextEvent,coolingFlowRate.last,coolingFlowRate.b,coolingFlowRate.a,steamFlowRate.nextEventScaled,steamFlowRate.nextEvent,$PRE.steamFlowRate.nextEvent,steamFlowRate.last,steamFlowRate.b,steamFlowRate.a,$whenCondition2,$whenCondition1,tank.liquidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001708/0.2762, allocations: 258.7 kB / 456.7 MB, free: 100 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.053e-05/0.2762, allocations: 63.73 kB / 456.8 MB, free: 100 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009151/0.2771, allocations: 1.069 MB / 457.9 MB, free: 99.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.2772, allocations: 20.38 kB / 457.9 MB, free: 99.72 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2772, allocations: 4 kB / 457.9 MB, free: 99.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.2772, allocations: 0 / 457.9 MB, free: 99.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00034/0.2775, allocations: 440 kB / 458.3 MB, free: 99.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.2775, allocations: 3 kB / 458.3 MB, free: 99.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.2776, allocations: 46.58 kB / 458.4 MB, free: 99.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000338/0.278, allocations: 211.4 kB / 458.6 MB, free: 99.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.278, allocations: 14.19 kB / 458.6 MB, free: 99.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008077/0.2788, allocations: 2.66 MB / 461.3 MB, free: 97.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.2788, allocations: 3.25 kB / 461.3 MB, free: 97.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008287/0.2796, allocations: 1.104 MB / 462.4 MB, free: 96.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.2797, allocations: 100.6 kB / 462.5 MB, free: 96.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.908e-05/0.2798, allocations: 10.91 kB / 462.5 MB, free: 96.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.195e-05/0.2799, allocations: 11.59 kB / 462.5 MB, free: 96.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.294e-05/0.2799, allocations: 26.69 kB / 462.5 MB, free: 96.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.2799, allocations: 16.81 kB / 462.5 MB, free: 96.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.622e-05/0.28, allocations: 247.1 kB / 462.8 MB, free: 96.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.28, allocations: 0 / 462.8 MB, free: 96.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002348/0.2824, allocations: 1.129 MB / 463.9 MB, free: 96.48 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (barometricCondenser.hl,tank.y,tank.h) * Number of discrete variables: 22 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$whenCondition1,$whenCondition2,steamFlowRate.a,steamFlowRate.b,steamFlowRate.last,steamFlowRate.nextEvent,steamFlowRate.nextEventScaled,coolingFlowRate.a,coolingFlowRate.b,coolingFlowRate.last,coolingFlowRate.nextEvent,coolingFlowRate.nextEventScaled) * Number of discrete states: 12 (steamFlowRate.nextEvent,steamFlowRate.last,steamFlowRate.nextEventScaled,steamFlowRate.b,steamFlowRate.a,$whenCondition1,coolingFlowRate.nextEvent,coolingFlowRate.last,coolingFlowRate.nextEventScaled,coolingFlowRate.b,coolingFlowRate.a,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00315/0.2855, allocations: 1.522 MB / 465.4 MB, free: 96.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007049/0.2862, allocations: 0.7645 MB / 466.2 MB, free: 95.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/0.2862, allocations: 0 / 466.2 MB, free: 95.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003123/0.2865, allocations: 0.5594 MB / 466.7 MB, free: 95.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005222/0.2871, allocations: 170.5 kB / 466.9 MB, free: 95.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.2886, allocations: 1.31 MB / 468.2 MB, free: 94.74 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.067e-05/0.2887, allocations: 158.1 kB / 468.4 MB, free: 94.67 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001694/0.2888, allocations: 92.86 kB / 468.5 MB, free: 94.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002582/0.2891, allocations: 222.2 kB / 468.7 MB, free: 94.59 MB / 410.7 MB Notification: Performance of SimCode: time 1.433e-06/0.2891, allocations: 0 / 468.7 MB, free: 94.59 MB / 410.7 MB Notification: Performance of Templates: time 0.04891/0.338, allocations: 47.15 MB / 0.5038 GB, free: 68.05 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.854947122279555]