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.001256/0.001256, allocations: 78.88 kB / 21.28 MB, free: 0.5195 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.001406/0.001406, allocations: 164.7 kB / 24.54 MB, free: 3.809 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.409/1.409, allocations: 177.2 MB / 204.9 MB, free: 9.277 MB / 190.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.1403/0.1403, allocations: 19.71 MB / 281 MB, free: 13.05 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.002113/0.002113, allocations: 71.89 kB / 417.6 MB, free: 0.668 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2892, allocations: 60.45 MB / 478.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.04068/0.3299, allocations: 34.03 MB / 0.5001 GB, free: 128 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0187/0.3486, allocations: 13.05 MB / 0.5129 GB, free: 3.031 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003219/0.3489, allocations: 7.938 kB / 0.5129 GB, free: 3.023 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005321/0.3494, allocations: 135 kB / 0.513 GB, free: 2.891 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004578/0.3499, allocations: 230.5 kB / 0.5132 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01741/0.3673, allocations: 6.496 MB / 0.5196 GB, free: 12.17 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000903/0.3682, allocations: 0.5909 MB / 0.5201 GB, free: 11.58 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003602/0.3686, allocations: 182.3 kB / 0.5203 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005063/0.3691, allocations: 334.9 kB / 0.5206 GB, free: 11.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000325/0.3694, allocations: 210.9 kB / 0.5208 GB, free: 10.86 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.868e-05/0.3695, allocations: 24 kB / 0.5208 GB, free: 10.84 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01618/0.3856, allocations: 8.544 MB / 0.5292 GB, free: 2.281 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.3858, allocations: 71.69 kB / 0.5293 GB, free: 2.211 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002603/0.386, allocations: 159.2 kB / 0.5294 GB, free: 2.055 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01373/0.3998, allocations: 5.164 MB / 0.5345 GB, free: 12.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.3998, allocations: 0 / 0.5345 GB, free: 12.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3998, allocations: 0 / 0.5345 GB, free: 12.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.511e-05/0.3998, allocations: 0 / 0.5345 GB, free: 12.88 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.003685/0.4035, allocations: 1.195 MB / 0.5356 GB, free: 11.65 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.4035, allocations: 12.03 kB / 0.5356 GB, free: 11.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000259/0.4038, allocations: 60.64 kB / 0.5357 GB, free: 11.58 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005197/0.4043, allocations: 270.3 kB / 0.536 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.4043, allocations: 25.03 kB / 0.536 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.909e-05/0.4044, allocations: 32.12 kB / 0.536 GB, free: 11.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006944/0.4051, allocations: 349 kB / 0.5363 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.4051, allocations: 0 / 0.5363 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.696e-05/0.4051, allocations: 16 kB / 0.5364 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.4051, allocations: 7.938 kB / 0.5364 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000503/0.4056, allocations: 209.8 kB / 0.5366 GB, free: 10.63 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.001712/0.4073, allocations: 1.1 MB / 0.5376 GB, free: 9.469 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005378/0.4079, allocations: 190.5 kB / 0.5378 GB, free: 9.273 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.408, allocations: 48.84 kB / 0.5379 GB, free: 9.223 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1207/0.5286, allocations: 35.11 MB / 0.5721 GB, free: 6.07 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.5287, allocations: 30.56 kB / 0.5722 GB, free: 6.031 MB / 478.1 MB Notification: Performance of pre-optimization done (n=14): time 1.974e-06/0.5287, allocations: 0 / 0.5722 GB, free: 6.031 MB / 478.1 MB Notification: Performance of matching and sorting (n=14): time 0.001189/0.5299, allocations: 318.1 kB / 0.5725 GB, free: 5.711 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.5299, allocations: 51.41 kB / 0.5725 GB, free: 5.648 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003604/0.5303, allocations: 296.5 kB / 0.5728 GB, free: 5.348 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.5303, allocations: 33.64 kB / 0.5728 GB, free: 5.309 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.5305, allocations: 212.1 kB / 0.573 GB, free: 5.098 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.722e-05/0.5306, allocations: 59.47 kB / 0.5731 GB, free: 5.039 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.432e-05/0.5306, allocations: 45.7 kB / 0.5731 GB, free: 4.988 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.5308, allocations: 334.8 kB / 0.5735 GB, free: 4.652 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.5309, allocations: 43.97 kB / 0.5735 GB, free: 4.609 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.5311, allocations: 117.5 kB / 0.5736 GB, free: 4.473 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.0009697/0.532, allocations: 296.5 kB / 0.5739 GB, free: 4.164 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.5321, allocations: 0 / 0.5739 GB, free: 4.164 MB / 478.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004511/0.5325, allocations: 226.1 kB / 0.5741 GB, free: 3.934 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.5325, allocations: 12.16 kB / 0.5741 GB, free: 3.922 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.5325, allocations: 4 kB / 0.5741 GB, free: 3.918 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001365/0.5327, allocations: 28.72 kB / 0.5742 GB, free: 3.887 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.5329, allocations: 39.98 kB / 0.5742 GB, free: 3.848 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001199/0.5341, allocations: 1.257 MB / 0.5754 GB, free: 2.492 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.5342, allocations: 19.88 kB / 0.5754 GB, free: 2.473 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.5342, allocations: 8 kB / 0.5755 GB, free: 2.465 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.0001829/0.5344, allocations: 149.7 kB / 0.5756 GB, free: 2.309 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.929e-05/0.5345, allocations: 27.81 kB / 0.5756 GB, free: 2.281 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008793/0.5354, allocations: 0.6249 MB / 0.5762 GB, free: 1.648 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.5354, allocations: 7.984 kB / 0.5762 GB, free: 1.641 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.5354, allocations: 64 / 0.5762 GB, free: 1.641 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.5354, allocations: 4 kB / 0.5762 GB, free: 1.637 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/0.5367, allocations: 1.001 MB / 0.5772 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.5367, allocations: 0 / 0.5772 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/0.5369, allocations: 35.97 kB / 0.5773 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.941e-05/0.537, allocations: 24.78 kB / 0.5773 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.537, allocations: 7.938 kB / 0.5773 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001069/0.5381, allocations: 1.25 MB / 0.5785 GB, free: 15.17 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5381, allocations: 0 / 0.5785 GB, free: 15.17 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008727/0.539, allocations: 0.6748 MB / 0.5792 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.006e-05/0.539, allocations: 39.64 kB / 0.5792 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.5391, allocations: 4 kB / 0.5792 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.5392, allocations: 12.19 kB / 0.5792 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.033e-05/0.5393, allocations: 15.92 kB / 0.5792 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.5393, allocations: 7.938 kB / 0.5792 GB, free: 14.39 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002305/0.5395, allocations: 211.1 kB / 0.5794 GB, free: 14.19 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5395, allocations: 0 / 0.5794 GB, free: 14.19 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003532/0.5431, allocations: 1.282 MB / 0.5807 GB, free: 12.91 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.005667/0.5487, allocations: 1.429 MB / 0.5821 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006773/0.5494, allocations: 294.9 kB / 0.5824 GB, free: 11.16 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.5494, allocations: 4.062 kB / 0.5824 GB, free: 11.16 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002942/0.5497, allocations: 225.8 kB / 0.5826 GB, free: 10.93 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007816/0.5505, allocations: 131.2 kB / 0.5827 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.5523, allocations: 0.984 MB / 0.5837 GB, free: 9.777 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/0.5525, allocations: 212.1 kB / 0.5839 GB, free: 9.543 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.106e-05/0.5525, allocations: 28.5 kB / 0.5839 GB, free: 9.516 MB / 494.1 MB Notification: Performance of SimCode: time 8.52e-07/0.5525, allocations: 0 / 0.5839 GB, free: 9.516 MB / 494.1 MB Notification: Performance of Templates: time 0.04288/0.5954, allocations: 27.64 MB / 0.6109 GB, free: 13.85 MB / 0.5137 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: 10.000701741082594] Failed to read output from testmodel.py, exit status != 0: 0.604758420959115 0.6187265909999999 0.215767747 Calling exit ...