Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestST1.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.0006648/0.0006648, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008776/0.001542, 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.001027/0.001027, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00129/0.002317, 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.992/0.992, allocations: 177.2 MB / 189.6 MB, free: 5.285 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0807/1.073, allocations: 53.64 MB / 243.3 MB, free: 15.57 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.1262/0.1262, allocations: 19.75 MB / 263.7 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02032/0.1465, allocations: 7.56 MB / 271.3 MB, free: 3.453 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.TestST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST1") translateModel(ThermoPower.Test.WaterComponents.TestST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 272.6 MB, free: 2.152 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.955e-05/2.11e-05, allocations: 2.312 kB / 272.6 MB, free: 2.148 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.1547/0.1547, allocations: 22.05 MB / 294.7 MB, free: 5.695 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01328/0.168, allocations: 14.69 MB / 309.3 MB, free: 8.969 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000294/0.1682, allocations: 11.94 kB / 309.4 MB, free: 8.957 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003618/0.1686, allocations: 131 kB / 309.5 MB, free: 8.828 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003644/0.169, allocations: 266 kB / 309.7 MB, free: 8.566 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01352/0.1825, allocations: 5.929 MB / 315.7 MB, free: 2.617 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007827/0.1833, allocations: 0.6917 MB / 316.4 MB, free: 1.922 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003642/0.1836, allocations: 208.3 kB / 316.6 MB, free: 1.707 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004125/0.1841, allocations: 391.6 kB / 316.9 MB, free: 1.324 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002376/0.1843, allocations: 207.3 kB / 317.1 MB, free: 1.117 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.141e-05/0.1843, allocations: 28 kB / 317.2 MB, free: 1.09 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01169/0.196, allocations: 9.213 MB / 326.4 MB, free: 7.867 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.143e-05/0.1961, allocations: 55.75 kB / 326.4 MB, free: 7.812 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002179/0.1963, allocations: 127.8 kB / 326.6 MB, free: 7.688 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01058/0.2069, allocations: 4.924 MB / 331.5 MB, free: 2.754 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.849e-05/0.2069, allocations: 0 / 331.5 MB, free: 2.754 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.2069, allocations: 0 / 331.5 MB, free: 2.754 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.206e-05/0.207, allocations: 0 / 331.5 MB, free: 2.754 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.003119/0.2101, allocations: 1.667 MB / 333.2 MB, free: 1.039 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.2101, allocations: 12.03 kB / 333.2 MB, free: 1.027 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002177/0.2103, allocations: 96.72 kB / 333.3 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002895/0.2106, allocations: 241.7 kB / 333.5 MB, free: 0.668 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.2106, allocations: 21.03 kB / 333.5 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.653e-05/0.2107, allocations: 36.33 kB / 333.6 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004254/0.2111, allocations: 359.3 kB / 333.9 MB, free: 236 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.2111, allocations: 7.875 kB / 333.9 MB, free: 228 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.2111, allocations: 15.98 kB / 333.9 MB, free: 212 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.2111, allocations: 10.88 kB / 333.9 MB, free: 204 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002239/0.2114, allocations: 144.4 kB / 334.1 MB, free: 56 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009265/0.2123, allocations: 1.008 MB / 335.1 MB, free: 15.01 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/0.2126, allocations: 162.4 kB / 335.2 MB, free: 14.84 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.407e-05/0.2127, allocations: 24.84 kB / 335.3 MB, free: 14.81 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3319/0.5445, allocations: 116.7 MB / 452 MB, free: 110.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.397e-05/0.5446, allocations: 37.44 kB / 452 MB, free: 110.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 2.605e-06/0.5446, allocations: 0 / 452 MB, free: 110.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006468/0.5452, allocations: 289.4 kB / 452.3 MB, free: 110.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.717e-05/0.5453, allocations: 58.2 kB / 452.4 MB, free: 110.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.5454, allocations: 268.2 kB / 452.6 MB, free: 110.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.5454, allocations: 33.02 kB / 452.7 MB, free: 110.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.091e-05/0.5455, allocations: 191.7 kB / 452.9 MB, free: 110.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.483e-05/0.5455, allocations: 71.61 kB / 452.9 MB, free: 110 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.703e-05/0.5456, allocations: 52.69 kB / 453 MB, free: 110 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.513e-05/0.5456, allocations: 338.6 kB / 453.3 MB, free: 109.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.484e-05/0.5457, allocations: 28.84 kB / 453.3 MB, free: 109.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.414e-05/0.5457, allocations: 72.47 kB / 453.4 MB, free: 109.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.5458, allocations: 115.3 kB / 453.5 MB, free: 109.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.5458, allocations: 4 kB / 453.5 MB, free: 109.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002501/0.5461, allocations: 190.4 kB / 453.7 MB, free: 109.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.5461, allocations: 9.875 kB / 453.7 MB, free: 109.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.5461, allocations: 3.984 kB / 453.7 MB, free: 109.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002341/0.5463, allocations: 58.98 kB / 453.8 MB, free: 109.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.5465, allocations: 59.14 kB / 453.8 MB, free: 109.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006718/0.5471, allocations: 1.745 MB / 455.6 MB, free: 107.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.935e-05/0.5472, allocations: 20.53 kB / 455.6 MB, free: 107.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.5472, allocations: 15.2 kB / 455.6 MB, free: 107.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.336e-05/0.5473, allocations: 100 kB / 455.7 MB, free: 107.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.977e-05/0.5474, allocations: 82.78 kB / 455.8 MB, free: 107.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.42e-05/0.5474, allocations: 126.4 kB / 455.9 MB, free: 107 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.102e-06/0.5474, allocations: 0 / 455.9 MB, free: 107 MB / 410.7 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0001771/0.5476, allocations: 185.1 kB / 456.1 MB, free: 106.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.883e-06/0.5476, allocations: 8 kB / 456.1 MB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.524e-06/0.5476, allocations: 6.906 kB / 456.1 MB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001449/0.5478, allocations: 57.05 kB / 456.2 MB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.5479, allocations: 58.95 kB / 456.2 MB, free: 106.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004961/0.5484, allocations: 1.736 MB / 458 MB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.301e-05/0.5484, allocations: 24.59 kB / 458 MB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.5484, allocations: 4 kB / 458 MB, free: 104.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (SensT1.fluidState.phase,ST.fluidState_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 6.011e-05/0.5485, allocations: 195 kB / 458.2 MB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.5485, allocations: 23.97 kB / 458.2 MB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003332/0.5489, allocations: 0.508 MB / 458.7 MB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.5489, allocations: 14.05 kB / 458.7 MB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.5489, allocations: 0 / 458.7 MB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.5489, allocations: 4 kB / 458.7 MB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/0.5491, allocations: 296.4 kB / 459 MB, free: 104 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.5491, allocations: 0 / 459 MB, free: 104 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.5493, allocations: 55.14 kB / 459.1 MB, free: 103.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.046e-05/0.5493, allocations: 44.44 kB / 459.1 MB, free: 103.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.92e-05/0.5494, allocations: 27.91 kB / 459.1 MB, free: 103.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.5494, allocations: 5.734 kB / 459.2 MB, free: 103.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003059/0.5497, allocations: 1.168 MB / 460.3 MB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5497, allocations: 4.125 kB / 460.3 MB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.55, allocations: 497.1 kB / 460.8 MB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.55, allocations: 10.48 kB / 460.8 MB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.788e-05/0.55, allocations: 7.938 kB / 460.8 MB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.229e-05/0.5501, allocations: 11.97 kB / 460.8 MB, free: 102.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.5501, allocations: 3.875 kB / 460.8 MB, free: 102.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.049e-05/0.5501, allocations: 96.8 kB / 460.9 MB, free: 102.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 3e-08/0.5501, allocations: 0 / 460.9 MB, free: 102.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002365/0.5525, allocations: 1.381 MB / 462.3 MB, free: 100.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (ST.P_HP,ST.P_LP,Inertia1.phi,Inertia1.w) * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.003503/0.556, allocations: 1.724 MB / 464 MB, free: 99.22 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006325/0.5566, allocations: 485.9 kB / 464.5 MB, free: 98.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.062e-05/0.5567, allocations: 4 kB / 464.5 MB, free: 98.76 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.5568, allocations: 209.8 kB / 464.7 MB, free: 98.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000468/0.5573, allocations: 154.3 kB / 464.9 MB, free: 98.44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00516/0.5624, allocations: 0.9518 MB / 465.8 MB, free: 97.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.735e-05/0.5625, allocations: 118.8 kB / 465.9 MB, free: 97.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001906/0.5627, allocations: 144.7 kB / 466.1 MB, free: 97.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/0.5628, allocations: 128.8 kB / 466.2 MB, free: 97.14 MB / 410.7 MB Notification: Performance of SimCode: time 1.743e-06/0.5628, allocations: 4 kB / 466.2 MB, free: 97.14 MB / 410.7 MB Notification: Performance of Templates: time 0.04564/0.6085, allocations: 56.8 MB / 0.5108 GB, free: 40.62 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestST1.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestST1.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestST1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.484122173860669]