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.0009153/0.0009153, allocations: 80.41 kB / 22.21 MB, free: 2.285 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.0009343/0.0009343, allocations: 167.6 kB / 25.61 MB, free: 8.902 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.7951/0.7951, allocations: 158.6 MB / 187.5 MB, free: 2.82 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.1591/0.1591, allocations: 36.34 MB / 276.2 MB, free: 14.38 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.293e-06/1.293e-06, allocations: 0 / 355.1 MB, free: 62.63 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.137e-05/1.266e-05, allocations: 2.312 kB / 355.1 MB, free: 62.63 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.0146/0.01461, allocations: 21.38 MB / 376.4 MB, free: 48.03 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.009267/0.02388, allocations: 14.15 MB / 390.6 MB, free: 35.25 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001961/0.02407, allocations: 11.88 kB / 390.6 MB, free: 35.23 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003288/0.0244, allocations: 127 kB / 390.7 MB, free: 35.11 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002395/0.02464, allocations: 222.3 kB / 391 MB, free: 34.89 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009892/0.03453, allocations: 6.539 MB / 397.5 MB, free: 28.32 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003777/0.03491, allocations: 0.6183 MB / 398.1 MB, free: 27.7 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002003/0.03511, allocations: 194.3 kB / 398.3 MB, free: 27.51 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002166/0.03533, allocations: 307.1 kB / 398.6 MB, free: 27.21 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.03549, allocations: 191.4 kB / 398.8 MB, free: 27.02 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.649e-05/0.03552, allocations: 28 kB / 398.8 MB, free: 26.99 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00813/0.04365, allocations: 8.554 MB / 407.4 MB, free: 18.43 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.483e-05/0.04371, allocations: 71.62 kB / 407.4 MB, free: 18.36 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.944e-05/0.0438, allocations: 135.7 kB / 407.6 MB, free: 18.23 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005648/0.04944, allocations: 6.497 MB / 414.1 MB, free: 11.71 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.04945, allocations: 0 / 414.1 MB, free: 11.71 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.04945, allocations: 0 / 414.1 MB, free: 11.71 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.04945, allocations: 0 / 414.1 MB, free: 11.71 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001635/0.05109, allocations: 1.302 MB / 415.4 MB, free: 10.37 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.791e-05/0.05112, allocations: 8.031 kB / 415.4 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001516/0.05127, allocations: 84.62 kB / 415.5 MB, free: 10.28 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.05148, allocations: 264.5 kB / 415.7 MB, free: 9.996 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.05149, allocations: 21.03 kB / 415.7 MB, free: 9.973 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.87e-05/0.05152, allocations: 24.38 kB / 415.8 MB, free: 9.949 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002875/0.05181, allocations: 316.3 kB / 416.1 MB, free: 9.605 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.05182, allocations: 7.938 kB / 416.1 MB, free: 9.598 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.05184, allocations: 15.98 kB / 416.1 MB, free: 9.582 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.05185, allocations: 8 kB / 416.1 MB, free: 9.574 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.05201, allocations: 123.3 kB / 416.2 MB, free: 9.453 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007437/0.05276, allocations: 1.297 MB / 417.5 MB, free: 8.094 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002325/0.05299, allocations: 135.1 kB / 417.7 MB, free: 7.949 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.027e-05/0.05302, allocations: 35.61 kB / 417.7 MB, free: 7.91 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04861/0.1016, allocations: 29.22 MB / 446.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.1017, allocations: 33.39 kB / 446.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.703e-06/0.1017, allocations: 4 kB / 446.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005943/0.1023, allocations: 264.8 kB / 447.2 MB, free: 10.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.131e-05/0.1023, allocations: 55.41 kB / 447.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.1025, allocations: 322.2 kB / 447.6 MB, free: 9.938 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.1025, allocations: 29.7 kB / 447.6 MB, free: 9.902 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.1026, allocations: 266.8 kB / 447.9 MB, free: 9.637 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/0.1027, allocations: 55.52 kB / 447.9 MB, free: 9.582 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-05/0.1027, allocations: 51.34 kB / 448 MB, free: 9.523 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1028, allocations: 0.5156 MB / 448.5 MB, free: 8.996 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.151e-05/0.1029, allocations: 23.84 kB / 448.5 MB, free: 8.973 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.328e-05/0.1029, allocations: 97.39 kB / 448.6 MB, free: 8.844 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.000201/0.1031, allocations: 161.4 kB / 448.8 MB, free: 8.656 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1031, allocations: 0 / 448.8 MB, free: 8.656 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001979/0.1033, allocations: 187.1 kB / 448.9 MB, free: 8.465 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.1034, allocations: 8 kB / 448.9 MB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1034, allocations: 0 / 448.9 MB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001237/0.1035, allocations: 28.55 kB / 449 MB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.1036, allocations: 48.19 kB / 449 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008144/0.1044, allocations: 1.721 MB / 450.7 MB, free: 6.547 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.908e-05/0.1045, allocations: 23.84 kB / 450.8 MB, free: 6.523 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.1045, allocations: 11.98 kB / 450.8 MB, free: 6.512 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.0001014/0.1046, allocations: 176.7 kB / 450.9 MB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.583e-05/0.1046, allocations: 27.86 kB / 451 MB, free: 6.301 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003238/0.105, allocations: 391.5 kB / 451.4 MB, free: 5.906 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.105, allocations: 15.92 kB / 451.4 MB, free: 5.891 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.105, allocations: 0 / 451.4 MB, free: 5.891 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.105, allocations: 0 / 451.4 MB, free: 5.891 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005651/0.1055, allocations: 0.7018 MB / 452.1 MB, free: 5.148 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.1055, allocations: 0 / 452.1 MB, free: 5.148 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.682e-05/0.1056, allocations: 35.95 kB / 452.1 MB, free: 5.113 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.603e-05/0.1057, allocations: 27.67 kB / 452.1 MB, free: 5.082 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.1057, allocations: 4 kB / 452.1 MB, free: 5.078 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007996/0.1065, allocations: 1.709 MB / 453.9 MB, free: 3.254 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.1065, allocations: 3.938 kB / 453.9 MB, free: 3.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003044/0.1068, allocations: 473.2 kB / 454.3 MB, free: 2.754 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.154e-05/0.1068, allocations: 43.62 kB / 454.4 MB, free: 2.711 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.1069, allocations: 7.938 kB / 454.4 MB, free: 2.703 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.269e-05/0.1069, allocations: 8 kB / 454.4 MB, free: 2.695 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.107, allocations: 15.97 kB / 454.4 MB, free: 2.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.924e-06/0.107, allocations: 6.938 kB / 454.4 MB, free: 2.676 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.534e-05/0.1071, allocations: 222.9 kB / 454.6 MB, free: 2.461 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1071, allocations: 0 / 454.6 MB, free: 2.461 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002102/0.1092, allocations: 1.282 MB / 455.9 MB, free: 1.176 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.003245/0.1124, allocations: 1.615 MB / 457.5 MB, free: 15.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002657/0.1127, allocations: 285.3 kB / 457.8 MB, free: 15.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1127, allocations: 0 / 457.8 MB, free: 15.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.1128, allocations: 241.9 kB / 458 MB, free: 15 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.1132, allocations: 127.4 kB / 458.2 MB, free: 14.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.1144, allocations: 0.839 MB / 459 MB, free: 14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.295e-05/0.1144, allocations: 113.5 kB / 459.1 MB, free: 13.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000108/0.1145, allocations: 70.16 kB / 459.2 MB, free: 13.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.1147, allocations: 146.1 kB / 459.3 MB, free: 13.65 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.1147, allocations: 0 / 459.3 MB, free: 13.65 MB / 378.7 MB Notification: Performance of Templates: time 0.04822/0.1629, allocations: 56.27 MB / 0.5035 GB, free: 5.352 MB / 426.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.919479953125119]