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.001071/0.001071, allocations: 114.5 kB / 17.69 MB, free: 5.312 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.001018/0.001018, allocations: 191 kB / 18.63 MB, free: 4.379 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.29/1.29, allocations: 205.1 MB / 224.5 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2626/0.2626, allocations: 48.83 MB / 320.7 MB, free: 11.04 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.001505/0.001505, allocations: 72.75 kB / 391.5 MB, free: 48.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08338/0.0849, allocations: 59.16 MB / 450.7 MB, free: 9.051 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.03852/0.1235, allocations: 37.11 MB / 487.8 MB, free: 3.805 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01781/0.1413, allocations: 14.82 MB / 0.4908 GB, free: 4.938 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003147/0.1416, allocations: 11.94 kB / 0.4908 GB, free: 4.926 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005138/0.1422, allocations: 146.9 kB / 0.491 GB, free: 4.781 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004521/0.1427, allocations: 210.5 kB / 0.4912 GB, free: 4.574 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01468/0.1574, allocations: 6.492 MB / 0.4975 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007776/0.1582, allocations: 0.5947 MB / 0.4981 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003844/0.1586, allocations: 221.6 kB / 0.4983 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003553/0.1589, allocations: 223.1 kB / 0.4985 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002983/0.1592, allocations: 215 kB / 0.4987 GB, free: 12.81 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.28e-05/0.1593, allocations: 31.94 kB / 0.4988 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01537/0.1747, allocations: 8.915 MB / 0.5075 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.1748, allocations: 63.77 kB / 0.5075 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002595/0.1751, allocations: 195 kB / 0.5077 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01022/0.1853, allocations: 5.142 MB / 0.5127 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1853, allocations: 0 / 0.5127 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.1853, allocations: 4 kB / 0.5127 GB, free: 14.44 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.712e-05/0.1854, allocations: 0 / 0.5127 GB, free: 14.44 MB / 414.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.003422/0.1888, allocations: 1.224 MB / 0.5139 GB, free: 13.17 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.1888, allocations: 15.89 kB / 0.514 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002399/0.1891, allocations: 60.45 kB / 0.514 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004945/0.1896, allocations: 327.3 kB / 0.5143 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.1896, allocations: 20.94 kB / 0.5143 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.72e-05/0.1897, allocations: 40.02 kB / 0.5144 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006126/0.1903, allocations: 322.2 kB / 0.5147 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.1903, allocations: 3.938 kB / 0.5147 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.1904, allocations: 12 kB / 0.5147 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.1904, allocations: 8 kB / 0.5147 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004939/0.1909, allocations: 206 kB / 0.5149 GB, free: 12.12 MB / 414.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.001924/0.1928, allocations: 1.474 MB / 0.5164 GB, free: 10.51 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000518/0.1934, allocations: 186.6 kB / 0.5165 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.1935, allocations: 52.84 kB / 0.5166 GB, free: 10.26 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2589/0.4524, allocations: 64.23 MB / 0.5793 GB, free: 40.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.4524, allocations: 32.62 kB / 0.5793 GB, free: 40.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 2.054e-06/0.4524, allocations: 0 / 0.5793 GB, free: 40.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.001114/0.4536, allocations: 409.2 kB / 0.5797 GB, free: 40.03 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.4536, allocations: 51.41 kB / 0.5798 GB, free: 39.97 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003273/0.4539, allocations: 362.9 kB / 0.5801 GB, free: 39.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.454, allocations: 27.7 kB / 0.5801 GB, free: 39.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.4541, allocations: 206.5 kB / 0.5803 GB, free: 39.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/0.4541, allocations: 46.38 kB / 0.5804 GB, free: 39.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.655e-05/0.4542, allocations: 45.7 kB / 0.5804 GB, free: 39.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.313e-05/0.4542, allocations: 346.8 kB / 0.5808 GB, free: 39.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.264e-05/0.4543, allocations: 43.98 kB / 0.5808 GB, free: 39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.806e-05/0.4544, allocations: 102.7 kB / 0.5809 GB, free: 38.88 MB / 414.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.0008045/0.4553, allocations: 372.3 kB / 0.5813 GB, free: 38.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.4553, allocations: 0 / 0.5813 GB, free: 38.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003607/0.4556, allocations: 231.1 kB / 0.5815 GB, free: 38.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.4557, allocations: 8 kB / 0.5815 GB, free: 38.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.4557, allocations: 0 / 0.5815 GB, free: 38.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001165/0.4558, allocations: 29.56 kB / 0.5815 GB, free: 38.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/0.456, allocations: 48.38 kB / 0.5816 GB, free: 38.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007526/0.4567, allocations: 1.389 MB / 0.5829 GB, free: 36.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.4569, allocations: 27.53 kB / 0.5829 GB, free: 36.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.457, allocations: 12.16 kB / 0.583 GB, free: 36.62 MB / 414.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.0001178/0.4571, allocations: 143.1 kB / 0.5831 GB, free: 36.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.617e-05/0.4572, allocations: 31.62 kB / 0.5831 GB, free: 36.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006066/0.4578, allocations: 0.6033 MB / 0.5837 GB, free: 35.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.4578, allocations: 11.98 kB / 0.5837 GB, free: 35.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.4578, allocations: 0 / 0.5837 GB, free: 35.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.4578, allocations: 10.56 kB / 0.5837 GB, free: 35.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009327/0.4587, allocations: 1.069 MB / 0.5848 GB, free: 34.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.4588, allocations: 4 kB / 0.5848 GB, free: 34.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.4589, allocations: 31.98 kB / 0.5848 GB, free: 34.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.433e-05/0.459, allocations: 22.34 kB / 0.5848 GB, free: 34.63 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.459, allocations: 8.031 kB / 0.5848 GB, free: 34.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000583/0.4596, allocations: 1.376 MB / 0.5862 GB, free: 33.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.4596, allocations: 0 / 0.5862 GB, free: 33.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005611/0.4602, allocations: 0.6492 MB / 0.5868 GB, free: 32.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.104e-05/0.4603, allocations: 128.5 kB / 0.5869 GB, free: 32.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.143e-05/0.4603, allocations: 12 kB / 0.587 GB, free: 32.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.4605, allocations: 3.984 kB / 0.587 GB, free: 32.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.4606, allocations: 15.98 kB / 0.587 GB, free: 32.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.4606, allocations: 4.812 kB / 0.587 GB, free: 32.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001955/0.4608, allocations: 255.2 kB / 0.5872 GB, free: 32.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.4608, allocations: 0 / 0.5872 GB, free: 32.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002593/0.4634, allocations: 1.254 MB / 0.5884 GB, free: 30.87 MB / 414.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.005203/0.4686, allocations: 1.42 MB / 0.5898 GB, free: 29.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004754/0.4691, allocations: 304.7 kB / 0.5901 GB, free: 29.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4691, allocations: 0 / 0.5901 GB, free: 29.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002077/0.4693, allocations: 252.8 kB / 0.5904 GB, free: 29.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008601/0.4702, allocations: 167.1 kB / 0.5905 GB, free: 28.94 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.4714, allocations: 0.9495 MB / 0.5914 GB, free: 27.99 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001691/0.4716, allocations: 0.8114 MB / 0.5922 GB, free: 27.15 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001682/0.4718, allocations: 80.62 kB / 0.5923 GB, free: 27.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.823e-05/0.4718, allocations: 27.44 kB / 0.5923 GB, free: 27.05 MB / 414.1 MB Notification: Performance of SimCode: time 3.6e-07/0.4719, allocations: 0 / 0.5923 GB, free: 27.05 MB / 414.1 MB Notification: Performance of Templates: time 0.05272/0.5246, allocations: 49.03 MB / 0.6402 GB, free: 10.04 MB / 446.1 MB 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 -s gbode -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe 2>&1)