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.001129/0.001129, allocations: 80.8 kB / 21.49 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.001273/0.001273, allocations: 168.8 kB / 24.91 MB, free: 9.199 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.9714/0.9714, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.1072/0.1072, allocations: 19.74 MB / 281.6 MB, free: 9.152 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.222e-06/1.222e-06, allocations: 0 / 305.2 MB, free: 13.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.303e-05/2.426e-05, allocations: 2.969 kB / 305.2 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.0183/0.01832, allocations: 21.94 MB / 327.1 MB, free: 8.293 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01186/0.03018, allocations: 14.6 MB / 341.7 MB, free: 9.637 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002167/0.0304, allocations: 11.88 kB / 341.7 MB, free: 9.625 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003891/0.03079, allocations: 134.9 kB / 341.9 MB, free: 9.492 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003367/0.03113, allocations: 258.1 kB / 342.1 MB, free: 9.238 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01127/0.04239, allocations: 6.641 MB / 348.8 MB, free: 2.574 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000604/0.043, allocations: 0.6839 MB / 349.5 MB, free: 1.887 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002865/0.04328, allocations: 212.2 kB / 349.7 MB, free: 1.668 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002981/0.04358, allocations: 347.1 kB / 350 MB, free: 1.328 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002108/0.04379, allocations: 203.3 kB / 350.2 MB, free: 1.129 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.097e-05/0.04382, allocations: 28 kB / 350.2 MB, free: 1.102 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01048/0.05431, allocations: 8.575 MB / 358.8 MB, free: 8.516 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.621e-05/0.05438, allocations: 71.62 kB / 358.9 MB, free: 8.445 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.05452, allocations: 155.6 kB / 359 MB, free: 8.293 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008329/0.06285, allocations: 6.548 MB / 365.6 MB, free: 1.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.06285, allocations: 0 / 365.6 MB, free: 1.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.06285, allocations: 0 / 365.6 MB, free: 1.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.06286, allocations: 0 / 365.6 MB, free: 1.73 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.002853/0.06571, allocations: 1.228 MB / 366.8 MB, free: 484 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.06575, allocations: 8.031 kB / 366.8 MB, free: 476 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002206/0.06597, allocations: 88.8 kB / 366.9 MB, free: 388 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.06626, allocations: 245.6 kB / 367.1 MB, free: 116 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.06628, allocations: 21.03 kB / 367.2 MB, free: 92 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.161e-05/0.06632, allocations: 36.33 kB / 367.2 MB, free: 56 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004476/0.06677, allocations: 359.3 kB / 367.5 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.06678, allocations: 3.938 kB / 367.5 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.0668, allocations: 12 kB / 367.6 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.06681, allocations: 8 kB / 367.6 MB, free: 15.65 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002406/0.06705, allocations: 148.4 kB / 367.7 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.06805, allocations: 1.012 MB / 368.7 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000333/0.06838, allocations: 158.4 kB / 368.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.623e-05/0.06842, allocations: 20.86 kB / 368.9 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3379/0.4063, allocations: 116.7 MB / 485.6 MB, free: 94.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.4063, allocations: 34.56 kB / 485.7 MB, free: 94.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 2.384e-06/0.4064, allocations: 0 / 485.7 MB, free: 94.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007031/0.4071, allocations: 302.8 kB / 486 MB, free: 94.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.771e-05/0.4071, allocations: 51.41 kB / 486 MB, free: 94.24 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.4072, allocations: 267.2 kB / 486.3 MB, free: 94.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.4072, allocations: 29.2 kB / 486.3 MB, free: 93.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.306e-05/0.4073, allocations: 193.9 kB / 486.5 MB, free: 93.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.4073, allocations: 68.36 kB / 486.5 MB, free: 93.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.012e-05/0.4074, allocations: 43.77 kB / 486.6 MB, free: 93.78 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.25e-05/0.4074, allocations: 346.4 kB / 486.9 MB, free: 93.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.64e-05/0.4075, allocations: 20.86 kB / 487 MB, free: 93.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.03e-05/0.4075, allocations: 90.39 kB / 487 MB, free: 93.33 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.945e-05/0.4076, allocations: 112.5 kB / 487.1 MB, free: 93.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4076, allocations: 0.625 kB / 487.1 MB, free: 93.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002356/0.4078, allocations: 196.3 kB / 487.3 MB, free: 93.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.4079, allocations: 8 kB / 487.3 MB, free: 93.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.4079, allocations: 0 / 487.3 MB, free: 93.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00024/0.4081, allocations: 61.77 kB / 487.4 MB, free: 92.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.76e-05/0.4082, allocations: 47.53 kB / 487.5 MB, free: 92.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006222/0.4088, allocations: 1.742 MB / 489.2 MB, free: 91.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.383e-05/0.4089, allocations: 14.75 kB / 489.2 MB, free: 91.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.4089, allocations: 15.23 kB / 489.2 MB, free: 91.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.792e-05/0.409, allocations: 99.7 kB / 489.3 MB, free: 91.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.09e-05/0.4091, allocations: 77.59 kB / 489.4 MB, free: 90.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.484e-05/0.4091, allocations: 123 kB / 489.5 MB, free: 90.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.213e-06/0.4091, allocations: 0 / 489.5 MB, free: 90.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0001837/0.4093, allocations: 186.3 kB / 489.7 MB, free: 90.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.124e-06/0.4093, allocations: 14.95 kB / 489.7 MB, free: 90.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-06/0.4093, allocations: 0 / 489.7 MB, free: 90.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001474/0.4095, allocations: 59.73 kB / 489.8 MB, free: 90.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.343e-05/0.4095, allocations: 50.38 kB / 489.8 MB, free: 90.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004709/0.41, allocations: 1.735 MB / 491.6 MB, free: 88.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.207e-05/0.4101, allocations: 18.36 kB / 491.6 MB, free: 88.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.4101, allocations: 11.98 kB / 491.6 MB, free: 88.7 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.349e-05/0.4102, allocations: 194.7 kB / 491.8 MB, free: 88.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.861e-05/0.4102, allocations: 23.17 kB / 491.8 MB, free: 88.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003545/0.4105, allocations: 0.5117 MB / 492.3 MB, free: 88.03 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.4105, allocations: 11.98 kB / 492.3 MB, free: 88.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.4106, allocations: 7.734 kB / 492.3 MB, free: 88.01 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.4106, allocations: 3.938 kB / 492.3 MB, free: 88.01 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002415/0.4108, allocations: 295 kB / 492.6 MB, free: 87.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.4108, allocations: 1.688 kB / 492.6 MB, free: 87.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.4109, allocations: 43.91 kB / 492.7 MB, free: 87.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.096e-05/0.411, allocations: 20.84 kB / 492.7 MB, free: 87.72 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.411, allocations: 7.938 kB / 492.7 MB, free: 87.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003141/0.4113, allocations: 1.156 MB / 493.9 MB, free: 86.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4113, allocations: 7.406 kB / 493.9 MB, free: 86.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002849/0.4116, allocations: 490.5 kB / 494.3 MB, free: 86.03 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.07e-05/0.4116, allocations: 47.62 kB / 494.4 MB, free: 85.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.4117, allocations: 11.75 kB / 494.4 MB, free: 85.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.736e-05/0.4117, allocations: 7.875 kB / 494.4 MB, free: 85.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.4118, allocations: 15.81 kB / 494.4 MB, free: 85.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.4118, allocations: 7.828 kB / 494.4 MB, free: 85.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.233e-05/0.4118, allocations: 105 kB / 494.5 MB, free: 85.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 3e-08/0.4118, allocations: 0 / 494.5 MB, free: 85.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00315/0.415, allocations: 1.374 MB / 495.9 MB, free: 84.54 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.004712/0.4197, allocations: 1.69 MB / 497.6 MB, free: 83.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006076/0.4203, allocations: 481.1 kB / 498.1 MB, free: 82.56 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/0.4203, allocations: 4 kB / 498.1 MB, free: 82.56 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.4204, allocations: 206.6 kB / 498.3 MB, free: 82.35 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000454/0.4209, allocations: 125.8 kB / 498.4 MB, free: 82.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.4223, allocations: 0.9604 MB / 499.4 MB, free: 81.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.589e-05/0.4223, allocations: 122.7 kB / 499.5 MB, free: 81.21 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000169/0.4225, allocations: 136.8 kB / 499.6 MB, free: 81.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.4226, allocations: 126.6 kB / 499.7 MB, free: 80.95 MB / 410.7 MB Notification: Performance of SimCode: time 1.653e-06/0.4226, allocations: 0 / 499.7 MB, free: 80.95 MB / 410.7 MB Notification: Performance of Templates: time 0.05662/0.4793, allocations: 56.45 MB / 0.5431 GB, free: 24.77 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.881661289837211]