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.00134/0.00134, allocations: 84.08 kB / 20.68 MB, free: 1.027 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.001478/0.001478, allocations: 167.1 kB / 23.95 MB, free: 4.156 MB / 14.72 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.428/1.428, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 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.1408/0.1408, allocations: 19.74 MB / 280.4 MB, free: 12.91 MB / 270.1 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 2.244e-06/2.244e-06, allocations: 0 / 417.1 MB, free: 500 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.31e-05/3.535e-05, allocations: 10.22 kB / 417.1 MB, free: 488 kB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.2254/0.2254, allocations: 33.92 MB / 451 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01482/0.2402, allocations: 13.05 MB / 464 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002878/0.2405, allocations: 12.16 kB / 464.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004818/0.241, allocations: 142.8 kB / 464.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004154/0.2414, allocations: 231 kB / 464.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01726/0.2587, allocations: 6.565 MB / 471 MB, free: 14.01 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007439/0.2594, allocations: 0.6202 MB / 471.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002873/0.2597, allocations: 178 kB / 471.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003919/0.2601, allocations: 319.5 kB / 472.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002614/0.2603, allocations: 179.6 kB / 472.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.531e-05/0.2604, allocations: 29.59 kB / 472.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01417/0.2746, allocations: 8.576 MB / 480.9 MB, free: 10.19 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.56e-05/0.2747, allocations: 72.42 kB / 480.9 MB, free: 10.13 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002736/0.2749, allocations: 131 kB / 481.1 MB, free: 10.08 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01135/0.2863, allocations: 6.593 MB / 487.7 MB, free: 5.734 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.2863, allocations: 0 / 487.7 MB, free: 5.734 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2863, allocations: 0 / 487.7 MB, free: 5.734 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.2863, allocations: 3.938 kB / 487.7 MB, free: 5.73 MB / 366.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.00313/0.2894, allocations: 1.195 MB / 488.9 MB, free: 4.883 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.2895, allocations: 8.875 kB / 488.9 MB, free: 4.883 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002267/0.2897, allocations: 67.64 kB / 488.9 MB, free: 4.852 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003567/0.29, allocations: 256.7 kB / 489.2 MB, free: 4.625 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.2901, allocations: 23.28 kB / 489.2 MB, free: 4.617 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.63e-05/0.2901, allocations: 27.72 kB / 489.2 MB, free: 4.609 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005583/0.2907, allocations: 354 kB / 489.6 MB, free: 4.359 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.2907, allocations: 3.938 kB / 489.6 MB, free: 4.355 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/0.2907, allocations: 16.03 kB / 489.6 MB, free: 4.344 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.2907, allocations: 5.672 kB / 489.6 MB, free: 4.344 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004283/0.2911, allocations: 208.4 kB / 489.8 MB, free: 4.25 MB / 366.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.001275/0.2924, allocations: 1.128 MB / 490.9 MB, free: 3.148 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004955/0.2929, allocations: 170.6 kB / 491.1 MB, free: 2.973 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.45e-05/0.293, allocations: 48.84 kB / 491.2 MB, free: 2.922 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1269/0.4199, allocations: 35.09 MB / 0.5139 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/0.4199, allocations: 34.56 kB / 0.5139 GB, free: 15.78 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 2.155e-06/0.4199, allocations: 0 / 0.5139 GB, free: 15.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.001311/0.4212, allocations: 313 kB / 0.5142 GB, free: 15.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.4213, allocations: 55.41 kB / 0.5143 GB, free: 15.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003908/0.4217, allocations: 292.5 kB / 0.5146 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.4217, allocations: 29.7 kB / 0.5146 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.4219, allocations: 216.1 kB / 0.5148 GB, free: 14.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.655e-05/0.4219, allocations: 47.59 kB / 0.5149 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.196e-05/0.422, allocations: 46.31 kB / 0.5149 GB, free: 14.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.4222, allocations: 338.8 kB / 0.5152 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.4223, allocations: 51.97 kB / 0.5153 GB, free: 14.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.4224, allocations: 103.1 kB / 0.5154 GB, free: 14.24 MB / 414.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.00102/0.4235, allocations: 288.1 kB / 0.5156 GB, free: 13.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.4235, allocations: 4.812 kB / 0.5156 GB, free: 13.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005082/0.424, allocations: 231.6 kB / 0.5159 GB, free: 13.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.424, allocations: 4 kB / 0.5159 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.424, allocations: 4 kB / 0.5159 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001435/0.4242, allocations: 24.84 kB / 0.5159 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.4244, allocations: 47.92 kB / 0.5159 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001199/0.4256, allocations: 1.266 MB / 0.5172 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.4258, allocations: 19.89 kB / 0.5172 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.4258, allocations: 4 kB / 0.5172 GB, free: 12.23 MB / 414.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.0001911/0.426, allocations: 141.8 kB / 0.5173 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.802e-05/0.426, allocations: 31.75 kB / 0.5174 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008916/0.4269, allocations: 0.6172 MB / 0.518 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/0.427, allocations: 16.08 kB / 0.518 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.427, allocations: 0 / 0.518 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.427, allocations: 0 / 0.518 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/0.4284, allocations: 1.002 MB / 0.519 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.4284, allocations: 0 / 0.519 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/0.4286, allocations: 31.97 kB / 0.519 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.87e-05/0.4287, allocations: 24.84 kB / 0.519 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.4287, allocations: 9.281 kB / 0.519 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001041/0.4297, allocations: 1.252 MB / 0.5203 GB, free: 8.953 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.4297, allocations: 0 / 0.5203 GB, free: 8.953 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009068/0.4307, allocations: 0.6748 MB / 0.5209 GB, free: 8.254 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.052e-05/0.4307, allocations: 39.64 kB / 0.5209 GB, free: 8.215 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.998e-05/0.4308, allocations: 8.156 kB / 0.521 GB, free: 8.207 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.4309, allocations: 8.031 kB / 0.521 GB, free: 8.199 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.431, allocations: 11.98 kB / 0.521 GB, free: 8.188 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.431, allocations: 4 kB / 0.521 GB, free: 8.184 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002318/0.4312, allocations: 211.1 kB / 0.5212 GB, free: 7.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4312, allocations: 0 / 0.5212 GB, free: 7.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003744/0.435, allocations: 1.279 MB / 0.5224 GB, free: 6.699 MB / 414.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.008915/0.4439, allocations: 1.609 MB / 0.524 GB, free: 5.195 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000716/0.4446, allocations: 301.8 kB / 0.5243 GB, free: 4.891 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.4446, allocations: 3.938 kB / 0.5243 GB, free: 4.887 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000353/0.445, allocations: 230.5 kB / 0.5245 GB, free: 4.648 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009135/0.4459, allocations: 119.8 kB / 0.5246 GB, free: 4.535 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.4477, allocations: 0.864 MB / 0.5255 GB, free: 3.648 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.4479, allocations: 208 kB / 0.5257 GB, free: 3.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000208/0.4481, allocations: 70.22 kB / 0.5257 GB, free: 3.363 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.697e-05/0.4482, allocations: 24.5 kB / 0.5258 GB, free: 3.34 MB / 414.1 MB Notification: Performance of SimCode: time 8.51e-07/0.4482, allocations: 0 / 0.5258 GB, free: 3.34 MB / 414.1 MB Notification: Performance of Templates: time 0.07303/0.5212, allocations: 48.48 MB / 0.5731 GB, free: 2.922 MB / 462.1 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=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.535684008151293] Failed to read output from testmodel.py, exit status != 0: 0.5313071422278881 0.5469495120000001 0.25720580600000004 Calling exit ...