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.00115/0.00115, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00168/0.00283, 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.001144/0.001144, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001491/0.002635, 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.9056/0.9056, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07983/0.9854, allocations: 53.64 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.1144/0.1144, allocations: 19.75 MB / 263.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01388/0.1283, allocations: 7.552 MB / 271.3 MB, free: 3.473 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_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 1.823e-06/1.823e-06, allocations: 0 / 272.6 MB, free: 2.172 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.545e-05/1.727e-05, allocations: 2.312 kB / 272.6 MB, free: 2.168 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.1171/0.1171, allocations: 21.8 MB / 294.4 MB, free: 5.918 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01245/0.1296, allocations: 14.45 MB / 308.8 MB, free: 9.496 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002218/0.1298, allocations: 7.938 kB / 308.8 MB, free: 9.488 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003241/0.1301, allocations: 126.9 kB / 309 MB, free: 9.363 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000303/0.1304, allocations: 230.3 kB / 309.2 MB, free: 9.137 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01144/0.1419, allocations: 5.905 MB / 315.1 MB, free: 3.211 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005174/0.1424, allocations: 0.614 MB / 315.7 MB, free: 2.594 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002448/0.1426, allocations: 202.2 kB / 315.9 MB, free: 2.387 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003537/0.143, allocations: 361.2 kB / 316.3 MB, free: 2.035 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.1432, allocations: 179.3 kB / 316.4 MB, free: 1.859 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.973e-05/0.1432, allocations: 24 kB / 316.5 MB, free: 1.836 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01017/0.1534, allocations: 9.192 MB / 325.7 MB, free: 8.629 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.243e-05/0.1534, allocations: 51.75 kB / 325.7 MB, free: 8.578 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.843e-05/0.1535, allocations: 119.8 kB / 325.8 MB, free: 8.461 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005596/0.1591, allocations: 4.889 MB / 330.7 MB, free: 3.562 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.091e-05/0.1591, allocations: 0 / 330.7 MB, free: 3.562 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1591, allocations: 0 / 330.7 MB, free: 3.562 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.1591, allocations: 0 / 330.7 MB, free: 3.562 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.00219/0.1613, allocations: 1.616 MB / 332.3 MB, free: 1.895 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.876e-05/0.1613, allocations: 15.97 kB / 332.3 MB, free: 1.879 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001608/0.1615, allocations: 72.88 kB / 332.4 MB, free: 1.809 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.1618, allocations: 233.7 kB / 332.6 MB, free: 1.555 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.1618, allocations: 21.03 kB / 332.7 MB, free: 1.535 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.1618, allocations: 36.31 kB / 332.7 MB, free: 1.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000335/0.1621, allocations: 306.2 kB / 333 MB, free: 1.172 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1621, allocations: 3.938 kB / 333 MB, free: 1.168 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.1622, allocations: 16 kB / 333 MB, free: 1.152 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.1622, allocations: 4 kB / 333 MB, free: 1.148 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.1623, allocations: 119.3 kB / 333.1 MB, free: 1.027 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000853/0.1632, allocations: 0.9352 MB / 334.1 MB, free: 44 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000246/0.1634, allocations: 131.3 kB / 334.2 MB, free: 15.91 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.9e-05/0.1635, allocations: 20.86 kB / 334.2 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3443/0.5078, allocations: 116.7 MB / 451 MB, free: 111.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.5078, allocations: 40.48 kB / 451 MB, free: 111.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.494e-06/0.5078, allocations: 0 / 451 MB, free: 111.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005853/0.5084, allocations: 232.6 kB / 451.2 MB, free: 111.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.535e-05/0.5084, allocations: 55.41 kB / 451.3 MB, free: 111.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.5085, allocations: 270.2 kB / 451.5 MB, free: 111.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.806e-06/0.5085, allocations: 29.27 kB / 451.6 MB, free: 111.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.693e-05/0.5086, allocations: 187.7 kB / 451.7 MB, free: 111.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/0.5086, allocations: 52.48 kB / 451.8 MB, free: 111.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.919e-05/0.5087, allocations: 47.44 kB / 451.8 MB, free: 111.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.837e-05/0.5087, allocations: 348.7 kB / 452.2 MB, free: 110.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.75e-05/0.5087, allocations: 15.98 kB / 452.2 MB, free: 110.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.803e-05/0.5088, allocations: 68.42 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.0001792/0.5089, allocations: 151.6 kB / 452.4 MB, free: 110.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.509, allocations: 0 / 452.4 MB, free: 110.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001441/0.5091, allocations: 145 kB / 452.6 MB, free: 110.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.5091, allocations: 4.219 kB / 452.6 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.5091, allocations: 8 kB / 452.6 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001146/0.5092, allocations: 28.58 kB / 452.6 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.5094, allocations: 52.94 kB / 452.7 MB, free: 110.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004084/0.5098, allocations: 1.174 MB / 453.8 MB, free: 109.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.234e-05/0.5099, allocations: 12.59 kB / 453.8 MB, free: 109.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.5099, allocations: 7.812 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.55e-05/0.5099, allocations: 128.6 kB / 454 MB, free: 109.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/0.51, allocations: 19.8 kB / 454 MB, free: 109.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002636/0.5102, allocations: 410.7 kB / 454.4 MB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.5102, allocations: 11.98 kB / 454.4 MB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.5102, allocations: 0 / 454.4 MB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.5102, allocations: 0 / 454.4 MB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004703/0.5107, allocations: 0.6289 MB / 455 MB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.5107, allocations: 0 / 455 MB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.5108, allocations: 49.19 kB / 455.1 MB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.826e-05/0.5108, allocations: 44.19 kB / 455.1 MB, free: 108 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.369e-05/0.5109, allocations: 27.83 kB / 455.2 MB, free: 108 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.5109, allocations: 3 kB / 455.2 MB, free: 108 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002885/0.5112, allocations: 1.152 MB / 456.3 MB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.5112, allocations: 0 / 456.3 MB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/0.5114, allocations: 434.8 kB / 456.7 MB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.5114, allocations: 0 / 456.7 MB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.7e-05/0.5115, allocations: 7.438 kB / 456.7 MB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.819e-05/0.5115, allocations: 15.77 kB / 456.8 MB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.5115, allocations: 7.375 kB / 456.8 MB, free: 106.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.736e-05/0.5116, allocations: 104.8 kB / 456.9 MB, free: 106.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-08/0.5116, allocations: 0 / 456.9 MB, free: 106.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002175/0.5138, allocations: 1.285 MB / 458.1 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.00343/0.5172, allocations: 1.723 MB / 459.9 MB, free: 103.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002942/0.5175, allocations: 220.8 kB / 460.1 MB, free: 103.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.269e-05/0.5175, allocations: 4 kB / 460.1 MB, free: 103.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.652e-05/0.5176, allocations: 180.7 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.0003875/0.518, allocations: 146 kB / 460.4 MB, free: 103 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004338/0.5223, allocations: 0.8182 MB / 461.2 MB, free: 102.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.368e-05/0.5224, allocations: 109.6 kB / 461.3 MB, free: 102.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001239/0.5225, allocations: 70.42 kB / 461.4 MB, free: 102.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/0.5226, allocations: 134.7 kB / 461.5 MB, free: 101.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.533e-06/0.5226, allocations: 0 / 461.5 MB, free: 101.9 MB / 410.7 MB Notification: Performance of Templates: time 0.04149/0.5641, allocations: 55.46 MB / 0.5049 GB, free: 46.73 MB / 410.7 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=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.503389279358089]