Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.0013/0.0013, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.00161/0.00161, allocations: 212.8 kB / 23.74 MB, free: 4.66 MB / 14.72 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 1.45/1.45, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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.1574/0.1574, allocations: 26.82 MB / 340.7 MB, free: 8.215 MB / 270.1 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.TestST2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2") translateModel(ThermoPower.Test.WaterComponents.TestST2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2") [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 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.002009/0.002009, allocations: 63.89 kB / 477.3 MB, free: 3.18 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3719, allocations: 60.48 MB / 0.5252 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.04237/0.4143, allocations: 37.81 MB / 0.5621 GB, free: 13.33 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02049/0.4348, allocations: 14.93 MB / 0.5767 GB, free: 176 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003425/0.4351, allocations: 11.88 kB / 0.5767 GB, free: 164 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005317/0.4356, allocations: 135 kB / 0.5769 GB, free: 28 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004632/0.4361, allocations: 222.5 kB / 0.5771 GB, free: 15.81 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01868/0.4548, allocations: 6.541 MB / 0.5835 GB, free: 9.27 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009439/0.4557, allocations: 0.587 MB / 0.584 GB, free: 8.68 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003525/0.4561, allocations: 182.3 kB / 0.5842 GB, free: 8.496 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003876/0.4565, allocations: 231.1 kB / 0.5844 GB, free: 8.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003409/0.4568, allocations: 230.9 kB / 0.5846 GB, free: 8.043 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.666e-05/0.4568, allocations: 24 kB / 0.5847 GB, free: 8.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01863/0.4755, allocations: 8.939 MB / 0.5934 GB, free: 15.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.4756, allocations: 71.64 kB / 0.5935 GB, free: 15 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003036/0.4759, allocations: 195 kB / 0.5936 GB, free: 14.81 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01339/0.4893, allocations: 5.16 MB / 0.5987 GB, free: 9.637 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.4893, allocations: 4 kB / 0.5987 GB, free: 9.633 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4893, allocations: 0 / 0.5987 GB, free: 9.633 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.4893, allocations: 0 / 0.5987 GB, free: 9.633 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.00384/0.4931, allocations: 1.206 MB / 0.5999 GB, free: 8.395 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.4932, allocations: 12.03 kB / 0.5999 GB, free: 8.383 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002506/0.4934, allocations: 60.64 kB / 0.5999 GB, free: 8.324 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005044/0.4939, allocations: 270.4 kB / 0.6002 GB, free: 8.035 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.295e-05/0.494, allocations: 21.03 kB / 0.6002 GB, free: 8.012 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.28e-05/0.494, allocations: 28.12 kB / 0.6002 GB, free: 7.984 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006709/0.4947, allocations: 323.2 kB / 0.6005 GB, free: 7.648 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.4947, allocations: 0 / 0.6005 GB, free: 7.648 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.4947, allocations: 16 kB / 0.6006 GB, free: 7.633 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.4947, allocations: 8 kB / 0.6006 GB, free: 7.625 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005162/0.4953, allocations: 205.8 kB / 0.6008 GB, free: 7.426 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.002003/0.4973, allocations: 1.421 MB / 0.6022 GB, free: 5.883 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005438/0.4978, allocations: 170.6 kB / 0.6023 GB, free: 5.707 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.4979, allocations: 56.83 kB / 0.6024 GB, free: 5.648 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1255/0.6234, allocations: 34.97 MB / 0.6365 GB, free: 2.637 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.669e-05/0.6235, allocations: 38.56 kB / 0.6366 GB, free: 2.59 MB / 478.1 MB Notification: Performance of pre-optimization done (n=14): time 2.404e-06/0.6235, allocations: 0 / 0.6366 GB, free: 2.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=14): time 0.001314/0.6248, allocations: 317.6 kB / 0.6369 GB, free: 2.273 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.6248, allocations: 59.34 kB / 0.6369 GB, free: 2.203 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005208/0.6253, allocations: 365.6 kB / 0.6373 GB, free: 1.832 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.851e-05/0.6254, allocations: 33.7 kB / 0.6373 GB, free: 1.793 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.6256, allocations: 192.2 kB / 0.6375 GB, free: 1.602 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.531e-05/0.6256, allocations: 59.52 kB / 0.6375 GB, free: 1.543 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.671e-05/0.6257, allocations: 45.67 kB / 0.6376 GB, free: 1.492 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.6259, allocations: 346.8 kB / 0.6379 GB, free: 1.145 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.626, allocations: 47.97 kB / 0.638 GB, free: 1.098 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.6262, allocations: 102.7 kB / 0.6381 GB, free: 0.9727 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.0009579/0.6271, allocations: 296.2 kB / 0.6383 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.6271, allocations: 4 kB / 0.6383 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004663/0.6276, allocations: 234.2 kB / 0.6386 GB, free: 432 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.6276, allocations: 11.92 kB / 0.6386 GB, free: 420 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.6276, allocations: 4 kB / 0.6386 GB, free: 416 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001467/0.6278, allocations: 20.86 kB / 0.6386 GB, free: 392 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/0.628, allocations: 47.91 kB / 0.6386 GB, free: 344 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/0.6293, allocations: 1.283 MB / 0.6399 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.6295, allocations: 31.89 kB / 0.6399 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.6295, allocations: 8 kB / 0.6399 GB, free: 14.9 MB / 494.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.0002158/0.6297, allocations: 156.5 kB / 0.6401 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.96e-05/0.6298, allocations: 31.81 kB / 0.6401 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008839/0.6307, allocations: 0.6201 MB / 0.6407 GB, free: 14.08 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.6307, allocations: 11.98 kB / 0.6407 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.6307, allocations: 7.938 kB / 0.6407 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.6307, allocations: 0 / 0.6407 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00156/0.6323, allocations: 1.061 MB / 0.6418 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.6323, allocations: 0 / 0.6418 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/0.6325, allocations: 39.97 kB / 0.6418 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.542e-05/0.6326, allocations: 24.88 kB / 0.6418 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.6326, allocations: 4 kB / 0.6418 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/0.6337, allocations: 1.272 MB / 0.6431 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.6337, allocations: 7.969 kB / 0.6431 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008513/0.6345, allocations: 0.6842 MB / 0.6438 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.94e-05/0.6346, allocations: 47.62 kB / 0.6438 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.414e-05/0.6347, allocations: 7.938 kB / 0.6438 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.6348, allocations: 7.984 kB / 0.6438 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.862e-05/0.6349, allocations: 11.98 kB / 0.6438 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.6349, allocations: 4 kB / 0.6438 GB, free: 10.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002892/0.6352, allocations: 259.2 kB / 0.6441 GB, free: 10.45 MB / 494.1 MB Notification: Performance of sort global known variables: time 6e-08/0.6352, allocations: 0 / 0.6441 GB, free: 10.45 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003616/0.6388, allocations: 1.275 MB / 0.6453 GB, free: 9.168 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.005971/0.6448, allocations: 1.436 MB / 0.6467 GB, free: 7.723 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006223/0.6454, allocations: 294.5 kB / 0.647 GB, free: 7.422 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.6454, allocations: 0 / 0.647 GB, free: 7.422 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002847/0.6457, allocations: 222.6 kB / 0.6472 GB, free: 7.191 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009262/0.6466, allocations: 169.6 kB / 0.6474 GB, free: 7.027 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.6483, allocations: 0.9602 MB / 0.6483 GB, free: 6.035 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004971/0.6488, allocations: 0.8155 MB / 0.6491 GB, free: 5.184 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000187/0.649, allocations: 70.91 kB / 0.6492 GB, free: 5.117 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.859e-05/0.6491, allocations: 31.44 kB / 0.6492 GB, free: 5.086 MB / 494.1 MB Notification: Performance of SimCode: time 4.31e-07/0.6491, allocations: 0 / 0.6492 GB, free: 5.086 MB / 494.1 MB Notification: Performance of Templates: time 0.07391/0.723, allocations: 49.41 MB / 0.6975 GB, free: 3.676 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.686746200546622] Failed to read output from testmodel.py, exit status != 0: 0.7322543766349554 0.747166046 0.254489922 Calling exit ...