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.001768/0.001768, allocations: 77.16 kB / 21.27 MB, free: 0.5312 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.0021/0.0021, allocations: 156.4 kB / 24.53 MB, free: 3.836 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.545/1.545, 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.1448/0.1448, allocations: 19.7 MB / 281 MB, free: 13.06 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.002079/0.002079, allocations: 71.91 kB / 417.6 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2742, allocations: 60.45 MB / 478.1 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.04263/0.3169, allocations: 34.03 MB / 0.5001 GB, free: 160 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01979/0.3366, allocations: 13.05 MB / 0.5129 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000317/0.337, allocations: 11.88 kB / 0.5129 GB, free: 3.047 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005005/0.3375, allocations: 135 kB / 0.513 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004684/0.3379, allocations: 226.5 kB / 0.5132 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01821/0.3561, allocations: 6.496 MB / 0.5196 GB, free: 12.2 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001097/0.3572, allocations: 0.587 MB / 0.5201 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004069/0.3576, allocations: 187.1 kB / 0.5203 GB, free: 11.42 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005582/0.3582, allocations: 331 kB / 0.5206 GB, free: 11.1 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003426/0.3585, allocations: 210.9 kB / 0.5208 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.349e-05/0.3586, allocations: 24 kB / 0.5208 GB, free: 10.87 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01731/0.3759, allocations: 8.544 MB / 0.5292 GB, free: 2.312 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.376, allocations: 75.64 kB / 0.5293 GB, free: 2.238 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002536/0.3763, allocations: 159.2 kB / 0.5294 GB, free: 2.082 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01165/0.3879, allocations: 5.16 MB / 0.5345 GB, free: 12.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3879, allocations: 0 / 0.5345 GB, free: 12.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3879, allocations: 0 / 0.5345 GB, free: 12.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.679e-06/0.3879, allocations: 0 / 0.5345 GB, free: 12.91 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.003452/0.3914, allocations: 1.195 MB / 0.5356 GB, free: 11.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.3914, allocations: 8.031 kB / 0.5356 GB, free: 11.67 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002435/0.3917, allocations: 68.64 kB / 0.5357 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005261/0.3922, allocations: 262.4 kB / 0.5359 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.007e-05/0.3922, allocations: 28.97 kB / 0.536 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.408e-05/0.3923, allocations: 32.12 kB / 0.536 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007094/0.393, allocations: 349 kB / 0.5363 GB, free: 10.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.393, allocations: 0 / 0.5363 GB, free: 10.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.84e-05/0.393, allocations: 12 kB / 0.5363 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.3931, allocations: 11.92 kB / 0.5364 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006635/0.3937, allocations: 209.8 kB / 0.5366 GB, free: 10.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.001803/0.3955, allocations: 1.111 MB / 0.5376 GB, free: 9.488 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005569/0.3961, allocations: 174.6 kB / 0.5378 GB, free: 9.309 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.3962, allocations: 60.77 kB / 0.5379 GB, free: 9.246 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1234/0.5196, allocations: 35.11 MB / 0.5722 GB, free: 6.098 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/0.5196, allocations: 34.55 kB / 0.5722 GB, free: 6.055 MB / 478.1 MB Notification: Performance of pre-optimization done (n=14): time 2.224e-06/0.5196, allocations: 0 / 0.5722 GB, free: 6.055 MB / 478.1 MB Notification: Performance of matching and sorting (n=14): time 0.001191/0.5208, allocations: 314.2 kB / 0.5725 GB, free: 5.738 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.5208, allocations: 51.41 kB / 0.5725 GB, free: 5.676 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003898/0.5212, allocations: 296.5 kB / 0.5728 GB, free: 5.375 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.5213, allocations: 33.64 kB / 0.5728 GB, free: 5.336 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.5214, allocations: 208.1 kB / 0.573 GB, free: 5.129 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.271e-05/0.5215, allocations: 63.47 kB / 0.5731 GB, free: 5.066 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.96e-05/0.5216, allocations: 45.7 kB / 0.5732 GB, free: 5.016 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.5218, allocations: 334.8 kB / 0.5735 GB, free: 4.68 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.5219, allocations: 47.97 kB / 0.5735 GB, free: 4.633 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.522, allocations: 105.8 kB / 0.5736 GB, free: 4.508 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.0009964/0.523, allocations: 296.7 kB / 0.5739 GB, free: 4.199 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.523, allocations: 0 / 0.5739 GB, free: 4.199 MB / 478.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004808/0.5235, allocations: 226 kB / 0.5741 GB, free: 3.969 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.5235, allocations: 7.938 kB / 0.5741 GB, free: 3.961 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.5235, allocations: 4.219 kB / 0.5741 GB, free: 3.957 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000148/0.5237, allocations: 32.78 kB / 0.5742 GB, free: 3.922 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.5239, allocations: 43.92 kB / 0.5742 GB, free: 3.879 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00118/0.5251, allocations: 1.26 MB / 0.5754 GB, free: 2.52 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.5252, allocations: 16.05 kB / 0.5754 GB, free: 2.504 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.5253, allocations: 12 kB / 0.5755 GB, free: 2.492 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.000183/0.5254, allocations: 141.7 kB / 0.5756 GB, free: 2.344 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.905e-05/0.5255, allocations: 31.81 kB / 0.5756 GB, free: 2.312 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008789/0.5264, allocations: 0.6249 MB / 0.5762 GB, free: 1.68 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.5264, allocations: 7.984 kB / 0.5762 GB, free: 1.672 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.5264, allocations: 0 / 0.5762 GB, free: 1.672 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.5264, allocations: 0 / 0.5762 GB, free: 1.672 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001402/0.5278, allocations: 1.001 MB / 0.5772 GB, free: 0.625 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.5278, allocations: 4 kB / 0.5772 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/0.528, allocations: 31.97 kB / 0.5773 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001036/0.5281, allocations: 24.84 kB / 0.5773 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.5281, allocations: 7.938 kB / 0.5773 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001073/0.5292, allocations: 1.25 MB / 0.5785 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.5292, allocations: 0 / 0.5785 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008975/0.5301, allocations: 0.6787 MB / 0.5792 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.017e-05/0.5302, allocations: 35.64 kB / 0.5792 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.597e-05/0.5302, allocations: 8 kB / 0.5792 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.5304, allocations: 8.031 kB / 0.5792 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.5304, allocations: 11.98 kB / 0.5792 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.5304, allocations: 12.06 kB / 0.5792 GB, free: 14.43 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002505/0.5307, allocations: 207.1 kB / 0.5794 GB, free: 14.23 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5307, allocations: 0 / 0.5794 GB, free: 14.23 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003182/0.5339, allocations: 1.286 MB / 0.5807 GB, free: 12.94 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.005933/0.5398, allocations: 1.433 MB / 0.5821 GB, free: 11.49 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006562/0.5404, allocations: 290.5 kB / 0.5824 GB, free: 11.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.5404, allocations: 3.938 kB / 0.5824 GB, free: 11.19 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003167/0.5408, allocations: 223.1 kB / 0.5826 GB, free: 10.96 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000796/0.5416, allocations: 130.2 kB / 0.5827 GB, free: 10.84 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/0.5433, allocations: 0.9562 MB / 0.5836 GB, free: 9.848 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.5435, allocations: 208.1 kB / 0.5838 GB, free: 9.617 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001922/0.5437, allocations: 77.14 kB / 0.5839 GB, free: 9.543 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.777e-05/0.5438, allocations: 28.5 kB / 0.5839 GB, free: 9.516 MB / 494.1 MB Notification: Performance of SimCode: time 4.71e-07/0.5438, allocations: 0 / 0.5839 GB, free: 9.516 MB / 494.1 MB Notification: Performance of Templates: time 0.07687/0.6207, allocations: 48.36 MB / 0.6312 GB, free: 9.188 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 -s gbode -gbnls=internal -gberr=embedded -gbm=esdirk4 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.752989305998199] Failed to read output from testmodel.py, exit status != 0: 0.6303839100291952 0.8173309510000001 0.42663684700000004 Calling exit ...