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.0006824/0.0006824, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009051/0.001587, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007117/0.0007117, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008713/0.001583, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9657/0.9657, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08403/1.05, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.09981/0.09981, allocations: 19.79 MB / 264 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01543/0.1152, allocations: 7.569 MB / 271.5 MB, free: 3.344 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.122e-06/1.122e-06, allocations: 0 / 272.8 MB, free: 2.031 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.236e-05/2.348e-05, allocations: 2.312 kB / 272.8 MB, free: 2.027 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.1434/0.1434, allocations: 21.79 MB / 294.6 MB, free: 5.781 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01459/0.158, allocations: 14.46 MB / 309.1 MB, free: 9.305 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003481/0.1583, allocations: 7.938 kB / 309.1 MB, free: 9.297 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004182/0.1587, allocations: 119 kB / 309.2 MB, free: 9.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004972/0.1592, allocations: 230.2 kB / 309.4 MB, free: 8.953 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01589/0.1751, allocations: 5.898 MB / 315.3 MB, free: 3.035 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007693/0.1759, allocations: 0.614 MB / 315.9 MB, free: 2.418 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000329/0.1762, allocations: 202.1 kB / 316.1 MB, free: 2.215 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004737/0.1767, allocations: 365.2 kB / 316.5 MB, free: 1.859 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002331/0.1769, allocations: 179.4 kB / 316.7 MB, free: 1.684 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.283e-05/0.177, allocations: 28 kB / 316.7 MB, free: 1.656 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01271/0.1897, allocations: 9.195 MB / 325.9 MB, free: 8.445 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.1898, allocations: 51.75 kB / 326 MB, free: 8.395 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001943/0.19, allocations: 111.8 kB / 326.1 MB, free: 8.285 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01127/0.2013, allocations: 4.865 MB / 330.9 MB, free: 3.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.287e-05/0.2013, allocations: 0 / 330.9 MB, free: 3.41 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2013, allocations: 0 / 330.9 MB, free: 3.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.275e-05/0.2013, allocations: 0 / 330.9 MB, free: 3.41 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.002875/0.2042, allocations: 1.62 MB / 332.5 MB, free: 1.738 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.2042, allocations: 12.03 kB / 332.6 MB, free: 1.727 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001883/0.2044, allocations: 68.86 kB / 332.6 MB, free: 1.66 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005338/0.2049, allocations: 247 kB / 332.9 MB, free: 1.395 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.2049, allocations: 21.03 kB / 332.9 MB, free: 1.375 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.767e-05/0.205, allocations: 28.33 kB / 332.9 MB, free: 1.348 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003637/0.2053, allocations: 306.2 kB / 333.2 MB, free: 1.02 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.2053, allocations: 7.938 kB / 333.2 MB, free: 1.012 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.2054, allocations: 8 kB / 333.2 MB, free: 1.004 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.2054, allocations: 8 kB / 333.2 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001779/0.2055, allocations: 119.3 kB / 333.4 MB, free: 0.875 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009203/0.2065, allocations: 0.947 MB / 334.3 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002706/0.2067, allocations: 127.4 kB / 334.4 MB, free: 15.74 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.273e-05/0.2068, allocations: 28.78 kB / 334.5 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3439/0.5507, allocations: 116.7 MB / 451.2 MB, free: 112 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.5507, allocations: 30.56 kB / 451.2 MB, free: 111.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.424e-06/0.5507, allocations: 0 / 451.2 MB, free: 111.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007632/0.5515, allocations: 242.2 kB / 451.4 MB, free: 111.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.031e-05/0.5515, allocations: 51.41 kB / 451.5 MB, free: 111.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.5517, allocations: 275.5 kB / 451.8 MB, free: 111.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.5517, allocations: 29.33 kB / 451.8 MB, free: 111.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.725e-05/0.5518, allocations: 185.1 kB / 452 MB, free: 111.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.5518, allocations: 59.5 kB / 452 MB, free: 111.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.119e-05/0.5519, allocations: 45.17 kB / 452.1 MB, free: 111.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.345e-05/0.5519, allocations: 341.6 kB / 452.4 MB, free: 110.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.88e-05/0.552, allocations: 27.67 kB / 452.4 MB, free: 110.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.755e-05/0.552, allocations: 69.83 kB / 452.5 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.0002409/0.5523, allocations: 141.3 kB / 452.6 MB, free: 110.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.5523, allocations: 0 / 452.6 MB, free: 110.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002015/0.5525, allocations: 148.8 kB / 452.8 MB, free: 110.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.5525, allocations: 4 kB / 452.8 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.5525, allocations: 4 kB / 452.8 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001399/0.5526, allocations: 24.84 kB / 452.8 MB, free: 110.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.5528, allocations: 66.39 kB / 452.9 MB, free: 110.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000516/0.5533, allocations: 1.157 MB / 454 MB, free: 109.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.5534, allocations: 17.55 kB / 454.1 MB, free: 109.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.5535, allocations: 10.88 kB / 454.1 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 0.0001033/0.5536, allocations: 131.4 kB / 454.2 MB, free: 109 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.893e-05/0.5536, allocations: 19.97 kB / 454.2 MB, free: 109 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003593/0.554, allocations: 400.8 kB / 454.6 MB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.554, allocations: 11.8 kB / 454.6 MB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.554, allocations: 0 / 454.6 MB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.554, allocations: 3.984 kB / 454.6 MB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006268/0.5546, allocations: 0.6337 MB / 455.3 MB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.5546, allocations: 0 / 455.3 MB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.5548, allocations: 46.81 kB / 455.3 MB, free: 108 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.791e-05/0.5548, allocations: 46.33 kB / 455.3 MB, free: 108 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.658e-05/0.5549, allocations: 24.83 kB / 455.4 MB, free: 108 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.5549, allocations: 0 / 455.4 MB, free: 108 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004226/0.5553, allocations: 1.16 MB / 456.5 MB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5553, allocations: 3.984 kB / 456.5 MB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002955/0.5556, allocations: 428.5 kB / 457 MB, free: 106.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.5556, allocations: 4.812 kB / 457 MB, free: 106.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.5558, allocations: 4.562 kB / 457 MB, free: 106.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.5558, allocations: 15.84 kB / 457 MB, free: 106.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.5558, allocations: 4 kB / 457 MB, free: 106.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.324e-05/0.5559, allocations: 103.7 kB / 457.1 MB, free: 106.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.5559, allocations: 4.062 kB / 457.1 MB, free: 106.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002861/0.5587, allocations: 1.292 MB / 458.4 MB, free: 105 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.004695/0.5634, allocations: 1.718 MB / 460.1 MB, free: 103.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003343/0.5638, allocations: 223.2 kB / 460.3 MB, free: 103.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-05/0.5638, allocations: 4 kB / 460.3 MB, free: 103.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.5639, allocations: 192.3 kB / 460.5 MB, free: 103 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006392/0.5645, allocations: 0.8322 MB / 461.3 MB, free: 102.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005363/0.5699, allocations: 0.8075 MB / 462.1 MB, free: 101.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.999e-05/0.57, allocations: 105.6 kB / 462.2 MB, free: 101.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001384/0.5701, allocations: 67.56 kB / 462.3 MB, free: 101.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.5702, allocations: 125 kB / 462.4 MB, free: 101 MB / 410.7 MB Notification: Performance of SimCode: time 1.142e-06/0.5702, allocations: 0 / 462.4 MB, free: 101 MB / 410.7 MB Notification: Performance of Templates: time 0.03664/0.6069, allocations: 44.92 MB / 0.4955 GB, free: 56.37 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: 4.254635487683117]