Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.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.0009338/0.0009338, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009384/0.0009384, allocations: 165 kB / 24.56 MB, free: 16 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.9483/0.9483, allocations: 177.1 MB / 205 MB, free: 5.613 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.0837/0.0837, allocations: 19.73 MB / 281.2 MB, free: 9.262 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.TestST2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2") translateModel(ThermoPower.Test.WaterComponents.TestST2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 358 MB, free: 6.609 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.226e-05/2.423e-05, allocations: 6.25 kB / 358 MB, free: 6.602 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.02015/0.02017, allocations: 21.78 MB / 379.8 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01262/0.03279, allocations: 14.41 MB / 394.2 MB, free: 2.27 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002304/0.03302, allocations: 11.88 kB / 394.2 MB, free: 2.258 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004254/0.03345, allocations: 130.9 kB / 394.3 MB, free: 2.129 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004366/0.03388, allocations: 226.3 kB / 394.5 MB, free: 1.906 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0116/0.04548, allocations: 6.563 MB / 401.1 MB, free: 11.32 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005633/0.04604, allocations: 0.6178 MB / 401.7 MB, free: 10.7 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002727/0.04632, allocations: 182.4 kB / 401.9 MB, free: 10.51 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003272/0.04664, allocations: 315.1 kB / 402.2 MB, free: 10.2 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.04686, allocations: 183.3 kB / 402.4 MB, free: 10.02 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.488e-05/0.0469, allocations: 28 kB / 402.4 MB, free: 9.996 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01182/0.05872, allocations: 8.567 MB / 411 MB, free: 1.418 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.05885, allocations: 67.67 kB / 411 MB, free: 1.352 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003096/0.05916, allocations: 135.6 kB / 411.2 MB, free: 1.219 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.147/0.2061, allocations: 6.508 MB / 417.7 MB, free: 26.36 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.2061, allocations: 2.531 kB / 417.7 MB, free: 26.36 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2061, allocations: 0 / 417.7 MB, free: 26.36 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.2061, allocations: 0 / 417.7 MB, free: 26.36 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.003487/0.2096, allocations: 1.296 MB / 419 MB, free: 25.57 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.2097, allocations: 12.38 kB / 419 MB, free: 25.57 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001969/0.2099, allocations: 88.34 kB / 419.1 MB, free: 25.54 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.2101, allocations: 271.7 kB / 419.3 MB, free: 25.37 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.2102, allocations: 20.59 kB / 419.4 MB, free: 25.37 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.803e-05/0.2102, allocations: 29.16 kB / 419.4 MB, free: 25.37 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003843/0.2106, allocations: 331.1 kB / 419.7 MB, free: 25.22 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.2106, allocations: 1.031 kB / 419.7 MB, free: 25.22 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.2106, allocations: 15.28 kB / 419.7 MB, free: 25.22 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.2106, allocations: 6.062 kB / 419.7 MB, free: 25.22 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002393/0.2109, allocations: 145 kB / 419.9 MB, free: 25.21 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009752/0.2118, allocations: 1.336 MB / 421.2 MB, free: 24.29 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002993/0.2121, allocations: 151.1 kB / 421.4 MB, free: 24.25 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.982e-05/0.2122, allocations: 30.56 kB / 421.4 MB, free: 24.24 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0536/0.2658, allocations: 35.08 MB / 456.5 MB, free: 5.617 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.2658, allocations: 41.27 kB / 456.5 MB, free: 5.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 3.567e-06/0.2658, allocations: 0 / 456.5 MB, free: 5.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.000664/0.2665, allocations: 279 kB / 456.8 MB, free: 5.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.797e-05/0.2665, allocations: 55.41 kB / 456.8 MB, free: 5.254 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.2667, allocations: 329.7 kB / 457.2 MB, free: 4.953 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.2667, allocations: 33.64 kB / 457.2 MB, free: 4.918 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.733e-05/0.2668, allocations: 263.2 kB / 457.4 MB, free: 4.699 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.2668, allocations: 56.36 kB / 457.5 MB, free: 4.652 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.356e-05/0.2668, allocations: 45.05 kB / 457.5 MB, free: 4.613 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.751e-05/0.2669, allocations: 0.5122 MB / 458.1 MB, free: 4.102 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.112e-05/0.2669, allocations: 19.98 kB / 458.1 MB, free: 4.082 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.987e-05/0.267, allocations: 110.4 kB / 458.2 MB, free: 3.957 MB / 330.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: Inertia1.a = $START.Inertia1.a (0.0 = $START.Inertia1.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.2672, allocations: 170.1 kB / 458.4 MB, free: 3.789 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2672, allocations: 0 / 458.4 MB, free: 3.789 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000198/0.2674, allocations: 200.8 kB / 458.5 MB, free: 3.621 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.2674, allocations: 9.203 kB / 458.6 MB, free: 3.613 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.2674, allocations: 0 / 458.6 MB, free: 3.613 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001388/0.2676, allocations: 31.55 kB / 458.6 MB, free: 3.582 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.2677, allocations: 47.25 kB / 458.6 MB, free: 3.539 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005001/0.2682, allocations: 1.74 MB / 460.4 MB, free: 1.719 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.567e-05/0.2683, allocations: 19.84 kB / 460.4 MB, free: 1.699 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.2683, allocations: 11.75 kB / 460.4 MB, free: 1.691 MB / 330.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: Inertia1.a = $START.Inertia1.a. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (ST.fluidState_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.758e-05/0.2683, allocations: 176.3 kB / 460.6 MB, free: 1.523 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.413e-05/0.2684, allocations: 31.8 kB / 460.6 MB, free: 1.492 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003269/0.2687, allocations: 433.2 kB / 461 MB, free: 1.109 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.2687, allocations: 11.92 kB / 461 MB, free: 1.102 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.2687, allocations: 0 / 461 MB, free: 1.102 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2687, allocations: 0 / 461 MB, free: 1.102 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000549/0.2693, allocations: 0.7759 MB / 461.8 MB, free: 400 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.2693, allocations: 0 / 461.8 MB, free: 400 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.621e-05/0.2694, allocations: 34.61 kB / 461.9 MB, free: 368 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-05/0.2694, allocations: 31.27 kB / 461.9 MB, free: 336 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.2694, allocations: 4 kB / 461.9 MB, free: 332 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005963/0.27, allocations: 1.739 MB / 463.6 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.27, allocations: 0 / 463.6 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003618/0.2704, allocations: 0.4979 MB / 464.1 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.728e-05/0.2704, allocations: 47.75 kB / 464.2 MB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.2704, allocations: 3.938 kB / 464.2 MB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.506e-05/0.2705, allocations: 4 kB / 464.2 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.2706, allocations: 15.91 kB / 464.2 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/0.2706, allocations: 4 kB / 464.2 MB, free: 13.95 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001274/0.2707, allocations: 231.7 kB / 464.4 MB, free: 13.74 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2707, allocations: 0 / 464.4 MB, free: 13.74 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003562/0.2743, allocations: 1.283 MB / 465.7 MB, free: 12.51 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (ST.P_HP,ST.P_LP,Speed1.phi) * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003808/0.2781, allocations: 1.602 MB / 467.3 MB, free: 11.07 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003235/0.2784, allocations: 305.2 kB / 467.6 MB, free: 10.78 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2784, allocations: 0 / 467.6 MB, free: 10.78 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.2785, allocations: 248 kB / 467.9 MB, free: 10.53 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/0.279, allocations: 129.6 kB / 468 MB, free: 10.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.2803, allocations: 0.8416 MB / 468.8 MB, free: 9.613 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.949e-05/0.2803, allocations: 109.6 kB / 468.9 MB, free: 9.484 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001088/0.2804, allocations: 71.16 kB / 469 MB, free: 9.414 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.151e-05/0.2805, allocations: 28.5 kB / 469 MB, free: 9.387 MB / 346.7 MB Notification: Performance of SimCode: time 1.202e-06/0.2805, allocations: 0 / 469 MB, free: 9.387 MB / 346.7 MB Notification: Performance of Templates: time 0.04195/0.3224, allocations: 49.66 MB / 0.5065 GB, free: 7.906 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.317458213772625]