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.001332/0.001332, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001501/0.001501, allocations: 212.6 kB / 24.48 MB, free: 3.84 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.342/1.342, allocations: 207.7 MB / 235.3 MB, free: 9.801 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.2828/0.2828, allocations: 49.6 MB / 337.2 MB, free: 3.969 MB / 270.1 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: 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.002249/0.002249, allocations: 71.89 kB / 477.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1048, allocations: 62.43 MB / 0.5274 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.2229/0.3277, allocations: 34.03 MB / 0.5606 GB, free: 4.082 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01677/0.3445, allocations: 13.06 MB / 0.5734 GB, free: 11.8 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004634/0.3449, allocations: 7.5 kB / 0.5734 GB, free: 11.8 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005836/0.3455, allocations: 141.9 kB / 0.5735 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005638/0.3461, allocations: 228.6 kB / 0.5737 GB, free: 11.56 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01742/0.3635, allocations: 6.463 MB / 0.58 GB, free: 7.645 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008362/0.3643, allocations: 0.5894 MB / 0.5806 GB, free: 7.305 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003118/0.3646, allocations: 177.7 kB / 0.5808 GB, free: 7.184 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003116/0.3649, allocations: 229.6 kB / 0.581 GB, free: 7.062 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000279/0.3652, allocations: 213.2 kB / 0.5812 GB, free: 6.938 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.037e-05/0.3653, allocations: 25 kB / 0.5812 GB, free: 6.938 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01646/0.3817, allocations: 8.536 MB / 0.5896 GB, free: 2.668 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.3818, allocations: 72.81 kB / 0.5896 GB, free: 2.605 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002865/0.3821, allocations: 165.3 kB / 0.5898 GB, free: 2.516 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01038/0.3925, allocations: 5.145 MB / 0.5948 GB, free: 15.22 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3925, allocations: 0 / 0.5948 GB, free: 15.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3925, allocations: 0 / 0.5948 GB, free: 15.22 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.3925, allocations: 3.25 kB / 0.5948 GB, free: 15.22 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.003018/0.3955, allocations: 1.192 MB / 0.596 GB, free: 14.37 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.3956, allocations: 8.25 kB / 0.596 GB, free: 14.37 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002304/0.3958, allocations: 63.92 kB / 0.5961 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004829/0.3963, allocations: 267.8 kB / 0.5963 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.3963, allocations: 23.72 kB / 0.5963 GB, free: 14.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.218e-05/0.3964, allocations: 39.06 kB / 0.5964 GB, free: 14.06 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006422/0.397, allocations: 348.2 kB / 0.5967 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.397, allocations: 1.75 kB / 0.5967 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/0.397, allocations: 18.81 kB / 0.5967 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.3971, allocations: 6.188 kB / 0.5967 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004892/0.3975, allocations: 208 kB / 0.5969 GB, free: 13.66 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.001665/0.3992, allocations: 1.11 MB / 0.598 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005102/0.3997, allocations: 174.6 kB / 0.5982 GB, free: 12.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.3998, allocations: 48.83 kB / 0.5982 GB, free: 12.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1203/0.5201, allocations: 33.65 MB / 0.6311 GB, free: 10.57 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.892e-05/0.5202, allocations: 35.44 kB / 0.6311 GB, free: 10.53 MB / 478.1 MB Notification: Performance of pre-optimization done (n=14): time 1.854e-06/0.5202, allocations: 0 / 0.6311 GB, free: 10.53 MB / 478.1 MB Notification: Performance of matching and sorting (n=14): time 0.001144/0.5213, allocations: 314.1 kB / 0.6314 GB, free: 10.21 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.5214, allocations: 51.41 kB / 0.6315 GB, free: 10.15 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003651/0.5217, allocations: 308.4 kB / 0.6318 GB, free: 9.844 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.5218, allocations: 25.7 kB / 0.6318 GB, free: 9.812 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/0.5219, allocations: 212.2 kB / 0.632 GB, free: 9.602 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.019e-05/0.522, allocations: 55.53 kB / 0.632 GB, free: 9.547 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.999e-05/0.522, allocations: 41.66 kB / 0.6321 GB, free: 9.5 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.5222, allocations: 338.8 kB / 0.6324 GB, free: 9.16 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.5223, allocations: 55.83 kB / 0.6325 GB, free: 9.105 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.5225, allocations: 94.84 kB / 0.6326 GB, free: 8.988 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.0009285/0.5234, allocations: 289.1 kB / 0.6328 GB, free: 8.684 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5234, allocations: 0 / 0.6328 GB, free: 8.684 MB / 478.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004418/0.5239, allocations: 227 kB / 0.633 GB, free: 8.453 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.5239, allocations: 8.469 kB / 0.6331 GB, free: 8.445 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.5239, allocations: 4.625 kB / 0.6331 GB, free: 8.441 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001303/0.524, allocations: 28.78 kB / 0.6331 GB, free: 8.41 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.5242, allocations: 47.91 kB / 0.6331 GB, free: 8.363 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001142/0.5253, allocations: 1.258 MB / 0.6344 GB, free: 7.004 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.5255, allocations: 19.84 kB / 0.6344 GB, free: 6.984 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.5255, allocations: 11.98 kB / 0.6344 GB, free: 6.973 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.0001658/0.5257, allocations: 145.7 kB / 0.6345 GB, free: 6.82 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.378e-05/0.5258, allocations: 29.05 kB / 0.6346 GB, free: 6.793 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008416/0.5266, allocations: 0.619 MB / 0.6352 GB, free: 6.164 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.5266, allocations: 12.08 kB / 0.6352 GB, free: 6.152 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.5266, allocations: 4 kB / 0.6352 GB, free: 6.148 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.5266, allocations: 7.875 kB / 0.6352 GB, free: 6.141 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.5279, allocations: 0.9871 MB / 0.6361 GB, free: 5.109 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.5279, allocations: 0 / 0.6361 GB, free: 5.109 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.5281, allocations: 31.98 kB / 0.6362 GB, free: 5.078 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.576e-05/0.5282, allocations: 28.83 kB / 0.6362 GB, free: 5.047 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.5282, allocations: 8.719 kB / 0.6362 GB, free: 5.039 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001019/0.5292, allocations: 1.254 MB / 0.6374 GB, free: 3.688 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.5292, allocations: 0 / 0.6374 GB, free: 3.688 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008507/0.5301, allocations: 0.6686 MB / 0.6381 GB, free: 2.996 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.613e-05/0.5302, allocations: 47.62 kB / 0.6381 GB, free: 2.949 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.341e-05/0.5302, allocations: 8.156 kB / 0.6381 GB, free: 2.941 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.5303, allocations: 4 kB / 0.6381 GB, free: 2.938 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.227e-05/0.5304, allocations: 15.97 kB / 0.6382 GB, free: 2.922 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.5304, allocations: 4 kB / 0.6382 GB, free: 2.918 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002227/0.5306, allocations: 215 kB / 0.6384 GB, free: 2.707 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5306, allocations: 0 / 0.6384 GB, free: 2.707 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003348/0.534, allocations: 1.279 MB / 0.6396 GB, free: 1.426 MB / 478.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.005291/0.5393, allocations: 1.411 MB / 0.641 GB, free: 8 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006535/0.5399, allocations: 306.7 kB / 0.6413 GB, free: 15.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5399, allocations: 0 / 0.6413 GB, free: 15.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002862/0.5402, allocations: 222.6 kB / 0.6415 GB, free: 15.46 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000811/0.541, allocations: 128.6 kB / 0.6416 GB, free: 15.34 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.5427, allocations: 0.9882 MB / 0.6426 GB, free: 14.32 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/0.5429, allocations: 208 kB / 0.6428 GB, free: 14.09 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.591e-05/0.5429, allocations: 27.44 kB / 0.6428 GB, free: 14.06 MB / 494.1 MB Notification: Performance of SimCode: time 7.21e-07/0.5429, allocations: 4 kB / 0.6428 GB, free: 14.06 MB / 494.1 MB Notification: Performance of Templates: time 0.04042/0.5834, allocations: 27.45 MB / 0.6696 GB, free: 2.551 MB / 0.4981 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: 9.939716859720647] Failed to read output from testmodel.py, exit status != 0: 0.5918446513824165 0.606501155 0.210737332 Calling exit ...