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.001367/0.001367, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0009762/0.0009762, allocations: 166.2 kB / 24.82 MB, free: 9.266 MB / 18.57 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.9971/0.9971, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.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.1065/0.1065, allocations: 19.75 MB / 281.5 MB, free: 9.086 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.312e-06/1.312e-06, allocations: 0 / 358.4 MB, free: 7.375 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.768e-05/1.9e-05, allocations: 2.312 kB / 358.4 MB, free: 7.371 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.01711/0.01712, allocations: 21.51 MB / 379.9 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01252/0.02964, allocations: 14.14 MB / 394.1 MB, free: 3.59 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000314/0.02996, allocations: 7.938 kB / 394.1 MB, free: 3.582 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004137/0.03037, allocations: 126.9 kB / 394.2 MB, free: 3.457 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003158/0.03069, allocations: 234.3 kB / 394.4 MB, free: 3.227 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01226/0.04295, allocations: 6.56 MB / 401 MB, free: 12.64 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000589/0.04354, allocations: 0.6216 MB / 401.6 MB, free: 12.02 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002533/0.04379, allocations: 190.3 kB / 401.8 MB, free: 11.83 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003228/0.04411, allocations: 323.2 kB / 402.1 MB, free: 11.51 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002066/0.04432, allocations: 179.4 kB / 402.3 MB, free: 11.34 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.102e-05/0.04435, allocations: 28 kB / 402.3 MB, free: 11.31 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01049/0.05483, allocations: 8.571 MB / 410.9 MB, free: 2.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.141e-05/0.05491, allocations: 63.69 kB / 411 MB, free: 2.668 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001487/0.05505, allocations: 139.6 kB / 411.1 MB, free: 2.531 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008402/0.06346, allocations: 6.513 MB / 417.6 MB, free: 12 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.06346, allocations: 0 / 417.6 MB, free: 12 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.06346, allocations: 0 / 417.6 MB, free: 12 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.06347, allocations: 0 / 417.6 MB, free: 12 MB / 394.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.002714/0.06618, allocations: 1.302 MB / 418.9 MB, free: 10.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.06622, allocations: 8.031 kB / 418.9 MB, free: 10.65 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001934/0.06641, allocations: 84.69 kB / 419 MB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/0.06669, allocations: 272.4 kB / 419.3 MB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.06671, allocations: 21.03 kB / 419.3 MB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.702e-05/0.06675, allocations: 32.33 kB / 419.3 MB, free: 10.22 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003792/0.06713, allocations: 308.4 kB / 419.6 MB, free: 9.883 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.06714, allocations: 7.938 kB / 419.6 MB, free: 9.875 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.06716, allocations: 12 kB / 419.6 MB, free: 9.863 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.06716, allocations: 4 kB / 419.7 MB, free: 9.859 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001874/0.06735, allocations: 127.2 kB / 419.8 MB, free: 9.738 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009842/0.06833, allocations: 1.289 MB / 421.1 MB, free: 8.383 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000264/0.0686, allocations: 143 kB / 421.2 MB, free: 8.23 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.315e-05/0.06863, allocations: 27.67 kB / 421.2 MB, free: 8.199 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1781/0.2467, allocations: 30.66 MB / 451.9 MB, free: 96.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.2467, allocations: 36.39 kB / 451.9 MB, free: 96.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.034e-06/0.2467, allocations: 0 / 451.9 MB, free: 96.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006263/0.2474, allocations: 266.7 kB / 452.2 MB, free: 96.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.462e-05/0.2474, allocations: 54.59 kB / 452.2 MB, free: 96.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.2475, allocations: 327.2 kB / 452.6 MB, free: 96.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.687e-06/0.2475, allocations: 32.77 kB / 452.6 MB, free: 96.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.859e-05/0.2476, allocations: 266 kB / 452.9 MB, free: 96.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.2476, allocations: 53.66 kB / 452.9 MB, free: 96.01 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.2477, allocations: 54.72 kB / 453 MB, free: 95.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.957e-05/0.2477, allocations: 0.5107 MB / 453.5 MB, free: 95.49 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.797e-05/0.2477, allocations: 19.89 kB / 453.5 MB, free: 95.49 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.659e-05/0.2478, allocations: 98.25 kB / 453.6 MB, free: 95.39 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.0001843/0.248, allocations: 166.3 kB / 453.7 MB, free: 95.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.248, allocations: 1.75 kB / 453.8 MB, free: 95.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001782/0.2482, allocations: 187.9 kB / 453.9 MB, free: 95.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.2482, allocations: 6.281 kB / 453.9 MB, free: 95.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.2482, allocations: 3.938 kB / 453.9 MB, free: 95.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001136/0.2483, allocations: 30.33 kB / 454 MB, free: 95.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.79e-05/0.2484, allocations: 47.06 kB / 454 MB, free: 95.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004783/0.2489, allocations: 1.714 MB / 455.7 MB, free: 93.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.822e-05/0.249, allocations: 13.73 kB / 455.7 MB, free: 93.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.249, allocations: 10.22 kB / 455.8 MB, free: 93.52 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.919e-05/0.249, allocations: 175.7 kB / 455.9 MB, free: 93.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/0.2491, allocations: 35.34 kB / 456 MB, free: 93.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002887/0.2494, allocations: 385.4 kB / 456.3 MB, free: 93.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.2494, allocations: 6.438 kB / 456.3 MB, free: 93.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.2494, allocations: 3.125 kB / 456.3 MB, free: 93.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.2494, allocations: 2.906 kB / 456.4 MB, free: 93.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005101/0.2499, allocations: 0.6965 MB / 457 MB, free: 92.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.2499, allocations: 0 / 457 MB, free: 92.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.607e-05/0.25, allocations: 35.2 kB / 457.1 MB, free: 92.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.487e-05/0.25, allocations: 27.5 kB / 457.1 MB, free: 92.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.2501, allocations: 6.812 kB / 457.1 MB, free: 92.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003487/0.2504, allocations: 1.713 MB / 458.8 MB, free: 91.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2504, allocations: 7.531 kB / 458.8 MB, free: 91.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.2507, allocations: 480.7 kB / 459.3 MB, free: 90.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.975e-05/0.2507, allocations: 43.61 kB / 459.3 MB, free: 90.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.2507, allocations: 3 kB / 459.4 MB, free: 90.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.063e-05/0.2508, allocations: 6.812 kB / 459.4 MB, free: 90.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.751e-05/0.2508, allocations: 9.828 kB / 459.4 MB, free: 90.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.2508, allocations: 6.875 kB / 459.4 MB, free: 90.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.737e-05/0.2509, allocations: 221.6 kB / 459.6 MB, free: 90.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-08/0.2509, allocations: 0 / 459.6 MB, free: 90.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002092/0.253, allocations: 1.284 MB / 460.9 MB, free: 90.77 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.003579/0.2566, allocations: 1.638 MB / 462.5 MB, free: 90.49 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002781/0.2568, allocations: 280 kB / 462.8 MB, free: 90.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.2568, allocations: 2.969 kB / 462.8 MB, free: 90.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.2569, allocations: 241.2 kB / 463 MB, free: 90.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/0.2574, allocations: 132.1 kB / 463.2 MB, free: 90.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.2585, allocations: 0.8558 MB / 464 MB, free: 89.67 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.114e-05/0.2586, allocations: 106.2 kB / 464.1 MB, free: 89.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001157/0.2587, allocations: 67.88 kB / 464.2 MB, free: 89.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.2589, allocations: 151.5 kB / 464.3 MB, free: 89.52 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/0.2589, allocations: 3.828 kB / 464.3 MB, free: 89.52 MB / 410.7 MB Notification: Performance of Templates: time 0.04998/0.3088, allocations: 56.3 MB / 0.5084 GB, free: 58.62 MB / 410.7 MB " [Timeout remaining time 660] 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 & (cd run_cvode && ../ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.pipe 2>&1) [Timeout 240] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2_gbode.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2_gbode.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2_gbode.sim & (cd run_gbode && ../ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2_gbode.pipe 2>&1) [Timeout 240] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2_ida.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2_ida.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2_ida.sim & (cd run_ida && ../ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.253366581629962]