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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestST2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST2") translateModel(ThermoPower.Test.WaterComponents.TestST2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 108.1 kB / 17.06 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 192 kB / 17.99 MB, free: 5.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.421/1.421, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3192/0.3192, allocations: 48.84 MB / 320.1 MB, free: 11.02 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 71.89 kB / 450.5 MB, free: 8.555 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1282, allocations: 59.17 MB / 0.4978 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.2874/0.4157, allocations: 37.08 MB / 0.534 GB, free: 7.004 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01875/0.4345, allocations: 14.83 MB / 0.5485 GB, free: 4.426 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006038/0.4352, allocations: 8.625 kB / 0.5485 GB, free: 4.422 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008143/0.436, allocations: 144.2 kB / 0.5486 GB, free: 4.352 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006851/0.4368, allocations: 226.8 kB / 0.5488 GB, free: 4.223 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02397/0.4608, allocations: 6.504 MB / 0.5552 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009314/0.4617, allocations: 0.5954 MB / 0.5558 GB, free: 2.367 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003676/0.4621, allocations: 211.2 kB / 0.556 GB, free: 2.34 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003174/0.4624, allocations: 227.5 kB / 0.5562 GB, free: 2.277 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002887/0.4627, allocations: 219.1 kB / 0.5564 GB, free: 2.215 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.539e-05/0.4628, allocations: 28.81 kB / 0.5564 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02118/0.484, allocations: 8.912 MB / 0.5651 GB, free: 14.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.4841, allocations: 65.7 kB / 0.5652 GB, free: 14.37 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003606/0.4845, allocations: 198 kB / 0.5654 GB, free: 14.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01734/0.5018, allocations: 5.125 MB / 0.5704 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.209e-05/0.5019, allocations: 3.984 kB / 0.5704 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.5019, allocations: 0 / 0.5704 GB, free: 10.96 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.5019, allocations: 0 / 0.5704 GB, free: 10.96 MB / 430.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.005774/0.5077, allocations: 1.238 MB / 0.5716 GB, free: 10.04 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.5078, allocations: 13.27 kB / 0.5716 GB, free: 10.04 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002663/0.5081, allocations: 67.69 kB / 0.5717 GB, free: 10 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004958/0.5086, allocations: 322.5 kB / 0.572 GB, free: 9.703 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/0.5086, allocations: 19.84 kB / 0.572 GB, free: 9.695 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.225e-05/0.5087, allocations: 25.47 kB / 0.572 GB, free: 9.688 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007402/0.5094, allocations: 330.4 kB / 0.5723 GB, free: 9.465 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/0.5095, allocations: 6.391 kB / 0.5723 GB, free: 9.461 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.194e-05/0.5095, allocations: 10.53 kB / 0.5723 GB, free: 9.453 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.5095, allocations: 6.375 kB / 0.5723 GB, free: 9.453 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005359/0.5101, allocations: 208.3 kB / 0.5725 GB, free: 9.355 MB / 430.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.001981/0.5121, allocations: 1.484 MB / 0.574 GB, free: 7.965 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005444/0.5126, allocations: 177.7 kB / 0.5742 GB, free: 7.871 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.5128, allocations: 54.92 kB / 0.5742 GB, free: 7.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1318/0.6446, allocations: 64.26 MB / 0.637 GB, free: 3.746 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.238e-05/0.6447, allocations: 34.56 kB / 0.637 GB, free: 3.703 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 2.776e-06/0.6447, allocations: 0 / 0.637 GB, free: 3.703 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.001362/0.646, allocations: 399 kB / 0.6374 GB, free: 3.285 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.6461, allocations: 59.34 kB / 0.6374 GB, free: 3.215 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004527/0.6466, allocations: 361.7 kB / 0.6378 GB, free: 2.855 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.179e-05/0.6466, allocations: 25.7 kB / 0.6378 GB, free: 2.824 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.6468, allocations: 204 kB / 0.638 GB, free: 2.621 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.185e-05/0.6468, allocations: 47.27 kB / 0.638 GB, free: 2.574 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.304e-05/0.6469, allocations: 49.58 kB / 0.6381 GB, free: 2.52 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.6471, allocations: 346.8 kB / 0.6384 GB, free: 2.172 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.6472, allocations: 43.97 kB / 0.6385 GB, free: 2.129 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.6474, allocations: 103.9 kB / 0.6386 GB, free: 2.004 MB / 494.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.0009986/0.6484, allocations: 376.8 kB / 0.6389 GB, free: 1.594 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.6484, allocations: 0 / 0.6389 GB, free: 1.594 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004372/0.6488, allocations: 222.6 kB / 0.6391 GB, free: 1.367 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.6489, allocations: 8 kB / 0.6391 GB, free: 1.359 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.6489, allocations: 8.141 kB / 0.6392 GB, free: 1.352 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001454/0.649, allocations: 20.86 kB / 0.6392 GB, free: 1.328 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.6492, allocations: 51.91 kB / 0.6392 GB, free: 1.277 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001169/0.6504, allocations: 1.387 MB / 0.6406 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.6506, allocations: 24.25 kB / 0.6406 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.6507, allocations: 4 kB / 0.6406 GB, free: 15.72 MB / 0.4981 GB 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.0001758/0.6508, allocations: 161.7 kB / 0.6408 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.351e-05/0.6509, allocations: 31.62 kB / 0.6408 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007982/0.6517, allocations: 0.6055 MB / 0.6414 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.6517, allocations: 3.984 kB / 0.6414 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.6517, allocations: 3.938 kB / 0.6414 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.6518, allocations: 7.938 kB / 0.6414 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/0.6531, allocations: 1.077 MB / 0.6424 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.6531, allocations: 0 / 0.6424 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/0.6533, allocations: 31.92 kB / 0.6425 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001083/0.6534, allocations: 24.84 kB / 0.6425 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.6534, allocations: 0 / 0.6425 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001104/0.6546, allocations: 1.379 MB / 0.6438 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.6546, allocations: 8.094 kB / 0.6439 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008224/0.6554, allocations: 0.6452 MB / 0.6445 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.6555, allocations: 128.5 kB / 0.6446 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.302e-05/0.6556, allocations: 7.938 kB / 0.6446 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.6558, allocations: 4 kB / 0.6446 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.487e-05/0.6558, allocations: 15.98 kB / 0.6446 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.6558, allocations: 4 kB / 0.6446 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002754/0.6561, allocations: 259.2 kB / 0.6449 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6561, allocations: 3.938 kB / 0.6449 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005198/0.6613, allocations: 1.257 MB / 0.6461 GB, free: 9.82 MB / 0.4981 GB 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.008207/0.6696, allocations: 1.414 MB / 0.6475 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000742/0.6703, allocations: 302.4 kB / 0.6478 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.6703, allocations: 0 / 0.6478 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002917/0.6706, allocations: 246.6 kB / 0.648 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.6718, allocations: 169.5 kB / 0.6482 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.6734, allocations: 0.9419 MB / 0.6491 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.6738, allocations: 0.8076 MB / 0.6499 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001933/0.674, allocations: 70.91 kB / 0.65 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.674e-05/0.674, allocations: 27.44 kB / 0.65 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.6741, allocations: 4 kB / 0.65 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of Templates: time 0.06537/0.7394, allocations: 49.1 MB / 0.6979 GB, free: 4.598 MB / 0.545 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestST2.makefile (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)