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.0009864/0.0009866, allocations: 94.86 kB / 16.3 MB, free: 5.992 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.0009177/0.0009178, allocations: 182.2 kB / 17.19 MB, free: 5.906 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.42/1.42, allocations: 205.4 MB / 223.4 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3875/0.3875, allocations: 48.77 MB / 320.4 MB, free: 3.832 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_fixedstepsize = 1e-005 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "" Warning: Ignoring unknown experiment annotation option: __Dymola_fixedstepsize = 1e-005 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "" 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.000797/0.0007972, allocations: 12 kB / 391.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1492, allocations: 60.26 MB / 451.4 MB, free: 1.918 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.2023/0.3515, allocations: 31.32 MB / 482.7 MB, free: 31.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01413/0.3657, allocations: 12.9 MB / 495.6 MB, free: 22.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004573/0.3662, allocations: 9.062 kB / 495.6 MB, free: 22.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004489/0.3667, allocations: 107 kB / 495.7 MB, free: 22.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004403/0.3671, allocations: 213.6 kB / 495.9 MB, free: 22.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01555/0.3827, allocations: 4.983 MB / 0.4892 GB, free: 19.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006923/0.3834, allocations: 392.7 kB / 0.4896 GB, free: 19.76 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002938/0.3837, allocations: 178.3 kB / 0.4897 GB, free: 19.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002327/0.3839, allocations: 172.8 kB / 0.4899 GB, free: 19.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001972/0.3841, allocations: 174.8 kB / 0.4901 GB, free: 19.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.208e-05/0.3842, allocations: 15.12 kB / 0.4901 GB, free: 19.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01646/0.4007, allocations: 8.763 MB / 0.4986 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.4008, allocations: 57.09 kB / 0.4987 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00023/0.401, allocations: 102.9 kB / 0.4988 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007035/0.4081, allocations: 3.409 MB / 0.5021 GB, free: 13.26 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.4081, allocations: 4 kB / 0.5021 GB, free: 13.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.4081, allocations: 0 / 0.5021 GB, free: 13.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.4082, allocations: 6.125 kB / 0.5021 GB, free: 13.25 MB / 382.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.003938/0.4121, allocations: 1.177 MB / 0.5033 GB, free: 12.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.4121, allocations: 9.938 kB / 0.5033 GB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002423/0.4124, allocations: 55.17 kB / 0.5033 GB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003673/0.4128, allocations: 321.4 kB / 0.5036 GB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.4128, allocations: 20.16 kB / 0.5037 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.067e-05/0.4129, allocations: 24.97 kB / 0.5037 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005843/0.4134, allocations: 320.7 kB / 0.504 GB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.4135, allocations: 3.938 kB / 0.504 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.519e-05/0.4135, allocations: 10.75 kB / 0.504 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.4135, allocations: 10.81 kB / 0.504 GB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004494/0.414, allocations: 211.9 kB / 0.5042 GB, free: 11.71 MB / 382.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.001443/0.4154, allocations: 1.49 MB / 0.5057 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004641/0.4159, allocations: 187.5 kB / 0.5059 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1249/0.5408, allocations: 64.6 MB / 0.5689 GB, free: 2.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.5409, allocations: 38.52 kB / 0.569 GB, free: 2.473 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 2.114e-06/0.5409, allocations: 0 / 0.569 GB, free: 2.473 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.001152/0.542, allocations: 402.9 kB / 0.5694 GB, free: 2.051 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.5421, allocations: 55.41 kB / 0.5694 GB, free: 1.984 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003822/0.5425, allocations: 353.7 kB / 0.5697 GB, free: 1.629 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.5425, allocations: 33.7 kB / 0.5698 GB, free: 1.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.5426, allocations: 200 kB / 0.57 GB, free: 1.391 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.225e-05/0.5427, allocations: 55.2 kB / 0.57 GB, free: 1.336 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.596e-06/0.5427, allocations: 8 kB / 0.57 GB, free: 1.328 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.5428, allocations: 342.8 kB / 0.5704 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.543, allocations: 47.98 kB / 0.5704 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.5431, allocations: 106.8 kB / 0.5705 GB, free: 0.8086 MB / 446.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.0007081/0.5438, allocations: 227.4 kB / 0.5707 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.5438, allocations: 0 / 0.5707 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004157/0.5443, allocations: 245.9 kB / 0.571 GB, free: 328 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.5443, allocations: 8 kB / 0.571 GB, free: 320 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.5443, allocations: 0 / 0.571 GB, free: 320 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001211/0.5444, allocations: 30.84 kB / 0.571 GB, free: 288 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.5446, allocations: 39.92 kB / 0.571 GB, free: 248 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/0.5456, allocations: 1.295 MB / 0.5723 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002244/0.5459, allocations: 43.86 kB / 0.5723 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.5459, allocations: 8 kB / 0.5723 GB, free: 14.77 MB / 462.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001466/0.546, allocations: 141.7 kB / 0.5725 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.408e-05/0.5461, allocations: 39.47 kB / 0.5725 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007695/0.5469, allocations: 0.6099 MB / 0.5731 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.425e-06/0.5469, allocations: 4 kB / 0.5731 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.5469, allocations: 0.5 kB / 0.5731 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.5469, allocations: 3.984 kB / 0.5731 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/0.5483, allocations: 1.073 MB / 0.5742 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.5483, allocations: 4 kB / 0.5742 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/0.5485, allocations: 28.8 kB / 0.5742 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.511e-05/0.5486, allocations: 28.88 kB / 0.5742 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.5486, allocations: 8 kB / 0.5742 GB, free: 12.74 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008688/0.5495, allocations: 1.297 MB / 0.5755 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.5495, allocations: 0 / 0.5755 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007704/0.5503, allocations: 0.6808 MB / 0.5762 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.5504, allocations: 120.6 kB / 0.5763 GB, free: 10.47 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.096e-05/0.5504, allocations: 4 kB / 0.5763 GB, free: 10.47 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.5506, allocations: 11.98 kB / 0.5763 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/0.5507, allocations: 11.98 kB / 0.5763 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.5507, allocations: 4 kB / 0.5763 GB, free: 10.44 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002799/0.551, allocations: 259.2 kB / 0.5766 GB, free: 10.19 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.551, allocations: 0 / 0.5766 GB, free: 10.19 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004857/0.5558, allocations: 1.269 MB / 0.5778 GB, free: 8.922 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009671/0.5656, allocations: 1.404 MB / 0.5792 GB, free: 7.508 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000706/0.5663, allocations: 308.4 kB / 0.5795 GB, free: 7.195 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.5663, allocations: 4 kB / 0.5795 GB, free: 7.191 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002771/0.5666, allocations: 246.6 kB / 0.5797 GB, free: 6.938 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.5676, allocations: 168 kB / 0.5799 GB, free: 6.777 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.5693, allocations: 1.147 MB / 0.581 GB, free: 5.613 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/0.5697, allocations: 0.8193 MB / 0.5818 GB, free: 4.77 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002014/0.5699, allocations: 74.91 kB / 0.5819 GB, free: 4.691 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.345e-05/0.57, allocations: 27.44 kB / 0.5819 GB, free: 4.664 MB / 462.1 MB Notification: Performance of SimCode: time 3.81e-07/0.57, allocations: 0 / 0.5819 GB, free: 4.664 MB / 462.1 MB Notification: Performance of Templates: time 0.06502/0.635, allocations: 49.71 MB / 0.6304 GB, free: 2.934 MB / 0.4981 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestST2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: