Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.0009141/0.0009141, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001157/0.002071, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001065/0.001065, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001379/0.002444, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9219/0.9219, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08091/1.003, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.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.1018/0.1018, allocations: 19.75 MB / 263.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01236/0.1142, allocations: 7.556 MB / 271.3 MB, free: 3.477 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_ThermoPower.Test.WaterComponents.TestST2") translateModel(ThermoPower.Test.WaterComponents.TestST2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 272.6 MB, free: 2.176 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.803e-05/1.957e-05, allocations: 2.312 kB / 272.6 MB, free: 2.172 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.1348/0.1348, allocations: 21.79 MB / 294.4 MB, free: 5.918 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01333/0.1482, allocations: 14.45 MB / 308.8 MB, free: 9.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000307/0.1485, allocations: 7.938 kB / 308.8 MB, free: 9.492 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003546/0.1488, allocations: 126.9 kB / 309 MB, free: 9.367 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003572/0.1492, allocations: 230.3 kB / 309.2 MB, free: 9.141 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01281/0.162, allocations: 5.902 MB / 315.1 MB, free: 3.219 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008814/0.1629, allocations: 0.6179 MB / 315.7 MB, free: 2.598 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002975/0.1632, allocations: 198.2 kB / 315.9 MB, free: 2.395 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004072/0.1636, allocations: 361.2 kB / 316.3 MB, free: 2.043 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/0.1638, allocations: 175.4 kB / 316.4 MB, free: 1.871 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.1638, allocations: 28 kB / 316.5 MB, free: 1.844 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01177/0.1756, allocations: 9.193 MB / 325.7 MB, free: 8.637 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.244e-05/0.1757, allocations: 47.75 kB / 325.7 MB, free: 8.59 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001681/0.1758, allocations: 119.8 kB / 325.8 MB, free: 8.473 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01059/0.1864, allocations: 4.889 MB / 330.7 MB, free: 3.574 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.698e-05/0.1865, allocations: 0 / 330.7 MB, free: 3.574 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1865, allocations: 0 / 330.7 MB, free: 3.574 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.073e-05/0.1865, allocations: 4 kB / 330.7 MB, free: 3.57 MB / 314.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.003418/0.1899, allocations: 1.608 MB / 332.3 MB, free: 1.91 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.1899, allocations: 19.97 kB / 332.3 MB, free: 1.891 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001965/0.1901, allocations: 72.88 kB / 332.4 MB, free: 1.82 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/0.1904, allocations: 233.7 kB / 332.6 MB, free: 1.566 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.885e-05/0.1904, allocations: 25.03 kB / 332.7 MB, free: 1.543 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.48e-05/0.1905, allocations: 28.33 kB / 332.7 MB, free: 1.516 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003544/0.1908, allocations: 314.1 kB / 333 MB, free: 1.18 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.1908, allocations: 3.938 kB / 333 MB, free: 1.176 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.1908, allocations: 16 kB / 333 MB, free: 1.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1908, allocations: 4 kB / 333 MB, free: 1.156 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001781/0.191, allocations: 111.3 kB / 333.1 MB, free: 1.043 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009656/0.192, allocations: 0.9469 MB / 334.1 MB, free: 48 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.1923, allocations: 127.3 kB / 334.2 MB, free: 15.91 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.966e-05/0.1923, allocations: 20.84 kB / 334.2 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3228/0.5151, allocations: 116.7 MB / 450.9 MB, free: 111.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.5152, allocations: 41.38 kB / 451 MB, free: 111.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.384e-06/0.5152, allocations: 0 / 451 MB, free: 111.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005613/0.5157, allocations: 232.5 kB / 451.2 MB, free: 111.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.514e-05/0.5157, allocations: 55.41 kB / 451.3 MB, free: 111.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.5159, allocations: 273 kB / 451.5 MB, free: 111.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.5159, allocations: 29.7 kB / 451.6 MB, free: 111.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.474e-05/0.516, allocations: 184.4 kB / 451.7 MB, free: 111.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.516, allocations: 61.11 kB / 451.8 MB, free: 111.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.214e-05/0.516, allocations: 46.45 kB / 451.8 MB, free: 111.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.739e-05/0.5161, allocations: 344.5 kB / 452.2 MB, free: 110.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.454e-05/0.5161, allocations: 19.48 kB / 452.2 MB, free: 110.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.934e-05/0.5161, allocations: 76.02 kB / 452.3 MB, free: 110.8 MB / 410.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.000172/0.5163, allocations: 135.6 kB / 452.4 MB, free: 110.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.5163, allocations: 8 kB / 452.4 MB, free: 110.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001428/0.5164, allocations: 144.3 kB / 452.6 MB, free: 110.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.5164, allocations: 4 kB / 452.6 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.5165, allocations: 5.203 kB / 452.6 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001187/0.5166, allocations: 25.06 kB / 452.6 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.5167, allocations: 65.8 kB / 452.7 MB, free: 110.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000414/0.5171, allocations: 1.162 MB / 453.8 MB, free: 109.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.792e-05/0.5172, allocations: 20.66 kB / 453.8 MB, free: 109.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.5172, allocations: 8 kB / 453.8 MB, free: 109.2 MB / 410.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.867e-05/0.5173, allocations: 124.4 kB / 454 MB, free: 109.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.5173, allocations: 19.97 kB / 454 MB, free: 109.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002624/0.5176, allocations: 400.1 kB / 454.4 MB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.5176, allocations: 13.83 kB / 454.4 MB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.5176, allocations: 0 / 454.4 MB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.5176, allocations: 3.984 kB / 454.4 MB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000455/0.518, allocations: 0.6286 MB / 455 MB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.5181, allocations: 0 / 455 MB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.5182, allocations: 50.38 kB / 455.1 MB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.962e-05/0.5182, allocations: 42.45 kB / 455.1 MB, free: 108 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.245e-05/0.5183, allocations: 23.73 kB / 455.1 MB, free: 108 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.5183, allocations: 7.484 kB / 455.1 MB, free: 108 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002976/0.5186, allocations: 1.156 MB / 456.3 MB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5186, allocations: 0 / 456.3 MB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.5188, allocations: 430.8 kB / 456.7 MB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.5188, allocations: 7.188 kB / 456.7 MB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.673e-05/0.5189, allocations: 0 / 456.7 MB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.811e-05/0.5189, allocations: 17.88 kB / 456.7 MB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.5189, allocations: 8.891 kB / 456.8 MB, free: 106.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.702e-05/0.519, allocations: 102.5 kB / 456.9 MB, free: 106.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.519, allocations: 0 / 456.9 MB, free: 106.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002249/0.5212, allocations: 1.296 MB / 458.2 MB, free: 105.1 MB / 410.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.003267/0.5245, allocations: 1.716 MB / 459.9 MB, free: 103.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002416/0.5247, allocations: 210.1 kB / 460.1 MB, free: 103.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.16e-05/0.5247, allocations: 8 kB / 460.1 MB, free: 103.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.532e-05/0.5248, allocations: 184.2 kB / 460.3 MB, free: 103.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.5252, allocations: 143.9 kB / 460.4 MB, free: 103 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004447/0.5296, allocations: 0.8252 MB / 461.2 MB, free: 102.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.913e-05/0.5297, allocations: 105.6 kB / 461.3 MB, free: 102.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001264/0.5298, allocations: 70.94 kB / 461.4 MB, free: 102 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.53, allocations: 124.8 kB / 461.5 MB, free: 101.9 MB / 410.7 MB Notification: Performance of SimCode: time 8.61e-07/0.53, allocations: 0 / 461.5 MB, free: 101.9 MB / 410.7 MB Notification: Performance of Templates: time 0.04203/0.572, allocations: 55.46 MB / 0.5049 GB, free: 46.7 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestST2.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestST2.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestST2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.223199475556612]