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.001508/0.001508, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001334/0.001334, allocations: 169.1 kB / 24.91 MB, free: 9.191 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.9636/0.9636, allocations: 177.1 MB / 205.3 MB, free: 5.457 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.09788/0.09788, allocations: 19.74 MB / 281.6 MB, free: 9.117 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 2.004e-06/2.004e-06, allocations: 0.6094 kB / 305.2 MB, free: 13.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.475e-05/1.675e-05, allocations: 4.469 kB / 305.2 MB, free: 13.06 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.01685/0.01687, allocations: 21.72 MB / 327 MB, free: 8.426 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01257/0.02944, allocations: 14.36 MB / 341.3 MB, free: 10.01 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002814/0.02972, allocations: 11.94 kB / 341.3 MB, free: 10 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004057/0.03012, allocations: 119 kB / 341.4 MB, free: 9.883 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003331/0.03046, allocations: 230.2 kB / 341.7 MB, free: 9.656 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01145/0.04191, allocations: 5.916 MB / 347.6 MB, free: 3.715 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005493/0.04246, allocations: 0.6178 MB / 348.2 MB, free: 3.094 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002596/0.04272, allocations: 194.3 kB / 348.4 MB, free: 2.895 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003285/0.04305, allocations: 307.2 kB / 348.7 MB, free: 2.594 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002064/0.04326, allocations: 183.3 kB / 348.9 MB, free: 2.414 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.171e-05/0.04329, allocations: 28 kB / 348.9 MB, free: 2.387 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01165/0.05494, allocations: 9.177 MB / 358.1 MB, free: 9.199 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.859e-05/0.05503, allocations: 67.69 kB / 358.1 MB, free: 9.133 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001614/0.05519, allocations: 135.6 kB / 358.3 MB, free: 9 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007729/0.06292, allocations: 6.517 MB / 364.8 MB, free: 2.469 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.06292, allocations: 0 / 364.8 MB, free: 2.469 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.06292, allocations: 0 / 364.8 MB, free: 2.469 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.359e-06/0.06293, allocations: 4 kB / 364.8 MB, free: 2.465 MB / 330.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.00176/0.06469, allocations: 1.17 MB / 366 MB, free: 1.266 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.06472, allocations: 8.031 kB / 366 MB, free: 1.258 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001715/0.06489, allocations: 80.81 kB / 366.1 MB, free: 1.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.06514, allocations: 249.6 kB / 366.3 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.06516, allocations: 17.03 kB / 366.3 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.325e-05/0.06519, allocations: 36.36 kB / 366.4 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000481/0.06567, allocations: 306.2 kB / 366.7 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.06569, allocations: 3.938 kB / 366.7 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.0657, allocations: 12 kB / 366.7 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.06571, allocations: 8 kB / 366.7 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001886/0.0659, allocations: 115.3 kB / 366.8 MB, free: 400 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009624/0.06686, allocations: 0.9469 MB / 367.7 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.06714, allocations: 122.4 kB / 367.9 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.606e-05/0.06717, allocations: 24.86 kB / 367.9 MB, free: 15.24 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3335/0.4007, allocations: 116.7 MB / 484.6 MB, free: 95.83 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.4007, allocations: 35.19 kB / 484.6 MB, free: 95.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.844e-06/0.4007, allocations: 0 / 484.6 MB, free: 95.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006031/0.4013, allocations: 233.5 kB / 484.9 MB, free: 95.58 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.611e-05/0.4013, allocations: 55.41 kB / 484.9 MB, free: 95.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.4015, allocations: 274.4 kB / 485.2 MB, free: 95.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.817e-06/0.4015, allocations: 25.7 kB / 485.2 MB, free: 95.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.027e-05/0.4016, allocations: 191.9 kB / 485.4 MB, free: 95.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.4016, allocations: 60.62 kB / 485.5 MB, free: 95.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/0.4016, allocations: 44.89 kB / 485.5 MB, free: 95.06 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.972e-05/0.4017, allocations: 342.4 kB / 485.8 MB, free: 94.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.506e-05/0.4017, allocations: 12 kB / 485.8 MB, free: 94.72 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.072e-05/0.4017, allocations: 80.17 kB / 485.9 MB, free: 94.63 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.0001604/0.4019, allocations: 146.8 kB / 486.1 MB, free: 94.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4019, allocations: 0 / 486.1 MB, free: 94.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001529/0.402, allocations: 150.8 kB / 486.2 MB, free: 94.35 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.4021, allocations: 4 kB / 486.2 MB, free: 94.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.4021, allocations: 0 / 486.2 MB, free: 94.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001098/0.4022, allocations: 32.69 kB / 486.2 MB, free: 94.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.4023, allocations: 54.11 kB / 486.3 MB, free: 94.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003918/0.4027, allocations: 1.164 MB / 487.5 MB, free: 93.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.953e-05/0.4028, allocations: 19.7 kB / 487.5 MB, free: 93.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.4028, allocations: 8 kB / 487.5 MB, free: 93.03 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.283e-05/0.4029, allocations: 126.7 kB / 487.6 MB, free: 92.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.862e-05/0.4029, allocations: 19.97 kB / 487.6 MB, free: 92.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002878/0.4032, allocations: 415.4 kB / 488 MB, free: 92.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.4032, allocations: 11.92 kB / 488.1 MB, free: 92.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.4032, allocations: 0 / 488.1 MB, free: 92.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4032, allocations: 4.062 kB / 488.1 MB, free: 92.49 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004742/0.4037, allocations: 0.6209 MB / 488.7 MB, free: 91.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.4037, allocations: 5.016 kB / 488.7 MB, free: 91.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.4038, allocations: 52.27 kB / 488.7 MB, free: 91.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.219e-05/0.4039, allocations: 23.89 kB / 488.8 MB, free: 91.85 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.4039, allocations: 3.469 kB / 488.8 MB, free: 91.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003181/0.4042, allocations: 1.164 MB / 489.9 MB, free: 90.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4042, allocations: 0 / 489.9 MB, free: 90.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.4044, allocations: 423.5 kB / 490.3 MB, free: 90.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.595e-05/0.4044, allocations: 35.7 kB / 490.4 MB, free: 90.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.4045, allocations: 6.922 kB / 490.4 MB, free: 90.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.156e-05/0.4045, allocations: 14.84 kB / 490.4 MB, free: 90.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.005e-05/0.4046, allocations: 11.92 kB / 490.4 MB, free: 90.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.4046, allocations: 0 / 490.4 MB, free: 90.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.961e-05/0.4046, allocations: 112.5 kB / 490.5 MB, free: 90.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.4046, allocations: 0 / 490.5 MB, free: 90.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002279/0.4069, allocations: 1.282 MB / 491.8 MB, free: 88.83 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.003358/0.4103, allocations: 1.695 MB / 493.5 MB, free: 87.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002601/0.4105, allocations: 226.6 kB / 493.7 MB, free: 87.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.4105, allocations: 0 / 493.7 MB, free: 87.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.524e-05/0.4106, allocations: 179.1 kB / 493.9 MB, free: 86.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.411, allocations: 119.5 kB / 494 MB, free: 86.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.4121, allocations: 0.8121 MB / 494.8 MB, free: 86.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.435e-05/0.4121, allocations: 105.6 kB / 494.9 MB, free: 85.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001069/0.4122, allocations: 70.23 kB / 495 MB, free: 85.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.4124, allocations: 129.1 kB / 495.1 MB, free: 85.72 MB / 410.7 MB Notification: Performance of SimCode: time 8.52e-07/0.4124, allocations: 0 / 495.1 MB, free: 85.72 MB / 410.7 MB Notification: Performance of Templates: time 0.04085/0.4532, allocations: 55.25 MB / 0.5375 GB, free: 30.71 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 & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.631452152971178]