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.001371/0.001371, 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.001339/0.001339, allocations: 168.8 kB / 24.82 MB, free: 9.27 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.9417/0.9417, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.08922/0.08922, allocations: 19.74 MB / 281.5 MB, free: 9.113 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.533e-06/1.533e-06, allocations: 0 / 358.4 MB, free: 7.371 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.914e-05/2.067e-05, allocations: 2.312 kB / 358.4 MB, free: 7.367 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.01646/0.01648, allocations: 21.75 MB / 380.2 MB, free: 1.535 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01233/0.02881, allocations: 14.39 MB / 394.6 MB, free: 3.094 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003178/0.02913, allocations: 7.938 kB / 394.6 MB, free: 3.086 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000411/0.02954, allocations: 131 kB / 394.7 MB, free: 2.957 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003273/0.02987, allocations: 262 kB / 395 MB, free: 2.699 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01324/0.04311, allocations: 6.588 MB / 401.6 MB, free: 12.09 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008088/0.04392, allocations: 0.6992 MB / 402.3 MB, free: 11.38 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003134/0.04423, allocations: 215.6 kB / 402.5 MB, free: 11.17 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003085/0.04454, allocations: 351.1 kB / 402.8 MB, free: 10.82 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002147/0.04475, allocations: 211.3 kB / 403 MB, free: 10.62 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.169e-05/0.04479, allocations: 28 kB / 403.1 MB, free: 10.59 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01069/0.05548, allocations: 8.571 MB / 411.6 MB, free: 2.008 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.114e-05/0.05558, allocations: 79.61 kB / 411.7 MB, free: 1.93 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000211/0.05579, allocations: 155.6 kB / 411.9 MB, free: 1.777 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01011/0.06589, allocations: 6.536 MB / 418.4 MB, free: 11.23 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.0659, allocations: 0 / 418.4 MB, free: 11.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.0659, allocations: 4 kB / 418.4 MB, free: 11.22 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.06591, allocations: 7.984 kB / 418.4 MB, free: 11.21 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.002886/0.06879, allocations: 1.337 MB / 419.7 MB, free: 9.832 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.06883, allocations: 12.02 kB / 419.8 MB, free: 9.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002024/0.06903, allocations: 104.5 kB / 419.9 MB, free: 9.719 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.06931, allocations: 276.4 kB / 420.1 MB, free: 9.422 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.06933, allocations: 25.03 kB / 420.1 MB, free: 9.398 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.06936, allocations: 28.38 kB / 420.2 MB, free: 9.371 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004172/0.06978, allocations: 368.3 kB / 420.5 MB, free: 8.969 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.06979, allocations: 3.938 kB / 420.5 MB, free: 8.965 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.06981, allocations: 12 kB / 420.6 MB, free: 8.953 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.06982, allocations: 8 kB / 420.6 MB, free: 8.945 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000223/0.07004, allocations: 160.4 kB / 420.7 MB, free: 8.789 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.07125, allocations: 1.4 MB / 422.1 MB, free: 7.328 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003342/0.07158, allocations: 170.9 kB / 422.3 MB, free: 7.148 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.641e-05/0.07163, allocations: 35.98 kB / 422.3 MB, free: 7.109 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1877/0.2593, allocations: 30.87 MB / 453.2 MB, free: 96.33 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.2593, allocations: 33.39 kB / 453.2 MB, free: 96.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 2.104e-06/0.2593, allocations: 4 kB / 453.2 MB, free: 96.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007644/0.2601, allocations: 319.6 kB / 453.5 MB, free: 96.24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.708e-05/0.2601, allocations: 59.61 kB / 453.6 MB, free: 96.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.2603, allocations: 330 kB / 453.9 MB, free: 96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.2603, allocations: 25.7 kB / 453.9 MB, free: 95.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.956e-05/0.2604, allocations: 271 kB / 454.2 MB, free: 95.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.267e-05/0.2604, allocations: 66.14 kB / 454.3 MB, free: 95.81 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.758e-05/0.2604, allocations: 69.83 kB / 454.3 MB, free: 95.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.143e-05/0.2605, allocations: 0.5113 MB / 454.8 MB, free: 95.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.622e-05/0.2606, allocations: 34.38 kB / 454.9 MB, free: 95.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.631e-05/0.2606, allocations: 99.97 kB / 455 MB, free: 95.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.2607, allocations: 141.4 kB / 455.1 MB, free: 95.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2607, allocations: 0 / 455.1 MB, free: 95.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002797/0.261, allocations: 248.7 kB / 455.4 MB, free: 95.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.261, allocations: 6.438 kB / 455.4 MB, free: 95.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.261, allocations: 0 / 455.4 MB, free: 95.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002141/0.2612, allocations: 73.69 kB / 455.4 MB, free: 95.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.577e-05/0.2613, allocations: 49.7 kB / 455.5 MB, free: 95.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007241/0.2621, allocations: 2.56 MB / 458 MB, free: 92.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.879e-05/0.2622, allocations: 20.52 kB / 458.1 MB, free: 92.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.2622, allocations: 10.75 kB / 458.1 MB, free: 92.51 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.042e-05/0.2623, allocations: 153.4 kB / 458.2 MB, free: 92.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.399e-05/0.2623, allocations: 111.1 kB / 458.3 MB, free: 92.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000102/0.2624, allocations: 135.4 kB / 458.5 MB, free: 92.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.144e-06/0.2624, allocations: 3.359 kB / 458.5 MB, free: 92.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0003082/0.2627, allocations: 244.9 kB / 458.7 MB, free: 92.13 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.358e-06/0.2627, allocations: 8.844 kB / 458.7 MB, free: 92.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.2627, allocations: 3.125 kB / 458.7 MB, free: 92.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001903/0.2629, allocations: 65.39 kB / 458.8 MB, free: 92.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.263, allocations: 45.8 kB / 458.8 MB, free: 92.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006919/0.2637, allocations: 2.573 MB / 461.4 MB, free: 89.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.2638, allocations: 16.53 kB / 461.4 MB, free: 89.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.2638, allocations: 6.344 kB / 461.4 MB, free: 89.6 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 7.914e-05/0.2639, allocations: 285.9 kB / 461.7 MB, free: 89.33 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.622e-05/0.264, allocations: 38.78 kB / 461.7 MB, free: 89.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004506/0.2644, allocations: 0.4996 MB / 462.2 MB, free: 89.19 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.2644, allocations: 10.03 kB / 462.3 MB, free: 89.19 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.2644, allocations: 0 / 462.3 MB, free: 89.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2644, allocations: 0 / 462.3 MB, free: 89.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002882/0.2647, allocations: 328.5 kB / 462.6 MB, free: 89.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.2647, allocations: 3.938 kB / 462.6 MB, free: 89.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.2648, allocations: 43.42 kB / 462.6 MB, free: 89.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.82e-05/0.2649, allocations: 30.34 kB / 462.6 MB, free: 89.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.2649, allocations: 8.516 kB / 462.7 MB, free: 89.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004267/0.2654, allocations: 1.71 MB / 464.4 MB, free: 87.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2654, allocations: 0 / 464.4 MB, free: 87.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003965/0.2658, allocations: 0.5456 MB / 464.9 MB, free: 87.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.792e-05/0.2658, allocations: 45.95 kB / 465 MB, free: 87.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.2658, allocations: 6.797 kB / 465 MB, free: 87.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.947e-05/0.2659, allocations: 3.969 kB / 465 MB, free: 87.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.266, allocations: 20.75 kB / 465 MB, free: 87.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.266, allocations: 6.156 kB / 465 MB, free: 87.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.995e-05/0.2661, allocations: 214.3 kB / 465.2 MB, free: 86.92 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2661, allocations: 3.281 kB / 465.2 MB, free: 86.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002744/0.2688, allocations: 1.376 MB / 466.6 MB, free: 86.89 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.003962/0.2728, allocations: 1.65 MB / 468.2 MB, free: 86.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005931/0.2734, allocations: 0.5929 MB / 468.8 MB, free: 86.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2734, allocations: 0.75 kB / 468.8 MB, free: 86.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.2735, allocations: 278.1 kB / 469.1 MB, free: 86.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005396/0.274, allocations: 121.5 kB / 469.2 MB, free: 86.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.2756, allocations: 1.004 MB / 470.2 MB, free: 85.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.695e-05/0.2756, allocations: 123.3 kB / 470.3 MB, free: 85.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001934/0.2758, allocations: 140.7 kB / 470.5 MB, free: 85.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/0.276, allocations: 157.7 kB / 470.6 MB, free: 85.35 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.276, allocations: 0 / 470.6 MB, free: 85.35 MB / 410.7 MB Notification: Performance of Templates: time 0.06017/0.3362, allocations: 57.64 MB / 0.5159 GB, free: 51 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 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.400062137283385]