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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 124.5 kB / 18.46 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 190.6 kB / 21.4 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.281/1.281, allocations: 207.6 MB / 231.8 MB, free: 3.996 MB / 174.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3554/0.3554, allocations: 49.51 MB / 333.2 MB, free: 0.6328 MB / 254.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 66.61 kB / 472 MB, free: 40.84 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07649/0.07844, allocations: 62.34 MB / 0.5218 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.03663/0.1151, allocations: 37.35 MB / 0.5582 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01761/0.1327, allocations: 14.88 MB / 0.5728 GB, free: 13.41 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002406/0.1329, allocations: 8 kB / 0.5728 GB, free: 13.4 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004527/0.1334, allocations: 146.9 kB / 0.5729 GB, free: 13.26 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003799/0.1337, allocations: 218.5 kB / 0.5731 GB, free: 13.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01458/0.1483, allocations: 6.499 MB / 0.5795 GB, free: 6.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007568/0.1491, allocations: 0.5909 MB / 0.5801 GB, free: 5.926 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002965/0.1494, allocations: 181.9 kB / 0.5802 GB, free: 5.742 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002819/0.1497, allocations: 223.1 kB / 0.5804 GB, free: 5.523 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002767/0.1499, allocations: 226.9 kB / 0.5807 GB, free: 5.301 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.969e-05/0.15, allocations: 28 kB / 0.5807 GB, free: 5.273 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01431/0.1643, allocations: 8.919 MB / 0.5894 GB, free: 12.34 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.154e-05/0.1644, allocations: 67.7 kB / 0.5895 GB, free: 12.28 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002451/0.1646, allocations: 202.9 kB / 0.5897 GB, free: 12.08 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009282/0.1739, allocations: 5.14 MB / 0.5947 GB, free: 6.926 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1739, allocations: 0 / 0.5947 GB, free: 6.926 MB / 462.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.1739, allocations: 0 / 0.5947 GB, free: 6.926 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1739, allocations: 0 / 0.5947 GB, free: 6.926 MB / 462.1 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.002878/0.1768, allocations: 1.282 MB / 0.5959 GB, free: 5.59 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.1768, allocations: 11.89 kB / 0.5959 GB, free: 5.578 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002188/0.1771, allocations: 56.69 kB / 0.596 GB, free: 5.523 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000476/0.1775, allocations: 343.5 kB / 0.5963 GB, free: 5.152 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.1776, allocations: 16.94 kB / 0.5963 GB, free: 5.133 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.395e-05/0.1776, allocations: 32.12 kB / 0.5964 GB, free: 5.102 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006048/0.1782, allocations: 318.2 kB / 0.5967 GB, free: 4.77 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.1782, allocations: 3.938 kB / 0.5967 GB, free: 4.766 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.462e-05/0.1782, allocations: 12 kB / 0.5967 GB, free: 4.754 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.1783, allocations: 11.98 kB / 0.5967 GB, free: 4.742 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004696/0.1787, allocations: 206.1 kB / 0.5969 GB, free: 4.543 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001734/0.1805, allocations: 1.478 MB / 0.5983 GB, free: 2.93 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004863/0.1809, allocations: 178.5 kB / 0.5985 GB, free: 2.746 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.1811, allocations: 52.84 kB / 0.5986 GB, free: 2.691 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3047/0.4858, allocations: 64.24 MB / 0.6613 GB, free: 108.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.4858, allocations: 35.16 kB / 0.6613 GB, free: 108.8 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 2.696e-06/0.4858, allocations: 0 / 0.6613 GB, free: 108.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.001029/0.4868, allocations: 394.3 kB / 0.6617 GB, free: 108.6 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.021e-05/0.4869, allocations: 56.53 kB / 0.6618 GB, free: 108.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000333/0.4872, allocations: 361.6 kB / 0.6621 GB, free: 108.4 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.4872, allocations: 29.27 kB / 0.6621 GB, free: 108.4 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.4873, allocations: 210 kB / 0.6623 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.4873, allocations: 56.58 kB / 0.6624 GB, free: 108.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.986e-05/0.4874, allocations: 41.48 kB / 0.6624 GB, free: 108.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.086e-05/0.4875, allocations: 344.2 kB / 0.6627 GB, free: 107.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.4876, allocations: 43.27 kB / 0.6628 GB, free: 107.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.4877, allocations: 104.7 kB / 0.6629 GB, free: 107.8 MB / 0.4981 GB 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.0008749/0.4886, allocations: 364.4 kB / 0.6632 GB, free: 107.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.4886, allocations: 0.5625 kB / 0.6632 GB, free: 107.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004117/0.489, allocations: 235.5 kB / 0.6635 GB, free: 107.4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.489, allocations: 9.438 kB / 0.6635 GB, free: 107.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.489, allocations: 9.562 kB / 0.6635 GB, free: 107.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001117/0.4892, allocations: 24.66 kB / 0.6635 GB, free: 107.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.4893, allocations: 47.5 kB / 0.6635 GB, free: 107.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006302/0.4899, allocations: 1.382 MB / 0.6649 GB, free: 106 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.4901, allocations: 31.83 kB / 0.6649 GB, free: 106 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.4901, allocations: 13.44 kB / 0.6649 GB, free: 105.9 MB / 0.4981 GB 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.0001021/0.4902, allocations: 144 kB / 0.6651 GB, free: 105.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.943e-05/0.4903, allocations: 42.3 kB / 0.6651 GB, free: 105.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000561/0.4908, allocations: 0.6007 MB / 0.6657 GB, free: 105.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.4908, allocations: 3.75 kB / 0.6657 GB, free: 105.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.4908, allocations: 3.984 kB / 0.6657 GB, free: 105.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.4908, allocations: 0 / 0.6657 GB, free: 105.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008642/0.4917, allocations: 1.07 MB / 0.6668 GB, free: 104.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.4917, allocations: 0 / 0.6668 GB, free: 104.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.4919, allocations: 43.09 kB / 0.6668 GB, free: 104.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.071e-05/0.4919, allocations: 28.59 kB / 0.6668 GB, free: 104.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.4919, allocations: 4 kB / 0.6668 GB, free: 104.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005226/0.4925, allocations: 1.373 MB / 0.6682 GB, free: 103.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4925, allocations: 0 / 0.6682 GB, free: 103.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005367/0.493, allocations: 0.6561 MB / 0.6688 GB, free: 102.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.413e-05/0.4931, allocations: 131.2 kB / 0.6689 GB, free: 102.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.699e-05/0.4931, allocations: 4 kB / 0.6689 GB, free: 102.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.4932, allocations: 11.3 kB / 0.669 GB, free: 102.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/0.4933, allocations: 22.14 kB / 0.669 GB, free: 102.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.4933, allocations: 6.75 kB / 0.669 GB, free: 102.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001777/0.4935, allocations: 260.4 kB / 0.6692 GB, free: 102.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4935, allocations: 4 kB / 0.6692 GB, free: 102.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002424/0.4959, allocations: 1.269 MB / 0.6705 GB, free: 102.3 MB / 0.4981 GB 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.00362/0.4995, allocations: 1.417 MB / 0.6719 GB, free: 101.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004098/0.4999, allocations: 302.1 kB / 0.6721 GB, free: 101.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.4999, allocations: 0 / 0.6721 GB, free: 101.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001759/0.5001, allocations: 223.1 kB / 0.6724 GB, free: 101.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000772/0.5009, allocations: 170.4 kB / 0.6725 GB, free: 101.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.502, allocations: 0.976 MB / 0.6735 GB, free: 100.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001499/0.5021, allocations: 0.8224 MB / 0.6743 GB, free: 99.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.758e-05/0.5022, allocations: 31.44 kB / 0.6743 GB, free: 99.38 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.5022, allocations: 0 / 0.6743 GB, free: 99.38 MB / 0.4981 GB Notification: Performance of Templates: time 0.02537/0.5275, allocations: 27.77 MB / 0.7014 GB, free: 71.58 MB / 0.4981 GB " [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=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.381973494775593] Failed to read output from testmodel.py, exit status != 0: 0.5334684690460563 0.5414155239999999 0.36562491999999996 Calling exit ...