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.000812/0.000812, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003684/0.003684, allocations: 160.9 kB / 24.7 MB, free: 9.426 MB / 18.57 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 0.7813/0.7813, allocations: 158.6 MB / 186.5 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] 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.162/0.162, allocations: 36.35 MB / 275.1 MB, free: 10.9 MB / 266.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 415.6 MB, free: 5.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.687e-05/1.816e-05, allocations: 6.219 kB / 415.6 MB, free: 5.562 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.1819/0.1819, allocations: 33.8 MB / 449.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01113/0.193, allocations: 13.06 MB / 462.5 MB, free: 7.359 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002478/0.1933, allocations: 16.28 kB / 462.5 MB, free: 7.348 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004183/0.1937, allocations: 134.8 kB / 462.6 MB, free: 7.27 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00029/0.194, allocations: 238.9 kB / 462.9 MB, free: 7.109 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0113/0.2053, allocations: 6.542 MB / 469.4 MB, free: 3.141 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005263/0.2058, allocations: 0.6156 MB / 470 MB, free: 2.773 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002455/0.206, allocations: 176.7 kB / 470.2 MB, free: 2.648 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002651/0.2063, allocations: 321.9 kB / 470.5 MB, free: 2.465 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001897/0.2065, allocations: 182.9 kB / 470.7 MB, free: 2.371 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.357e-05/0.2065, allocations: 24.72 kB / 470.7 MB, free: 2.371 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009078/0.2156, allocations: 8.562 MB / 479.3 MB, free: 13.6 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.29e-05/0.2157, allocations: 71.62 kB / 479.3 MB, free: 13.53 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.2158, allocations: 131.7 kB / 479.5 MB, free: 13.4 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006284/0.2221, allocations: 6.583 MB / 486.1 MB, free: 6.801 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.2221, allocations: 0 / 486.1 MB, free: 6.801 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.2221, allocations: 0 / 486.1 MB, free: 6.801 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.2221, allocations: 0 / 486.1 MB, free: 6.801 MB / 378.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.001522/0.2236, allocations: 1.183 MB / 487.2 MB, free: 5.582 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.2236, allocations: 8.031 kB / 487.2 MB, free: 5.574 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.2238, allocations: 68.62 kB / 487.3 MB, free: 5.508 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000337/0.2241, allocations: 261.6 kB / 487.6 MB, free: 5.223 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.2241, allocations: 27.66 kB / 487.6 MB, free: 5.199 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.842e-05/0.2242, allocations: 35.94 kB / 487.6 MB, free: 5.168 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004055/0.2246, allocations: 349.8 kB / 488 MB, free: 4.801 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.2246, allocations: 3.938 kB / 488 MB, free: 4.797 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.2246, allocations: 15.94 kB / 488 MB, free: 4.781 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.2246, allocations: 4 kB / 488 MB, free: 4.777 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002787/0.2249, allocations: 209.8 kB / 488.2 MB, free: 4.574 MB / 378.7 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.001275/0.2262, allocations: 1.111 MB / 489.3 MB, free: 3.398 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003094/0.2265, allocations: 174.6 kB / 489.5 MB, free: 3.219 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.57e-05/0.2265, allocations: 52.83 kB / 489.5 MB, free: 3.164 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05325/0.2798, allocations: 33.63 MB / 0.5109 GB, free: 1.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.2798, allocations: 34.56 kB / 0.5109 GB, free: 1.457 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.034e-06/0.2798, allocations: 0 / 0.5109 GB, free: 1.457 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007104/0.2805, allocations: 318.2 kB / 0.5112 GB, free: 1.137 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.2806, allocations: 51.41 kB / 0.5113 GB, free: 1.074 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.2808, allocations: 292.5 kB / 0.5116 GB, free: 0.7773 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.2808, allocations: 29.7 kB / 0.5116 GB, free: 0.7422 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.2809, allocations: 216.1 kB / 0.5118 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.293e-05/0.2809, allocations: 59.42 kB / 0.5118 GB, free: 480 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.914e-05/0.281, allocations: 45.7 kB / 0.5119 GB, free: 428 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.058e-05/0.281, allocations: 338.8 kB / 0.5122 GB, free: 80 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.462e-05/0.2811, allocations: 43.97 kB / 0.5123 GB, free: 36 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.732e-05/0.2812, allocations: 114.6 kB / 0.5124 GB, free: 15.9 MB / 426.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.0005458/0.2818, allocations: 281.3 kB / 0.5126 GB, free: 15.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2818, allocations: 0 / 0.5126 GB, free: 15.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000495/0.2823, allocations: 237.9 kB / 0.5129 GB, free: 15.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.2823, allocations: 4 kB / 0.5129 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.2823, allocations: 4 kB / 0.5129 GB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.069e-05/0.2824, allocations: 28.78 kB / 0.5129 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.2825, allocations: 40.2 kB / 0.5129 GB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006459/0.2831, allocations: 1.264 MB / 0.5142 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.236e-05/0.2832, allocations: 15.89 kB / 0.5142 GB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.2832, allocations: 8 kB / 0.5142 GB, free: 13.89 MB / 426.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.000109/0.2833, allocations: 141.8 kB / 0.5143 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.251e-05/0.2833, allocations: 35.91 kB / 0.5144 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004894/0.2838, allocations: 0.6288 MB / 0.515 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.2838, allocations: 11.98 kB / 0.515 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.2838, allocations: 0.875 kB / 0.515 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.2839, allocations: 0 / 0.515 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007463/0.2846, allocations: 0.9893 MB / 0.516 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.2846, allocations: 7.984 kB / 0.516 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.826e-05/0.2847, allocations: 32.02 kB / 0.516 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.146e-05/0.2847, allocations: 28.78 kB / 0.516 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.2848, allocations: 0.875 kB / 0.516 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005176/0.2853, allocations: 1.254 MB / 0.5172 GB, free: 10.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2853, allocations: 0 / 0.5172 GB, free: 10.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004617/0.2857, allocations: 0.6788 MB / 0.5179 GB, free: 9.898 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.246e-05/0.2858, allocations: 35.64 kB / 0.5179 GB, free: 9.863 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.2858, allocations: 8 kB / 0.518 GB, free: 9.855 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.532e-05/0.2859, allocations: 8.031 kB / 0.518 GB, free: 9.848 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.2859, allocations: 11.98 kB / 0.518 GB, free: 9.836 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.2859, allocations: 6.719 kB / 0.518 GB, free: 9.832 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001245/0.286, allocations: 211 kB / 0.5182 GB, free: 9.629 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.286, allocations: 3.938 kB / 0.5182 GB, free: 9.625 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002195/0.2882, allocations: 1.279 MB / 0.5194 GB, free: 8.344 MB / 426.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.003281/0.2915, allocations: 1.589 MB / 0.521 GB, free: 6.742 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000342/0.2918, allocations: 298.5 kB / 0.5213 GB, free: 6.438 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2918, allocations: 0 / 0.5213 GB, free: 6.438 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.292, allocations: 230.5 kB / 0.5215 GB, free: 6.199 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004353/0.2924, allocations: 128.8 kB / 0.5216 GB, free: 6.074 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009189/0.2933, allocations: 0.8898 MB / 0.5225 GB, free: 5.145 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.2935, allocations: 208 kB / 0.5227 GB, free: 4.91 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.336e-05/0.2935, allocations: 28.5 kB / 0.5227 GB, free: 4.883 MB / 426.7 MB Notification: Performance of SimCode: time 5.11e-07/0.2935, allocations: 0 / 0.5227 GB, free: 4.883 MB / 426.7 MB Notification: Performance of Templates: time 0.02225/0.3157, allocations: 27.62 MB / 0.5497 GB, free: 9.215 MB / 458.7 MB " [Timeout remaining time 660] 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: 6.273987742140889] Failed to read output from testmodel.py, exit status != 0: 0.3212621156126261 0.328262494 0.10459718000000001 Calling exit ...