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.001874/0.001874, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001973/0.001973, allocations: 165.6 kB / 24.28 MB, free: 152 kB / 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 1.33/1.33, allocations: 158.6 MB / 186.1 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] 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.2819/0.2819, allocations: 36.33 MB / 274.7 MB, free: 10.71 MB / 266.7 MB " [Timeout remaining time 179] 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.663e-06/1.663e-06, allocations: 0 / 353.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.42e-05/2.586e-05, allocations: 2.312 kB / 353.1 MB, free: 3.77 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.048/0.04802, allocations: 37.81 MB / 390.9 MB, free: 13.82 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02278/0.07081, allocations: 14.39 MB / 405.3 MB, free: 15.38 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003007/0.07111, allocations: 7.938 kB / 405.3 MB, free: 15.37 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005493/0.07166, allocations: 138.8 kB / 405.4 MB, free: 15.23 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004692/0.07213, allocations: 234.3 kB / 405.6 MB, free: 15 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0185/0.09063, allocations: 6.544 MB / 412.2 MB, free: 8.438 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001015/0.09164, allocations: 0.6101 MB / 412.8 MB, free: 7.824 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003863/0.09203, allocations: 190.3 kB / 413 MB, free: 7.633 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005116/0.09254, allocations: 315.1 kB / 413.3 MB, free: 7.324 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003373/0.09288, allocations: 179.4 kB / 413.5 MB, free: 7.148 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.389e-05/0.09293, allocations: 24 kB / 413.5 MB, free: 7.125 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01854/0.1115, allocations: 8.563 MB / 422.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.1116, allocations: 71.67 kB / 422.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003118/0.1119, allocations: 135.6 kB / 422.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01594/0.1279, allocations: 6.583 MB / 428.8 MB, free: 7.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1279, allocations: 7.938 kB / 428.8 MB, free: 7.742 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1279, allocations: 0 / 428.8 MB, free: 7.742 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.1279, allocations: 0 / 428.8 MB, free: 7.742 MB / 362.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.00365/0.1315, allocations: 1.303 MB / 430.2 MB, free: 6.398 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.1316, allocations: 8.031 kB / 430.2 MB, free: 6.391 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000317/0.1319, allocations: 92.62 kB / 430.3 MB, free: 6.301 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004898/0.1324, allocations: 272.4 kB / 430.5 MB, free: 6.004 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/0.1324, allocations: 25.02 kB / 430.5 MB, free: 5.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.873e-05/0.1325, allocations: 28.38 kB / 430.6 MB, free: 5.953 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007388/0.1332, allocations: 363.7 kB / 430.9 MB, free: 5.566 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.1332, allocations: 7.938 kB / 430.9 MB, free: 5.559 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.904e-05/0.1332, allocations: 15.94 kB / 430.9 MB, free: 5.543 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.1333, allocations: 8 kB / 431 MB, free: 5.535 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005188/0.1338, allocations: 205.8 kB / 431.2 MB, free: 5.332 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002106/0.1359, allocations: 1.414 MB / 432.6 MB, free: 3.848 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005702/0.1365, allocations: 195 kB / 432.8 MB, free: 3.645 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.1366, allocations: 51.67 kB / 432.8 MB, free: 3.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2476/0.3841, allocations: 33.62 MB / 466.4 MB, free: 68.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.3842, allocations: 44.48 kB / 466.5 MB, free: 68.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.695e-06/0.3842, allocations: 3.719 kB / 466.5 MB, free: 68.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.001085/0.3853, allocations: 322.8 kB / 466.8 MB, free: 67.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.05e-05/0.3853, allocations: 55.41 kB / 466.8 MB, free: 67.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002679/0.3855, allocations: 381.9 kB / 467.2 MB, free: 67.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.3856, allocations: 25.7 kB / 467.2 MB, free: 67.31 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.253e-05/0.3857, allocations: 267.9 kB / 467.5 MB, free: 67.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.3857, allocations: 62.14 kB / 467.6 MB, free: 67.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.776e-05/0.3857, allocations: 51.36 kB / 467.6 MB, free: 66.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.19e-05/0.3858, allocations: 0.5177 MB / 468.1 MB, free: 66.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.587e-05/0.3859, allocations: 49 kB / 468.2 MB, free: 66.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.386, allocations: 125.6 kB / 468.3 MB, free: 66.22 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.0007693/0.3868, allocations: 311.2 kB / 468.6 MB, free: 65.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3868, allocations: 0 / 468.6 MB, free: 65.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003371/0.3871, allocations: 240.8 kB / 468.8 MB, free: 65.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.3871, allocations: 7.188 kB / 468.8 MB, free: 65.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.3871, allocations: 8 kB / 468.9 MB, free: 65.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000152/0.3873, allocations: 31.67 kB / 468.9 MB, free: 65.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.3875, allocations: 43.91 kB / 468.9 MB, free: 65.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007315/0.3882, allocations: 1.779 MB / 470.7 MB, free: 63.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.3883, allocations: 19.83 kB / 470.7 MB, free: 63.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.3883, allocations: 8 kB / 470.7 MB, free: 63.62 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.0001185/0.3885, allocations: 196.3 kB / 470.9 MB, free: 63.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.046e-05/0.3885, allocations: 31.81 kB / 471 MB, free: 63.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004907/0.389, allocations: 435.3 kB / 471.4 MB, free: 62.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.389, allocations: 11.92 kB / 471.4 MB, free: 62.94 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.389, allocations: 4.062 kB / 471.4 MB, free: 62.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.389, allocations: 3.984 kB / 471.4 MB, free: 62.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008252/0.3898, allocations: 0.8331 MB / 472.2 MB, free: 62.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.3899, allocations: 3.938 kB / 472.2 MB, free: 62.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.39, allocations: 31.97 kB / 472.3 MB, free: 62.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000112/0.3901, allocations: 31.67 kB / 472.3 MB, free: 61.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.3901, allocations: 11.41 kB / 472.3 MB, free: 61.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006459/0.3908, allocations: 1.771 MB / 474.1 MB, free: 60.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3908, allocations: 4 kB / 474.1 MB, free: 60.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004858/0.3913, allocations: 0.5502 MB / 474.6 MB, free: 59.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.484e-05/0.3913, allocations: 35.83 kB / 474.7 MB, free: 59.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.3913, allocations: 11.98 kB / 474.7 MB, free: 59.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.3915, allocations: 7.938 kB / 474.7 MB, free: 59.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/0.3915, allocations: 11.98 kB / 474.7 MB, free: 59.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.3915, allocations: 4 kB / 474.7 MB, free: 59.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001581/0.3917, allocations: 266.9 kB / 475 MB, free: 59.17 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3917, allocations: 0 / 475 MB, free: 59.17 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003079/0.3948, allocations: 1.282 MB / 476.3 MB, free: 57.89 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.004569/0.3993, allocations: 1.59 MB / 477.8 MB, free: 56.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005127/0.3998, allocations: 331.4 kB / 478.2 MB, free: 56.08 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3998, allocations: 4 kB / 478.2 MB, free: 56.08 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000187/0.4, allocations: 261.5 kB / 478.4 MB, free: 55.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007625/0.4008, allocations: 122.2 kB / 478.5 MB, free: 55.69 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.4019, allocations: 0.8519 MB / 479.4 MB, free: 54.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.402, allocations: 204.1 kB / 479.6 MB, free: 54.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001255/0.4021, allocations: 66.92 kB / 479.7 MB, free: 54.53 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.947e-05/0.4022, allocations: 28.5 kB / 479.7 MB, free: 54.5 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.4022, allocations: 0 / 479.7 MB, free: 54.5 MB / 362.7 MB Notification: Performance of Templates: time 0.04684/0.449, allocations: 49.58 MB / 0.5169 GB, free: 4.883 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: 8.700301514007151]