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.001531/0.001531, allocations: 111.1 kB / 20.44 MB, free: 1.352 MB / 14.72 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.001646/0.001646, allocations: 213.3 kB / 23.73 MB, free: 4.531 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.492/1.492, allocations: 207.7 MB / 234.6 MB, free: 9.82 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.3217/0.3217, allocations: 49.6 MB / 336.4 MB, free: 3.883 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 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.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002639/0.002639, allocations: 79.88 kB / 476.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1319, allocations: 62.43 MB / 0.5267 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.2763/0.4082, allocations: 34.03 MB / 0.5599 GB, free: 4.156 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0212/0.4294, allocations: 13.06 MB / 0.5726 GB, free: 11.87 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005619/0.43, allocations: 11.84 kB / 0.5727 GB, free: 11.86 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006904/0.4307, allocations: 141.3 kB / 0.5728 GB, free: 11.78 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009977/0.4317, allocations: 218.8 kB / 0.573 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02321/0.4549, allocations: 6.476 MB / 0.5793 GB, free: 7.715 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001051/0.456, allocations: 0.593 MB / 0.5799 GB, free: 7.371 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004348/0.4564, allocations: 168.7 kB / 0.5801 GB, free: 7.258 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004799/0.4569, allocations: 234.3 kB / 0.5803 GB, free: 7.133 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004118/0.4573, allocations: 209.4 kB / 0.5805 GB, free: 7.012 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.177e-05/0.4573, allocations: 24.69 kB / 0.5805 GB, free: 7.012 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01816/0.4755, allocations: 8.535 MB / 0.5888 GB, free: 2.742 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.4756, allocations: 77.75 kB / 0.5889 GB, free: 2.676 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003639/0.476, allocations: 157.3 kB / 0.5891 GB, free: 2.594 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01185/0.4878, allocations: 5.145 MB / 0.5941 GB, free: 15.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4879, allocations: 0 / 0.5941 GB, free: 15.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4879, allocations: 0 / 0.5941 GB, free: 15.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.367e-05/0.4879, allocations: 2.875 kB / 0.5941 GB, free: 15.29 MB / 446.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.003596/0.4915, allocations: 1.196 MB / 0.5953 GB, free: 14.44 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.4915, allocations: 9.094 kB / 0.5953 GB, free: 14.44 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002662/0.4918, allocations: 59.84 kB / 0.5953 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005626/0.4923, allocations: 271.6 kB / 0.5956 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.4924, allocations: 19.88 kB / 0.5956 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.562e-05/0.4924, allocations: 34.08 kB / 0.5956 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007067/0.4931, allocations: 355.1 kB / 0.596 GB, free: 13.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.4931, allocations: 3.938 kB / 0.596 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.14e-05/0.4932, allocations: 12 kB / 0.596 GB, free: 13.85 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.4932, allocations: 8 kB / 0.596 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000534/0.4937, allocations: 205.8 kB / 0.5962 GB, free: 13.64 MB / 446.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.001847/0.4956, allocations: 1.118 MB / 0.5973 GB, free: 12.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005516/0.4961, allocations: 170.6 kB / 0.5974 GB, free: 12.28 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.4962, allocations: 50.66 kB / 0.5975 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1266/0.6228, allocations: 33.64 MB / 0.6303 GB, free: 10.56 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.45e-05/0.6229, allocations: 42.5 kB / 0.6304 GB, free: 10.51 MB / 478.1 MB Notification: Performance of pre-optimization done (n=14): time 2.304e-06/0.6229, allocations: 0 / 0.6304 GB, free: 10.51 MB / 478.1 MB Notification: Performance of matching and sorting (n=14): time 0.001211/0.6241, allocations: 310.1 kB / 0.6307 GB, free: 10.2 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.6241, allocations: 55.41 kB / 0.6307 GB, free: 10.13 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003882/0.6245, allocations: 296.4 kB / 0.631 GB, free: 9.832 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.6245, allocations: 33.7 kB / 0.6311 GB, free: 9.793 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.6247, allocations: 208.2 kB / 0.6313 GB, free: 9.586 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.841e-05/0.6248, allocations: 63.5 kB / 0.6313 GB, free: 9.523 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.191e-05/0.6248, allocations: 45.61 kB / 0.6314 GB, free: 9.473 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.625, allocations: 342.8 kB / 0.6317 GB, free: 9.129 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.6251, allocations: 43.84 kB / 0.6317 GB, free: 9.086 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.6253, allocations: 98.84 kB / 0.6318 GB, free: 8.965 MB / 478.1 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.001008/0.6263, allocations: 293 kB / 0.6321 GB, free: 8.656 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.6263, allocations: 0 / 0.6321 GB, free: 8.656 MB / 478.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005012/0.6268, allocations: 230 kB / 0.6323 GB, free: 8.422 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.6268, allocations: 8.469 kB / 0.6323 GB, free: 8.414 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.6268, allocations: 0 / 0.6323 GB, free: 8.414 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001539/0.627, allocations: 28.78 kB / 0.6324 GB, free: 8.383 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/0.6272, allocations: 47.91 kB / 0.6324 GB, free: 8.336 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/0.6284, allocations: 1.257 MB / 0.6336 GB, free: 6.977 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001978/0.6286, allocations: 15.84 kB / 0.6336 GB, free: 6.961 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/0.6286, allocations: 15.38 kB / 0.6337 GB, free: 6.949 MB / 478.1 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.0001894/0.6288, allocations: 149.7 kB / 0.6338 GB, free: 6.793 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.773e-05/0.6288, allocations: 28.02 kB / 0.6338 GB, free: 6.766 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009017/0.6297, allocations: 0.6229 MB / 0.6344 GB, free: 6.133 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.6298, allocations: 3.984 kB / 0.6344 GB, free: 6.129 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.6298, allocations: 4 kB / 0.6344 GB, free: 6.125 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.6298, allocations: 3.984 kB / 0.6344 GB, free: 6.121 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001406/0.6312, allocations: 0.9871 MB / 0.6354 GB, free: 5.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.6312, allocations: 0 / 0.6354 GB, free: 5.09 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.6314, allocations: 47.89 kB / 0.6355 GB, free: 5.043 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.99e-05/0.6315, allocations: 24.84 kB / 0.6355 GB, free: 5.016 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.6315, allocations: 7.875 kB / 0.6355 GB, free: 5.008 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001056/0.6325, allocations: 1.252 MB / 0.6367 GB, free: 3.656 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.6325, allocations: 0 / 0.6367 GB, free: 3.656 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008712/0.6334, allocations: 0.6687 MB / 0.6374 GB, free: 2.965 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.6335, allocations: 51.62 kB / 0.6374 GB, free: 2.914 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.682e-05/0.6336, allocations: 0 / 0.6374 GB, free: 2.914 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.6337, allocations: 8 kB / 0.6374 GB, free: 2.906 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/0.6338, allocations: 11.97 kB / 0.6374 GB, free: 2.895 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.6338, allocations: 4.875 kB / 0.6374 GB, free: 2.891 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002469/0.634, allocations: 215 kB / 0.6376 GB, free: 2.68 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.634, allocations: 0 / 0.6376 GB, free: 2.68 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003673/0.6377, allocations: 1.279 MB / 0.6389 GB, free: 1.398 MB / 478.1 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.0065/0.6442, allocations: 1.414 MB / 0.6403 GB, free: 15.98 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007518/0.6449, allocations: 302.4 kB / 0.6406 GB, free: 15.67 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.6449, allocations: 0 / 0.6406 GB, free: 15.67 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000415/0.6454, allocations: 222.6 kB / 0.6408 GB, free: 15.44 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008639/0.6462, allocations: 129.7 kB / 0.6409 GB, free: 15.31 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/0.6481, allocations: 0.9659 MB / 0.6418 GB, free: 14.32 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.6485, allocations: 208.1 kB / 0.642 GB, free: 14.09 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003014/0.6488, allocations: 70.2 kB / 0.6421 GB, free: 14.02 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.258e-05/0.6488, allocations: 23.44 kB / 0.6421 GB, free: 13.99 MB / 494.1 MB Notification: Performance of SimCode: time 7.62e-07/0.6488, allocations: 0 / 0.6421 GB, free: 13.99 MB / 494.1 MB Notification: Performance of Templates: time 0.07505/0.7239, allocations: 48.84 MB / 0.6898 GB, free: 13.06 MB / 0.5294 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.098371241241693] Failed to read output from testmodel.py, exit status != 0: 0.7340722661465406 0.748437161 0.257318918 Calling exit ...