Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestST2.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.0009658/0.0009658, allocations: 77.97 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.002109/0.002109, allocations: 166.4 kB / 24.82 MB, free: 9.27 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9145/0.9145, allocations: 158.6 MB / 186.7 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.1772/0.1772, allocations: 36.34 MB / 275.4 MB, free: 10.48 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestST2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST2") translateModel(ThermoPower.Test.WaterComponents.TestST2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 354.3 MB, free: 3.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.396e-05, allocations: 2.312 kB / 354.3 MB, free: 3.129 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.02334/0.02336, allocations: 21.39 MB / 375.7 MB, free: 13.66 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01792/0.04128, allocations: 14.15 MB / 389.8 MB, free: 15.45 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004503/0.04174, allocations: 7.938 kB / 389.8 MB, free: 15.45 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006265/0.04236, allocations: 123 kB / 390 MB, free: 15.32 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006509/0.04301, allocations: 238.2 kB / 390.2 MB, free: 15.09 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01491/0.05793, allocations: 6.536 MB / 396.7 MB, free: 8.527 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008213/0.05875, allocations: 0.6179 MB / 397.3 MB, free: 7.906 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000367/0.05912, allocations: 186.3 kB / 397.5 MB, free: 7.719 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00045/0.05957, allocations: 311.1 kB / 397.8 MB, free: 7.414 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002806/0.05985, allocations: 191.4 kB / 398 MB, free: 7.227 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.464e-05/0.05989, allocations: 24 kB / 398 MB, free: 7.203 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01339/0.07328, allocations: 8.555 MB / 406.6 MB, free: 14.64 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001476/0.07343, allocations: 71.62 kB / 406.7 MB, free: 14.57 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003422/0.07377, allocations: 139.7 kB / 406.8 MB, free: 14.43 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01349/0.08727, allocations: 6.501 MB / 413.3 MB, free: 7.914 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.08727, allocations: 0 / 413.3 MB, free: 7.914 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.08727, allocations: 0 / 413.3 MB, free: 7.914 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.08728, allocations: 0 / 413.3 MB, free: 7.914 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.003149/0.09043, allocations: 1.287 MB / 414.6 MB, free: 6.586 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.09047, allocations: 19.97 kB / 414.6 MB, free: 6.566 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001931/0.09066, allocations: 92.52 kB / 414.7 MB, free: 6.477 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.09095, allocations: 260.5 kB / 415 MB, free: 6.195 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.09096, allocations: 21.03 kB / 415 MB, free: 6.172 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.409e-05/0.09101, allocations: 28.38 kB / 415 MB, free: 6.145 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003692/0.09138, allocations: 316.3 kB / 415.3 MB, free: 5.801 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.09139, allocations: 3.938 kB / 415.3 MB, free: 5.797 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.09141, allocations: 12 kB / 415.3 MB, free: 5.785 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.09141, allocations: 8 kB / 415.3 MB, free: 5.777 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001781/0.09159, allocations: 123.3 kB / 415.5 MB, free: 5.652 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.09266, allocations: 1.289 MB / 416.7 MB, free: 4.301 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002736/0.09294, allocations: 139.1 kB / 416.9 MB, free: 4.152 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.032e-05/0.09298, allocations: 27.67 kB / 416.9 MB, free: 4.121 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1964/0.2894, allocations: 29.39 MB / 446.3 MB, free: 63.58 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.2894, allocations: 39.83 kB / 446.3 MB, free: 63.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.405e-06/0.2894, allocations: 0 / 446.3 MB, free: 63.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006501/0.29, allocations: 266.3 kB / 446.6 MB, free: 63.49 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.755e-05/0.2901, allocations: 55.66 kB / 446.7 MB, free: 63.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.2902, allocations: 334 kB / 447 MB, free: 63.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.2902, allocations: 29.7 kB / 447 MB, free: 63.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.42e-05/0.2903, allocations: 267.4 kB / 447.3 MB, free: 63.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.2904, allocations: 52.92 kB / 447.3 MB, free: 63.06 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.791e-05/0.2904, allocations: 47.5 kB / 447.4 MB, free: 63.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.239e-05/0.2905, allocations: 0.5136 MB / 447.9 MB, free: 62.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.118e-05/0.2905, allocations: 17.55 kB / 447.9 MB, free: 62.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.027e-05/0.2905, allocations: 97.5 kB / 448 MB, free: 62.45 MB / 362.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: Inertia1.a = $START.Inertia1.a (0.0 = $START.Inertia1.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.2907, allocations: 159 kB / 448.1 MB, free: 62.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2907, allocations: 0 / 448.1 MB, free: 62.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001964/0.2909, allocations: 190.2 kB / 448.3 MB, free: 62.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.2909, allocations: 10.72 kB / 448.3 MB, free: 62.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.291, allocations: 224 / 448.3 MB, free: 62.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001148/0.2911, allocations: 32.53 kB / 448.4 MB, free: 62.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.914e-05/0.2912, allocations: 43.05 kB / 448.4 MB, free: 62.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005397/0.2917, allocations: 1.726 MB / 450.1 MB, free: 60.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.405e-05/0.2918, allocations: 15.12 kB / 450.2 MB, free: 60.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.2918, allocations: 5.688 kB / 450.2 MB, free: 60.57 MB / 362.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: Inertia1.a = $START.Inertia1.a. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (ST.fluidState_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.0001005/0.2919, allocations: 177.7 kB / 450.3 MB, free: 60.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.115e-05/0.292, allocations: 31.72 kB / 450.4 MB, free: 60.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003108/0.2923, allocations: 389 kB / 450.7 MB, free: 60.28 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.2923, allocations: 10.66 kB / 450.8 MB, free: 60.28 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.2923, allocations: 0 / 450.8 MB, free: 60.28 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.2923, allocations: 6.969 kB / 450.8 MB, free: 60.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005505/0.2928, allocations: 0.6999 MB / 451.5 MB, free: 59.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.2928, allocations: 0 / 451.5 MB, free: 59.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.766e-05/0.2929, allocations: 34.62 kB / 451.5 MB, free: 59.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-05/0.293, allocations: 31.62 kB / 451.5 MB, free: 59.94 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.293, allocations: 0 / 451.5 MB, free: 59.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003984/0.2934, allocations: 1.717 MB / 453.2 MB, free: 58.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2934, allocations: 0 / 453.2 MB, free: 58.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.2937, allocations: 475.6 kB / 453.7 MB, free: 57.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.005e-05/0.2937, allocations: 39.86 kB / 453.7 MB, free: 57.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.2937, allocations: 7.719 kB / 453.8 MB, free: 57.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.518e-05/0.2938, allocations: 4.125 kB / 453.8 MB, free: 57.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.864e-05/0.2938, allocations: 15.47 kB / 453.8 MB, free: 57.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.2938, allocations: 3.969 kB / 453.8 MB, free: 57.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.506e-05/0.2939, allocations: 221.4 kB / 454 MB, free: 57.83 MB / 362.7 MB Notification: Performance of sort global known variables: time 3e-08/0.2939, allocations: 0 / 454 MB, free: 57.83 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002498/0.2964, allocations: 1.28 MB / 455.3 MB, free: 57.82 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (ST.P_HP,ST.P_LP,Speed1.phi) * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.004552/0.301, allocations: 1.63 MB / 456.9 MB, free: 57.53 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003584/0.3013, allocations: 285.3 kB / 457.2 MB, free: 57.35 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.3013, allocations: 0 / 457.2 MB, free: 57.35 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.3014, allocations: 243.7 kB / 457.4 MB, free: 57.17 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004822/0.3019, allocations: 116.8 kB / 457.5 MB, free: 57.15 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.3031, allocations: 0.8405 MB / 458.4 MB, free: 56.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.861e-05/0.3032, allocations: 103.9 kB / 458.5 MB, free: 56.62 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000128/0.3033, allocations: 85.91 kB / 458.6 MB, free: 56.61 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.3035, allocations: 145 kB / 458.7 MB, free: 56.48 MB / 362.7 MB Notification: Performance of SimCode: time 1.152e-06/0.3035, allocations: 4 kB / 458.7 MB, free: 56.47 MB / 362.7 MB Notification: Performance of Templates: time 0.0485/0.352, allocations: 56.2 MB / 0.5028 GB, free: 2.613 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestST2.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestST2.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestST2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.325280006043613]