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.001393/0.001393, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001616/0.001616, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 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.474/1.474, allocations: 207.6 MB / 235.3 MB, free: 9.992 MB / 190.1 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.3223/0.3223, allocations: 49.57 MB / 337.1 MB, free: 4.109 MB / 270.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002509/0.002509, allocations: 71.89 kB / 477.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1366, allocations: 62.41 MB / 0.5274 GB, free: 13.81 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.31/0.4466, allocations: 37.66 MB / 0.5641 GB, free: 1.664 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02444/0.4711, allocations: 14.92 MB / 0.5787 GB, free: 7.391 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000478/0.4715, allocations: 16.81 kB / 0.5787 GB, free: 7.379 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006578/0.4722, allocations: 145 kB / 0.5789 GB, free: 7.289 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005224/0.4727, allocations: 216.9 kB / 0.5791 GB, free: 7.148 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02556/0.4983, allocations: 6.525 MB / 0.5854 GB, free: 3.066 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001351/0.4996, allocations: 0.5884 MB / 0.586 GB, free: 2.727 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005896/0.5002, allocations: 186.1 kB / 0.5862 GB, free: 2.598 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000667/0.5009, allocations: 233.5 kB / 0.5864 GB, free: 2.473 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006219/0.5015, allocations: 225.9 kB / 0.5866 GB, free: 2.336 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.563e-05/0.5016, allocations: 25 kB / 0.5867 GB, free: 2.336 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02596/0.5276, allocations: 8.933 MB / 0.5954 GB, free: 13.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002044/0.5278, allocations: 69.81 kB / 0.5955 GB, free: 13.62 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005536/0.5283, allocations: 194.1 kB / 0.5956 GB, free: 13.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01711/0.5454, allocations: 5.142 MB / 0.6007 GB, free: 10.19 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.5454, allocations: 0 / 0.6007 GB, free: 10.19 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5454, allocations: 1.469 kB / 0.6007 GB, free: 10.19 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.391e-05/0.5455, allocations: 3.938 kB / 0.6007 GB, free: 10.19 MB / 446.1 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.004851/0.5503, allocations: 1.201 MB / 0.6018 GB, free: 9.324 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.5504, allocations: 10.75 kB / 0.6018 GB, free: 9.324 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003957/0.5508, allocations: 58.48 kB / 0.6019 GB, free: 9.297 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007228/0.5515, allocations: 268.7 kB / 0.6022 GB, free: 9.059 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.231e-05/0.5515, allocations: 25.41 kB / 0.6022 GB, free: 9.043 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.256e-05/0.5516, allocations: 32.78 kB / 0.6022 GB, free: 9.012 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000823/0.5524, allocations: 327.2 kB / 0.6025 GB, free: 8.672 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/0.5524, allocations: 0.875 kB / 0.6025 GB, free: 8.672 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.225e-05/0.5525, allocations: 12 kB / 0.6025 GB, free: 8.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.5525, allocations: 15.92 kB / 0.6026 GB, free: 8.645 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006054/0.5531, allocations: 209.8 kB / 0.6028 GB, free: 8.438 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002382/0.5555, allocations: 1.41 MB / 0.6041 GB, free: 6.906 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005815/0.5561, allocations: 178.6 kB / 0.6043 GB, free: 6.723 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/0.5562, allocations: 48.78 kB / 0.6043 GB, free: 6.672 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1172/0.6734, allocations: 33.51 MB / 0.6371 GB, free: 5.129 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.899e-05/0.6734, allocations: 30.56 kB / 0.6371 GB, free: 5.09 MB / 478.1 MB Notification: Performance of pre-optimization done (n=14): time 2.956e-06/0.6734, allocations: 3.938 kB / 0.6371 GB, free: 5.086 MB / 478.1 MB Notification: Performance of matching and sorting (n=14): time 0.001459/0.6749, allocations: 326.1 kB / 0.6374 GB, free: 4.758 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/0.6749, allocations: 55.34 kB / 0.6375 GB, free: 4.691 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005334/0.6755, allocations: 357.7 kB / 0.6378 GB, free: 4.332 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.6755, allocations: 33.7 kB / 0.6378 GB, free: 4.293 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000204/0.6757, allocations: 200.1 kB / 0.638 GB, free: 4.094 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.998e-05/0.6758, allocations: 59.56 kB / 0.6381 GB, free: 4.035 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.524e-05/0.6759, allocations: 41.67 kB / 0.6381 GB, free: 3.988 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002359/0.6761, allocations: 350.8 kB / 0.6385 GB, free: 3.637 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.6762, allocations: 51.83 kB / 0.6385 GB, free: 3.586 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.6764, allocations: 95.47 kB / 0.6386 GB, free: 3.469 MB / 478.1 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.001002/0.6775, allocations: 291.8 kB / 0.6389 GB, free: 3.16 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.355e-06/0.6775, allocations: 4 kB / 0.6389 GB, free: 3.156 MB / 478.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005212/0.678, allocations: 227.7 kB / 0.6391 GB, free: 2.926 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.678, allocations: 8.453 kB / 0.6391 GB, free: 2.918 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.678, allocations: 7.938 kB / 0.6391 GB, free: 2.91 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001775/0.6782, allocations: 31.33 kB / 0.6391 GB, free: 2.879 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.6784, allocations: 43.92 kB / 0.6392 GB, free: 2.836 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/0.6798, allocations: 1.287 MB / 0.6404 GB, free: 1.434 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002425/0.68, allocations: 24 kB / 0.6405 GB, free: 1.41 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.68, allocations: 12 kB / 0.6405 GB, free: 1.398 MB / 478.1 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.0002088/0.6802, allocations: 149.6 kB / 0.6406 GB, free: 1.242 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.469e-05/0.6803, allocations: 35.77 kB / 0.6407 GB, free: 1.207 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000946/0.6813, allocations: 0.6279 MB / 0.6413 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.6813, allocations: 3.984 kB / 0.6413 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.6813, allocations: 8 kB / 0.6413 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.6813, allocations: 3.938 kB / 0.6413 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001628/0.6829, allocations: 1.061 MB / 0.6423 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.6829, allocations: 0 / 0.6423 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.6831, allocations: 36.78 kB / 0.6424 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001069/0.6832, allocations: 28.88 kB / 0.6424 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.6832, allocations: 11.88 kB / 0.6424 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/0.6843, allocations: 1.277 MB / 0.6436 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.6843, allocations: 3.938 kB / 0.6436 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009588/0.6853, allocations: 0.6686 MB / 0.6443 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.6854, allocations: 55.72 kB / 0.6444 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.211e-05/0.6855, allocations: 11.94 kB / 0.6444 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.6856, allocations: 11.92 kB / 0.6444 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.044e-05/0.6857, allocations: 11.98 kB / 0.6444 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.6857, allocations: 4 kB / 0.6444 GB, free: 13.18 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003159/0.686, allocations: 259.2 kB / 0.6446 GB, free: 12.93 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.686, allocations: 0 / 0.6446 GB, free: 12.93 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005295/0.6913, allocations: 1.267 MB / 0.6459 GB, free: 11.66 MB / 494.1 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.0092/0.7005, allocations: 1.411 MB / 0.6473 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008915/0.7014, allocations: 299 kB / 0.6475 GB, free: 9.93 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.7014, allocations: 0 / 0.6475 GB, free: 9.93 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003691/0.7018, allocations: 226.5 kB / 0.6478 GB, free: 9.695 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.7029, allocations: 173 kB / 0.6479 GB, free: 9.531 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.7049, allocations: 0.9948 MB / 0.6489 GB, free: 8.504 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005705/0.7055, allocations: 0.8116 MB / 0.6497 GB, free: 7.66 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.856e-05/0.7056, allocations: 31.44 kB / 0.6497 GB, free: 7.629 MB / 494.1 MB Notification: Performance of SimCode: time 5.71e-07/0.7056, allocations: 0 / 0.6497 GB, free: 7.629 MB / 494.1 MB Notification: Performance of Templates: time 0.05155/0.7571, allocations: 27.77 MB / 0.6768 GB, free: 11.8 MB / 0.5137 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.376649662153795] Failed to read output from testmodel.py, exit status != 0: 0.767825179034844 0.784257828 0.23523591800000002 Calling exit ...