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.001837/0.001837, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.001917/0.001917, allocations: 165.3 kB / 24.28 MB, free: 152 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.532/1.532, allocations: 177.1 MB / 204.6 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 178] 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.1485/0.1485, allocations: 19.73 MB / 280.8 MB, free: 9.277 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.593e-06/1.593e-06, allocations: 0 / 357.2 MB, free: 6.918 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.601e-05/2.76e-05, allocations: 13.34 kB / 357.2 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.05089/0.05091, allocations: 37.93 MB / 395.2 MB, free: 0.832 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02266/0.07357, allocations: 14.38 MB / 409.6 MB, free: 2.406 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003253/0.0739, allocations: 7.938 kB / 409.6 MB, free: 2.398 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005623/0.07446, allocations: 142.9 kB / 409.7 MB, free: 2.258 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007423/0.0752, allocations: 230.2 kB / 409.9 MB, free: 2.031 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1664/0.2416, allocations: 6.545 MB / 416.5 MB, free: 17.77 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007816/0.2424, allocations: 0.6194 MB / 417.1 MB, free: 17.58 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000324/0.2427, allocations: 192.2 kB / 417.3 MB, free: 17.56 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004258/0.2431, allocations: 323.5 kB / 417.6 MB, free: 17.53 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002737/0.2434, allocations: 183.7 kB / 417.8 MB, free: 17.5 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.72e-05/0.2435, allocations: 25.94 kB / 417.8 MB, free: 17.5 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01603/0.2595, allocations: 8.563 MB / 426.4 MB, free: 17.47 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.2596, allocations: 71.86 kB / 426.4 MB, free: 17.45 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002988/0.2599, allocations: 133.1 kB / 426.6 MB, free: 17.43 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01268/0.2726, allocations: 6.596 MB / 433.2 MB, free: 15.13 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2726, allocations: 0 / 433.2 MB, free: 15.13 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2726, allocations: 0 / 433.2 MB, free: 15.13 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.2726, allocations: 0 / 433.2 MB, free: 15.13 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.002947/0.2756, allocations: 1.315 MB / 434.5 MB, free: 14.24 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2756, allocations: 9.094 kB / 434.5 MB, free: 14.24 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002702/0.2759, allocations: 90.67 kB / 434.6 MB, free: 14.21 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003651/0.2762, allocations: 279.2 kB / 434.8 MB, free: 14.01 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.2763, allocations: 22.62 kB / 434.9 MB, free: 14.01 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.104e-05/0.2763, allocations: 33.17 kB / 434.9 MB, free: 14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006071/0.2769, allocations: 370.7 kB / 435.3 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.2769, allocations: 2.75 kB / 435.3 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.014e-05/0.277, allocations: 17.84 kB / 435.3 MB, free: 13.81 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.277, allocations: 5.5 kB / 435.3 MB, free: 13.81 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004381/0.2774, allocations: 204.6 kB / 435.5 MB, free: 13.78 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001458/0.2789, allocations: 1.416 MB / 436.9 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004593/0.2793, allocations: 187.7 kB / 437.1 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.814e-05/0.2794, allocations: 52.17 kB / 437.1 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.122/0.4015, allocations: 35.08 MB / 472.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.71e-05/0.4015, allocations: 46.19 kB / 472.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.763e-06/0.4015, allocations: 0 / 472.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.001275/0.4028, allocations: 317.9 kB / 472.6 MB, free: 14.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.4029, allocations: 53.38 kB / 472.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004683/0.4033, allocations: 378.3 kB / 473 MB, free: 14.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.66e-05/0.4034, allocations: 29.7 kB / 473 MB, free: 14.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002245/0.4036, allocations: 266.8 kB / 473.3 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.164e-05/0.4037, allocations: 66.5 kB / 473.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.151e-05/0.4037, allocations: 51.36 kB / 473.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003011/0.404, allocations: 0.5235 MB / 473.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.4042, allocations: 39.98 kB / 474 MB, free: 13.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.4044, allocations: 127.4 kB / 474.1 MB, free: 12.98 MB / 362.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.00101/0.4054, allocations: 316.5 kB / 474.4 MB, free: 12.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4054, allocations: 0 / 474.4 MB, free: 12.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004773/0.4058, allocations: 238.3 kB / 474.6 MB, free: 12.42 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.4059, allocations: 8 kB / 474.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.4059, allocations: 0 / 474.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001933/0.4061, allocations: 31.67 kB / 474.7 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.4063, allocations: 47.38 kB / 474.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001831/0.4081, allocations: 1.786 MB / 476.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.4083, allocations: 15.89 kB / 476.5 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.4083, allocations: 8 kB / 476.5 MB, free: 10.41 MB / 362.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 0.0002141/0.4085, allocations: 187.6 kB / 476.7 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.492e-05/0.4086, allocations: 43.88 kB / 476.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.4096, allocations: 436.7 kB / 477.2 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.76e-05/0.4096, allocations: 11.98 kB / 477.2 MB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.4096, allocations: 0 / 477.2 MB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.4096, allocations: 3.984 kB / 477.2 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/0.4109, allocations: 0.832 MB / 478 MB, free: 8.859 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-05/0.4109, allocations: 7.984 kB / 478 MB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/0.4111, allocations: 29.36 kB / 478.1 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001488/0.4113, allocations: 35.7 kB / 478.1 MB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.4113, allocations: 4 kB / 478.1 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001448/0.4127, allocations: 1.783 MB / 479.9 MB, free: 6.895 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4127, allocations: 128 / 479.9 MB, free: 6.895 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008037/0.4135, allocations: 0.5534 MB / 480.4 MB, free: 6.316 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.988e-05/0.4136, allocations: 35.7 kB / 480.5 MB, free: 6.281 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.714e-05/0.4136, allocations: 7.984 kB / 480.5 MB, free: 6.273 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.4138, allocations: 4 kB / 480.5 MB, free: 6.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.389e-05/0.4138, allocations: 11.98 kB / 480.5 MB, free: 6.258 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.4138, allocations: 4 kB / 480.5 MB, free: 6.254 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002959/0.4141, allocations: 263 kB / 480.8 MB, free: 5.996 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4141, allocations: 0 / 480.8 MB, free: 5.996 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004055/0.4182, allocations: 1.286 MB / 482 MB, free: 4.707 MB / 362.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.005975/0.4242, allocations: 1.602 MB / 483.6 MB, free: 3.211 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007328/0.4249, allocations: 337.9 kB / 484 MB, free: 2.871 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4249, allocations: 0 / 484 MB, free: 2.871 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003525/0.4253, allocations: 268.5 kB / 484.2 MB, free: 2.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008955/0.4262, allocations: 137.1 kB / 484.4 MB, free: 2.461 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.4278, allocations: 0.8281 MB / 485.2 MB, free: 1.602 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.4281, allocations: 208 kB / 485.4 MB, free: 1.383 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001852/0.4282, allocations: 73.69 kB / 485.5 MB, free: 1.312 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.581e-05/0.4283, allocations: 32.5 kB / 485.5 MB, free: 1.281 MB / 362.7 MB Notification: Performance of SimCode: time 1.122e-06/0.4283, allocations: 0 / 485.5 MB, free: 1.281 MB / 362.7 MB Notification: Performance of Templates: time 0.0815/0.5098, allocations: 49.66 MB / 0.5226 GB, free: 15.76 MB / 426.7 MB " [Timeout remaining time 659] 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: 8.461478444980457]