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.0008631/0.0008631, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0008711/0.0008711, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.8989/0.8989, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.1013/0.1013, allocations: 19.73 MB / 281.5 MB, free: 9.355 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.663e-06/1.663e-06, allocations: 0 / 358 MB, free: 6.938 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.326e-05, allocations: 6.25 kB / 358 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.03241/0.03244, allocations: 45.28 MB / 403.2 MB, free: 9.488 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1397/0.1721, allocations: 15.05 MB / 418.3 MB, free: 16.54 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002867/0.1724, allocations: 8.875 kB / 418.3 MB, free: 16.54 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000533/0.173, allocations: 187.5 kB / 418.5 MB, free: 16.54 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003951/0.1734, allocations: 271.8 kB / 418.8 MB, free: 16.54 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01238/0.1857, allocations: 6.66 MB / 425.4 MB, free: 16.03 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008412/0.1866, allocations: 0.6886 MB / 426.1 MB, free: 15.82 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004067/0.187, allocations: 222.4 kB / 426.3 MB, free: 15.8 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004381/0.1874, allocations: 352.7 kB / 426.7 MB, free: 15.76 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002736/0.1877, allocations: 217.1 kB / 426.9 MB, free: 15.73 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.795e-05/0.1877, allocations: 28.53 kB / 426.9 MB, free: 15.73 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01165/0.1994, allocations: 8.643 MB / 435.5 MB, free: 14.55 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.457e-05/0.1995, allocations: 75.36 kB / 435.6 MB, free: 14.52 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002341/0.1997, allocations: 148.5 kB / 435.8 MB, free: 14.49 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009234/0.2089, allocations: 6.606 MB / 442.4 MB, free: 11.7 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.209, allocations: 6.906 kB / 442.4 MB, free: 11.69 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.209, allocations: 0 / 442.4 MB, free: 11.69 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.209, allocations: 3.375 kB / 442.4 MB, free: 11.69 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.002609/0.2116, allocations: 1.348 MB / 443.7 MB, free: 10.77 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.2116, allocations: 8 kB / 443.7 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002461/0.2119, allocations: 96.92 kB / 443.8 MB, free: 10.72 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/0.2122, allocations: 288.9 kB / 444.1 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.2122, allocations: 25.16 kB / 444.1 MB, free: 10.47 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.81e-05/0.2122, allocations: 27.59 kB / 444.2 MB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004761/0.2127, allocations: 383.8 kB / 444.5 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.2127, allocations: 5.938 kB / 444.5 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.2127, allocations: 14.41 kB / 444.6 MB, free: 10.17 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.2127, allocations: 6.719 kB / 444.6 MB, free: 10.17 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000317/0.213, allocations: 187.5 kB / 444.7 MB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009343/0.214, allocations: 1.446 MB / 446.2 MB, free: 8.832 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000408/0.2144, allocations: 182.5 kB / 446.4 MB, free: 8.734 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.671e-05/0.2144, allocations: 43.23 kB / 446.4 MB, free: 8.711 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05726/0.2717, allocations: 35.08 MB / 481.5 MB, free: 7.918 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.2717, allocations: 44.95 kB / 481.5 MB, free: 7.867 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.973e-06/0.2717, allocations: 0 / 481.5 MB, free: 7.867 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009191/0.2727, allocations: 336.9 kB / 481.9 MB, free: 7.527 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/0.2727, allocations: 59.34 kB / 481.9 MB, free: 7.457 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/0.2729, allocations: 337.7 kB / 482.3 MB, free: 7.113 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.273, allocations: 29.7 kB / 482.3 MB, free: 7.078 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.2731, allocations: 273.9 kB / 482.5 MB, free: 6.809 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.137e-05/0.2731, allocations: 63.44 kB / 482.6 MB, free: 6.746 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.032e-05/0.2732, allocations: 55.36 kB / 482.7 MB, free: 6.684 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.2733, allocations: 0.5079 MB / 483.2 MB, free: 6.164 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.151e-05/0.2734, allocations: 43.66 kB / 483.2 MB, free: 6.117 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.639e-05/0.2735, allocations: 108.2 kB / 483.3 MB, free: 5.984 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.2736, allocations: 151 kB / 483.5 MB, free: 5.816 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2736, allocations: 0 / 483.5 MB, free: 5.816 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006061/0.2742, allocations: 253.6 kB / 483.7 MB, free: 5.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.2742, allocations: 8 kB / 483.7 MB, free: 5.562 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.2742, allocations: 2.531 kB / 483.7 MB, free: 5.562 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002876/0.2745, allocations: 71.31 kB / 483.8 MB, free: 5.484 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.2746, allocations: 43.25 kB / 483.8 MB, free: 5.445 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001126/0.2758, allocations: 2.595 MB / 486.4 MB, free: 2.715 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.2759, allocations: 23.84 kB / 486.5 MB, free: 2.691 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.2759, allocations: 12 kB / 486.5 MB, free: 2.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001141/0.276, allocations: 162.8 kB / 486.6 MB, free: 2.516 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.383e-05/0.2761, allocations: 106.3 kB / 486.7 MB, free: 2.383 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001395/0.2762, allocations: 152.1 kB / 486.9 MB, free: 2.211 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.022e-06/0.2762, allocations: 0 / 486.9 MB, free: 2.211 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0002967/0.2765, allocations: 247.8 kB / 487.1 MB, free: 1.969 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.2765, allocations: 18.94 kB / 487.1 MB, free: 1.953 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-06/0.2765, allocations: 0 / 487.1 MB, free: 1.953 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001935/0.2767, allocations: 78.59 kB / 487.2 MB, free: 1.871 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.1e-05/0.2768, allocations: 39.97 kB / 487.3 MB, free: 1.832 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009857/0.2778, allocations: 2.594 MB / 489.8 MB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.705e-05/0.2779, allocations: 22.78 kB / 489.9 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.2779, allocations: 8 kB / 489.9 MB, free: 15.08 MB / 378.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 (ST.fluidState_in.phase,SensT1.fluidState.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 0.0001185/0.278, allocations: 287.8 kB / 490.2 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.096e-05/0.2781, allocations: 27.86 kB / 490.2 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005347/0.2786, allocations: 0.5558 MB / 490.7 MB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.2786, allocations: 16.05 kB / 490.8 MB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.2786, allocations: 0 / 490.8 MB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.2786, allocations: 0 / 490.8 MB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005715/0.2792, allocations: 377.7 kB / 491.1 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2792, allocations: 0 / 491.1 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.2793, allocations: 43.98 kB / 491.2 MB, free: 13.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.38e-05/0.2794, allocations: 31.22 kB / 491.2 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.2794, allocations: 4 kB / 491.2 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006337/0.28, allocations: 1.733 MB / 492.9 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2801, allocations: 4 kB / 492.9 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000452/0.2805, allocations: 0.5789 MB / 493.5 MB, free: 11.26 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.247e-05/0.2805, allocations: 59.45 kB / 493.6 MB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.2806, allocations: 8.125 kB / 493.6 MB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.807e-05/0.2806, allocations: 8 kB / 493.6 MB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/0.2807, allocations: 15.97 kB / 493.6 MB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.2807, allocations: 4 kB / 493.6 MB, free: 11.17 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001293/0.2808, allocations: 231 kB / 493.8 MB, free: 10.94 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2808, allocations: 0 / 493.8 MB, free: 10.94 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002752/0.2836, allocations: 1.376 MB / 495.2 MB, free: 9.562 MB / 378.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.003907/0.2875, allocations: 1.612 MB / 496.8 MB, free: 8.055 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006899/0.2882, allocations: 0.6098 MB / 497.4 MB, free: 7.414 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2882, allocations: 3.938 kB / 497.4 MB, free: 7.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001807/0.2884, allocations: 292 kB / 497.7 MB, free: 7.109 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004888/0.2889, allocations: 119.5 kB / 497.8 MB, free: 6.996 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.2907, allocations: 1.01 MB / 498.9 MB, free: 5.969 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.41e-05/0.2907, allocations: 122.7 kB / 499 MB, free: 5.824 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001842/0.2909, allocations: 144.1 kB / 499.1 MB, free: 5.691 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.284e-05/0.291, allocations: 28.5 kB / 499.1 MB, free: 5.664 MB / 378.7 MB Notification: Performance of SimCode: time 1.112e-06/0.291, allocations: 0 / 499.1 MB, free: 5.664 MB / 378.7 MB Notification: Performance of Templates: time 0.06021/0.3512, allocations: 50.93 MB / 0.5372 GB, free: 2.852 MB / 426.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.217875865055248]