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.001756/0.001756, allocations: 76.83 kB / 20.52 MB, free: 1.367 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.00199/0.00199, allocations: 166.1 kB / 23.78 MB, free: 4.539 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.452/1.452, allocations: 177.2 MB / 204.2 MB, free: 9.258 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.148/0.148, allocations: 19.71 MB / 280.3 MB, free: 13.03 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.002154/0.002154, allocations: 67.91 kB / 416.9 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.268, allocations: 60.45 MB / 477.3 MB, free: 15.53 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.04173/0.3097, allocations: 34.04 MB / 0.4994 GB, free: 128 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01899/0.3287, allocations: 13.05 MB / 0.5121 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002877/0.329, allocations: 11.88 kB / 0.5121 GB, free: 3.023 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004923/0.3295, allocations: 143 kB / 0.5123 GB, free: 2.883 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004346/0.3299, allocations: 222.5 kB / 0.5125 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01722/0.3472, allocations: 6.481 MB / 0.5188 GB, free: 12.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008479/0.348, allocations: 0.5987 MB / 0.5194 GB, free: 11.58 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003473/0.3484, allocations: 182.3 kB / 0.5196 GB, free: 11.4 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004942/0.3489, allocations: 330.9 kB / 0.5199 GB, free: 11.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003289/0.3492, allocations: 214.9 kB / 0.5201 GB, free: 10.86 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.183e-05/0.3492, allocations: 27.94 kB / 0.5201 GB, free: 10.84 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0161/0.3653, allocations: 8.54 MB / 0.5285 GB, free: 2.285 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.3655, allocations: 75.62 kB / 0.5285 GB, free: 2.211 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002953/0.3658, allocations: 159.3 kB / 0.5287 GB, free: 2.055 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01015/0.3759, allocations: 5.16 MB / 0.5337 GB, free: 12.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.3759, allocations: 4 kB / 0.5337 GB, free: 12.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3759, allocations: 0 / 0.5337 GB, free: 12.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.315e-06/0.3759, allocations: 0 / 0.5337 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.003124/0.3791, allocations: 1.191 MB / 0.5349 GB, free: 11.65 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.3791, allocations: 12.03 kB / 0.5349 GB, free: 11.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002379/0.3793, allocations: 64.58 kB / 0.535 GB, free: 11.58 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005168/0.3799, allocations: 270.4 kB / 0.5352 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/0.3799, allocations: 21.03 kB / 0.5352 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.624e-05/0.3799, allocations: 36.12 kB / 0.5353 GB, free: 11.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007214/0.3807, allocations: 349 kB / 0.5356 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.3807, allocations: 0 / 0.5356 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.027e-05/0.3807, allocations: 12 kB / 0.5356 GB, free: 10.85 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.3807, allocations: 8 kB / 0.5356 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005267/0.3812, allocations: 209.8 kB / 0.5358 GB, free: 10.64 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.001741/0.383, allocations: 1.107 MB / 0.5369 GB, free: 9.465 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005727/0.3836, allocations: 182.6 kB / 0.5371 GB, free: 9.277 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.3837, allocations: 48.84 kB / 0.5371 GB, free: 9.227 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1241/0.5078, allocations: 35.11 MB / 0.5714 GB, free: 6.074 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.5078, allocations: 34.56 kB / 0.5715 GB, free: 6.031 MB / 478.1 MB Notification: Performance of pre-optimization done (n=14): time 2.054e-06/0.5078, allocations: 0 / 0.5715 GB, free: 6.031 MB / 478.1 MB Notification: Performance of matching and sorting (n=14): time 0.001203/0.509, allocations: 309.7 kB / 0.5717 GB, free: 5.723 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.5091, allocations: 63.28 kB / 0.5718 GB, free: 5.648 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003646/0.5095, allocations: 300.5 kB / 0.5721 GB, free: 5.344 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.5095, allocations: 25.7 kB / 0.5721 GB, free: 5.312 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.5096, allocations: 216 kB / 0.5723 GB, free: 5.098 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.728e-05/0.5097, allocations: 59.48 kB / 0.5724 GB, free: 5.039 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.818e-05/0.5098, allocations: 41.7 kB / 0.5724 GB, free: 4.992 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.5099, allocations: 334.8 kB / 0.5727 GB, free: 4.656 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.5101, allocations: 47.98 kB / 0.5728 GB, free: 4.609 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.5102, allocations: 105.5 kB / 0.5729 GB, free: 4.484 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.0009814/0.5112, allocations: 297.1 kB / 0.5732 GB, free: 4.172 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.5112, allocations: 0 / 0.5732 GB, free: 4.172 MB / 478.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004778/0.5117, allocations: 227.6 kB / 0.5734 GB, free: 3.941 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.5117, allocations: 4 kB / 0.5734 GB, free: 3.938 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.5117, allocations: 8.219 kB / 0.5734 GB, free: 3.93 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001459/0.5119, allocations: 28.78 kB / 0.5734 GB, free: 3.898 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001999/0.5121, allocations: 43.91 kB / 0.5735 GB, free: 3.855 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/0.5132, allocations: 1.26 MB / 0.5747 GB, free: 2.496 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.5134, allocations: 24.05 kB / 0.5747 GB, free: 2.473 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.5134, allocations: 4 kB / 0.5747 GB, free: 2.469 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.0001959/0.5136, allocations: 145.8 kB / 0.5749 GB, free: 2.316 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.112e-05/0.5137, allocations: 31.75 kB / 0.5749 GB, free: 2.285 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009071/0.5146, allocations: 0.6211 MB / 0.5755 GB, free: 1.656 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.5146, allocations: 11.98 kB / 0.5755 GB, free: 1.645 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.5146, allocations: 0 / 0.5755 GB, free: 1.645 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.5146, allocations: 4 kB / 0.5755 GB, free: 1.641 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001443/0.516, allocations: 0.9971 MB / 0.5765 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.5161, allocations: 4 kB / 0.5765 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/0.5162, allocations: 31.92 kB / 0.5765 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001006/0.5163, allocations: 24.84 kB / 0.5765 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.5164, allocations: 3.938 kB / 0.5766 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001041/0.5174, allocations: 1.25 MB / 0.5778 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.5174, allocations: 3.984 kB / 0.5778 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008728/0.5183, allocations: 0.6787 MB / 0.5784 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.663e-05/0.5184, allocations: 47.67 kB / 0.5785 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.103e-05/0.5184, allocations: 0 / 0.5785 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.5185, allocations: 11.94 kB / 0.5785 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.627e-05/0.5186, allocations: 16.12 kB / 0.5785 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.5186, allocations: 11.94 kB / 0.5785 GB, free: 14.39 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002279/0.5188, allocations: 203.1 kB / 0.5787 GB, free: 14.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5188, allocations: 4 kB / 0.5787 GB, free: 14.19 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003204/0.522, allocations: 1.282 MB / 0.58 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.004857/0.5269, allocations: 1.429 MB / 0.5814 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006082/0.5275, allocations: 293.9 kB / 0.5816 GB, free: 11.16 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.5275, allocations: 448 / 0.5816 GB, free: 11.16 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003059/0.5278, allocations: 226.6 kB / 0.5819 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.0007379/0.5285, allocations: 123.3 kB / 0.582 GB, free: 10.81 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.5302, allocations: 0.9601 MB / 0.5829 GB, free: 9.816 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002059/0.5304, allocations: 212.1 kB / 0.5831 GB, free: 9.582 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001604/0.5306, allocations: 73.41 kB / 0.5832 GB, free: 9.512 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.034e-05/0.5306, allocations: 28.5 kB / 0.5832 GB, free: 9.484 MB / 494.1 MB Notification: Performance of SimCode: time 4.41e-07/0.5306, allocations: 0 / 0.5832 GB, free: 9.484 MB / 494.1 MB Notification: Performance of Templates: time 0.06633/0.597, allocations: 48.35 MB / 0.6304 GB, free: 9.164 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.72580049932003] Failed to read output from testmodel.py, exit status != 0: 0.6057290658354759 0.792161402 0.41348726500000005 Calling exit ...