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.001896/0.001896, allocations: 73.8 kB / 21.24 MB, free: 0.5547 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.002093/0.002093, allocations: 160.8 kB / 24.5 MB, free: 3.715 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.322/1.322, allocations: 158.6 MB / 186.3 MB, free: 6.215 MB / 174.1 MB " [Timeout remaining time 179] 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.2714/0.2714, allocations: 36.35 MB / 274.9 MB, free: 14.64 MB / 270.1 MB " [Timeout remaining time 179] 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.002483/0.002483, allocations: 83.86 kB / 415.3 MB, free: 14.05 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3204, allocations: 62.39 MB / 477.7 MB, free: 43.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.02697/0.3474, allocations: 34.04 MB / 0.4997 GB, free: 21.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01401/0.3614, allocations: 13.07 MB / 0.5125 GB, free: 13.35 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003045/0.3617, allocations: 9.438 kB / 0.5125 GB, free: 13.35 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004941/0.3622, allocations: 142.1 kB / 0.5126 GB, free: 13.26 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003792/0.3626, allocations: 226.1 kB / 0.5128 GB, free: 13.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01727/0.3798, allocations: 6.461 MB / 0.5191 GB, free: 10.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007783/0.3806, allocations: 0.5892 MB / 0.5197 GB, free: 10.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000302/0.3809, allocations: 177.5 kB / 0.5199 GB, free: 10.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003058/0.3812, allocations: 228.9 kB / 0.5201 GB, free: 10.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00031/0.3815, allocations: 208.1 kB / 0.5203 GB, free: 10 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.866e-05/0.3816, allocations: 25.06 kB / 0.5203 GB, free: 10 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01704/0.3986, allocations: 8.548 MB / 0.5287 GB, free: 6.875 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.3987, allocations: 68.61 kB / 0.5287 GB, free: 6.816 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002689/0.399, allocations: 170.4 kB / 0.5289 GB, free: 6.723 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01282/0.4118, allocations: 5.14 MB / 0.5339 GB, free: 3.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.4118, allocations: 0 / 0.5339 GB, free: 3.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4118, allocations: 1.031 kB / 0.5339 GB, free: 3.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.507e-06/0.4118, allocations: 0 / 0.5339 GB, free: 3.43 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.004133/0.416, allocations: 1.198 MB / 0.5351 GB, free: 2.574 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.416, allocations: 8.562 kB / 0.5351 GB, free: 2.574 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002638/0.4163, allocations: 59.41 kB / 0.5352 GB, free: 2.547 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004652/0.4167, allocations: 272.2 kB / 0.5354 GB, free: 2.305 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.4168, allocations: 19.62 kB / 0.5354 GB, free: 2.293 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.867e-05/0.4168, allocations: 33.72 kB / 0.5355 GB, free: 2.277 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006058/0.4174, allocations: 346.2 kB / 0.5358 GB, free: 2.031 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.4174, allocations: 5.156 kB / 0.5358 GB, free: 2.027 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.51e-05/0.4174, allocations: 15.34 kB / 0.5358 GB, free: 2.016 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.4175, allocations: 6.719 kB / 0.5358 GB, free: 2.016 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004664/0.4179, allocations: 210.8 kB / 0.536 GB, free: 1.918 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.001455/0.4194, allocations: 1.109 MB / 0.5371 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005087/0.4199, allocations: 189.5 kB / 0.5373 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.851e-05/0.42, allocations: 48.03 kB / 0.5373 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1259/0.5459, allocations: 33.66 MB / 0.5702 GB, free: 2.328 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/0.5459, allocations: 38.55 kB / 0.5702 GB, free: 2.281 MB / 478.1 MB Notification: Performance of pre-optimization done (n=14): time 1.914e-06/0.5459, allocations: 0 / 0.5702 GB, free: 2.281 MB / 478.1 MB Notification: Performance of matching and sorting (n=14): time 0.001244/0.5472, allocations: 309.9 kB / 0.5705 GB, free: 1.973 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.5472, allocations: 55.41 kB / 0.5706 GB, free: 1.906 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003858/0.5476, allocations: 296.5 kB / 0.5709 GB, free: 1.602 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.5476, allocations: 25.7 kB / 0.5709 GB, free: 1.57 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.5478, allocations: 212.1 kB / 0.5711 GB, free: 1.359 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.012e-05/0.5479, allocations: 55.55 kB / 0.5712 GB, free: 1.305 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.672e-05/0.5479, allocations: 41.7 kB / 0.5712 GB, free: 1.258 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.5481, allocations: 338.8 kB / 0.5715 GB, free: 0.918 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.5482, allocations: 51.97 kB / 0.5716 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.5484, allocations: 98.84 kB / 0.5717 GB, free: 0.7461 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.001008/0.5494, allocations: 294.4 kB / 0.5719 GB, free: 448 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.5494, allocations: 0 / 0.5719 GB, free: 448 kB / 478.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004905/0.5499, allocations: 231.1 kB / 0.5722 GB, free: 208 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.5499, allocations: 4 kB / 0.5722 GB, free: 204 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.5499, allocations: 4 kB / 0.5722 GB, free: 200 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001458/0.5501, allocations: 28.78 kB / 0.5722 GB, free: 168 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.5503, allocations: 43.86 kB / 0.5722 GB, free: 128 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001258/0.5515, allocations: 1.272 MB / 0.5735 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.5517, allocations: 15.89 kB / 0.5735 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.5517, allocations: 8 kB / 0.5735 GB, free: 14.73 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.0001916/0.5519, allocations: 145.7 kB / 0.5736 GB, free: 14.58 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.983e-05/0.552, allocations: 27.81 kB / 0.5737 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009029/0.5529, allocations: 0.6183 MB / 0.5743 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/0.5529, allocations: 16.08 kB / 0.5743 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.5529, allocations: 3.938 kB / 0.5743 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.5529, allocations: 0 / 0.5743 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.5543, allocations: 0.9893 MB / 0.5753 GB, free: 12.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.5544, allocations: 4 kB / 0.5753 GB, free: 12.87 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.5545, allocations: 31.97 kB / 0.5753 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001113/0.5546, allocations: 24.84 kB / 0.5753 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.5547, allocations: 7.969 kB / 0.5753 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001083/0.5557, allocations: 1.26 MB / 0.5766 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.5557, allocations: 5.938 kB / 0.5766 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008893/0.5566, allocations: 0.6825 MB / 0.5772 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.308e-05/0.5567, allocations: 31.7 kB / 0.5773 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.497e-05/0.5567, allocations: 8.156 kB / 0.5773 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.5569, allocations: 12.03 kB / 0.5773 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.222e-05/0.5569, allocations: 7.984 kB / 0.5773 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.557, allocations: 11.94 kB / 0.5773 GB, free: 10.66 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002325/0.5572, allocations: 207.1 kB / 0.5775 GB, free: 10.46 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5572, allocations: 0 / 0.5775 GB, free: 10.46 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004437/0.5616, allocations: 1.282 MB / 0.5787 GB, free: 9.176 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.008411/0.57, allocations: 1.418 MB / 0.5801 GB, free: 7.746 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007728/0.5708, allocations: 294.7 kB / 0.5804 GB, free: 7.445 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/0.5708, allocations: 4 kB / 0.5804 GB, free: 7.441 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003339/0.5712, allocations: 222.6 kB / 0.5806 GB, free: 7.211 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000909/0.5721, allocations: 130.2 kB / 0.5808 GB, free: 7.09 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/0.5739, allocations: 0.9572 MB / 0.5817 GB, free: 6.098 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.5741, allocations: 208.1 kB / 0.5819 GB, free: 5.871 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001808/0.5743, allocations: 62.23 kB / 0.5819 GB, free: 5.812 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.019e-05/0.5744, allocations: 28.5 kB / 0.582 GB, free: 5.785 MB / 494.1 MB Notification: Performance of SimCode: time 5.01e-07/0.5744, allocations: 0 / 0.582 GB, free: 5.785 MB / 494.1 MB Notification: Performance of Templates: time 0.0775/0.6519, allocations: 48.28 MB / 0.6291 GB, free: 5.457 MB / 0.5294 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 -s ida -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.987021159962751] Failed to read output from testmodel.py, exit status != 0: 0.6614989150548354 0.6764562270000001 0.26127398100000004 Calling exit ...