Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001118/0.001118, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001105/0.001105, allocations: 170.4 kB / 24.91 MB, free: 8.723 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 1.012/1.012, allocations: 177.1 MB / 205.3 MB, free: 5.117 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.09459/0.09459, allocations: 19.73 MB / 281.6 MB, free: 9.031 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_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1") translateModel(ThermoPower.Test.WaterComponents.TestST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 305.2 MB, free: 12.98 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.378e-05/1.514e-05, allocations: 3.516 kB / 305.2 MB, free: 12.98 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.0185/0.01851, allocations: 21.99 MB / 327.2 MB, free: 8.105 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01394/0.03246, allocations: 14.59 MB / 341.8 MB, free: 9.457 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002384/0.03269, allocations: 15.94 kB / 341.8 MB, free: 9.441 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003001/0.03299, allocations: 134.8 kB / 342 MB, free: 9.309 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003355/0.03333, allocations: 262 kB / 342.2 MB, free: 9.051 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01111/0.04444, allocations: 5.932 MB / 348.2 MB, free: 3.094 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005954/0.04503, allocations: 0.6917 MB / 348.8 MB, free: 2.398 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002631/0.0453, allocations: 220.2 kB / 349.1 MB, free: 2.172 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002946/0.04559, allocations: 343.1 kB / 349.4 MB, free: 1.836 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001946/0.04579, allocations: 203.3 kB / 349.6 MB, free: 1.637 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.149e-05/0.04582, allocations: 28 kB / 349.6 MB, free: 1.609 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01143/0.05724, allocations: 9.193 MB / 358.8 MB, free: 8.406 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.323e-05/0.05732, allocations: 79.61 kB / 358.9 MB, free: 8.328 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.05745, allocations: 147.6 kB / 359 MB, free: 8.184 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008055/0.0655, allocations: 6.544 MB / 365.6 MB, free: 1.625 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.06551, allocations: 0 / 365.6 MB, free: 1.625 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.06551, allocations: 0 / 365.6 MB, free: 1.625 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.06551, allocations: 7.938 kB / 365.6 MB, free: 1.617 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001845/0.06736, allocations: 1.221 MB / 366.8 MB, free: 376 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.06739, allocations: 8.031 kB / 366.8 MB, free: 368 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001928/0.06759, allocations: 96.78 kB / 366.9 MB, free: 272 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004422/0.06803, allocations: 241.7 kB / 367.2 MB, free: 4 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.06805, allocations: 21.08 kB / 367.2 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.406e-05/0.06809, allocations: 36.33 kB / 367.2 MB, free: 15.94 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003895/0.06848, allocations: 355.2 kB / 367.6 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.06849, allocations: 7.922 kB / 367.6 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.06851, allocations: 12 kB / 367.6 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.06852, allocations: 8 kB / 367.6 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002403/0.06876, allocations: 144.4 kB / 367.7 MB, free: 15.4 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008251/0.06958, allocations: 1.016 MB / 368.7 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003275/0.06991, allocations: 158.4 kB / 368.9 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.712e-05/0.06995, allocations: 27.2 kB / 368.9 MB, free: 14.15 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3443/0.4142, allocations: 116.7 MB / 485.6 MB, free: 94.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.4143, allocations: 40.58 kB / 485.7 MB, free: 94.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.984e-06/0.4143, allocations: 0 / 485.7 MB, free: 94.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007117/0.415, allocations: 291.7 kB / 486 MB, free: 94.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.636e-05/0.415, allocations: 55 kB / 486 MB, free: 93.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.4151, allocations: 274.6 kB / 486.3 MB, free: 93.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.4151, allocations: 25.7 kB / 486.3 MB, free: 93.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.99e-05/0.4152, allocations: 198.3 kB / 486.5 MB, free: 93.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.4152, allocations: 71.66 kB / 486.6 MB, free: 93.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.768e-05/0.4153, allocations: 45.56 kB / 486.6 MB, free: 93.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.725e-05/0.4153, allocations: 340.5 kB / 486.9 MB, free: 93.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.706e-05/0.4154, allocations: 32.03 kB / 487 MB, free: 93.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.483e-05/0.4154, allocations: 75.3 kB / 487.1 MB, free: 93.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.952e-05/0.4155, allocations: 120.2 kB / 487.2 MB, free: 92.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.4155, allocations: 5.125 kB / 487.2 MB, free: 92.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002206/0.4157, allocations: 190.7 kB / 487.4 MB, free: 92.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.4157, allocations: 8 kB / 487.4 MB, free: 92.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.4157, allocations: 0 / 487.4 MB, free: 92.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002151/0.4159, allocations: 64.81 kB / 487.4 MB, free: 92.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.4161, allocations: 55.89 kB / 487.5 MB, free: 92.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006039/0.4167, allocations: 1.737 MB / 489.2 MB, free: 90.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.654e-05/0.4168, allocations: 25.39 kB / 489.3 MB, free: 90.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.4168, allocations: 4 kB / 489.3 MB, free: 90.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.405e-05/0.4168, allocations: 107.1 kB / 489.4 MB, free: 90.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.055e-05/0.4169, allocations: 78.62 kB / 489.4 MB, free: 90.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.144e-05/0.4169, allocations: 113.5 kB / 489.5 MB, free: 90.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.143e-06/0.4169, allocations: 3.938 kB / 489.6 MB, free: 90.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0001826/0.4171, allocations: 198.2 kB / 489.7 MB, free: 90.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.302e-06/0.4171, allocations: 4 kB / 489.7 MB, free: 90.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.444e-06/0.4171, allocations: 4 kB / 489.8 MB, free: 90.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001375/0.4173, allocations: 60 kB / 489.8 MB, free: 90.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.36e-05/0.4174, allocations: 61.19 kB / 489.9 MB, free: 90.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004779/0.4178, allocations: 1.739 MB / 491.6 MB, free: 88.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.314e-05/0.4179, allocations: 19.08 kB / 491.6 MB, free: 88.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.4179, allocations: 4 kB / 491.6 MB, free: 88.35 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.224e-05/0.418, allocations: 194.4 kB / 491.8 MB, free: 88.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.173e-05/0.418, allocations: 30.47 kB / 491.9 MB, free: 88.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003378/0.4184, allocations: 0.511 MB / 492.4 MB, free: 87.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.4184, allocations: 11.8 kB / 492.4 MB, free: 87.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.4184, allocations: 7.938 kB / 492.4 MB, free: 87.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.4184, allocations: 3.984 kB / 492.4 MB, free: 87.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/0.4186, allocations: 285.9 kB / 492.7 MB, free: 87.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.4186, allocations: 0 / 492.7 MB, free: 87.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.4187, allocations: 51.95 kB / 492.7 MB, free: 87.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.351e-05/0.4188, allocations: 32.38 kB / 492.7 MB, free: 87.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.4188, allocations: 6.219 kB / 492.8 MB, free: 87.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002898/0.4191, allocations: 1.156 MB / 493.9 MB, free: 86.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.4191, allocations: 128 / 493.9 MB, free: 86.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002583/0.4193, allocations: 0.4913 MB / 494.4 MB, free: 85.65 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.669e-05/0.4194, allocations: 46.88 kB / 494.4 MB, free: 85.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.885e-05/0.4194, allocations: 4 kB / 494.4 MB, free: 85.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.005e-05/0.4195, allocations: 8.531 kB / 494.5 MB, free: 85.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.4195, allocations: 19.53 kB / 494.5 MB, free: 85.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.4195, allocations: 0 / 494.5 MB, free: 85.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.521e-05/0.4196, allocations: 106.6 kB / 494.6 MB, free: 85.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.4196, allocations: 0 / 494.6 MB, free: 85.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002344/0.4219, allocations: 1.375 MB / 496 MB, free: 84.17 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.003134/0.425, allocations: 1.698 MB / 497.7 MB, free: 82.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004447/0.4255, allocations: 482.9 kB / 498.1 MB, free: 82.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.4255, allocations: 4 kB / 498.1 MB, free: 82.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.98e-05/0.4256, allocations: 212.1 kB / 498.3 MB, free: 81.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.4259, allocations: 131 kB / 498.5 MB, free: 81.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.4271, allocations: 0.9637 MB / 499.4 MB, free: 80.97 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.941e-05/0.4272, allocations: 126.8 kB / 499.6 MB, free: 80.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001418/0.4273, allocations: 132.8 kB / 499.7 MB, free: 80.69 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.4275, allocations: 136 kB / 499.8 MB, free: 80.57 MB / 410.7 MB Notification: Performance of SimCode: time 1.212e-06/0.4275, allocations: 1.969 kB / 499.8 MB, free: 80.57 MB / 410.7 MB Notification: Performance of Templates: time 0.03958/0.467, allocations: 56.57 MB / 0.5433 GB, free: 24.25 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.4804652412422]