Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestST1.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.TestST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST1") translateModel(ThermoPower.Test.WaterComponents.TestST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 106.1 kB / 16.51 MB, free: 6.707 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.001653/0.001653, allocations: 187.9 kB / 17.42 MB, free: 6.074 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.408/1.408, allocations: 205.1 MB / 223.3 MB, free: 12.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2732/0.2732, allocations: 48.84 MB / 319.5 MB, free: 11.32 MB / 270.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.0013/0.0013, allocations: 67.22 kB / 389.4 MB, free: 49.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08925/0.09056, allocations: 59.16 MB / 448.5 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.04191/0.1325, allocations: 44.98 MB / 493.5 MB, free: 13.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0195/0.1521, allocations: 16.98 MB / 0.4985 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003171/0.1525, allocations: 11.94 kB / 0.4985 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005799/0.1531, allocations: 163.1 kB / 0.4987 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004576/0.1535, allocations: 242.6 kB / 0.4989 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01418/0.1677, allocations: 5.221 MB / 0.504 GB, free: 6.441 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001006/0.1688, allocations: 0.9104 MB / 0.5049 GB, free: 5.527 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003491/0.1691, allocations: 214.6 kB / 0.5051 GB, free: 5.312 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002606/0.1694, allocations: 223 kB / 0.5053 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002679/0.1697, allocations: 254.8 kB / 0.5056 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.114e-05/0.1697, allocations: 24 kB / 0.5056 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01462/0.1844, allocations: 8.931 MB / 0.5143 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.1845, allocations: 67.64 kB / 0.5144 GB, free: 11.81 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002842/0.1848, allocations: 199 kB / 0.5146 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01004/0.1948, allocations: 5.255 MB / 0.5197 GB, free: 6.352 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.1949, allocations: 3.984 kB / 0.5197 GB, free: 6.348 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1949, allocations: 0 / 0.5197 GB, free: 6.348 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.1949, allocations: 0 / 0.5197 GB, free: 6.348 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.003036/0.1979, allocations: 1.294 MB / 0.521 GB, free: 5.004 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.198, allocations: 8.031 kB / 0.521 GB, free: 4.996 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002568/0.1982, allocations: 64.36 kB / 0.521 GB, free: 4.934 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004058/0.1987, allocations: 331.3 kB / 0.5213 GB, free: 4.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.1987, allocations: 29.02 kB / 0.5214 GB, free: 4.539 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.778e-05/0.1988, allocations: 43.97 kB / 0.5214 GB, free: 4.496 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007721/0.1995, allocations: 376.2 kB / 0.5218 GB, free: 4.102 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.1996, allocations: 0 / 0.5218 GB, free: 4.102 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.108e-05/0.1996, allocations: 16 kB / 0.5218 GB, free: 4.086 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.1996, allocations: 8 kB / 0.5218 GB, free: 4.078 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006294/0.2003, allocations: 258 kB / 0.522 GB, free: 3.828 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.001681/0.202, allocations: 1.627 MB / 0.5236 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006556/0.2026, allocations: 206.4 kB / 0.5238 GB, free: 1.848 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.2028, allocations: 68.77 kB / 0.5239 GB, free: 1.777 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2851/0.4879, allocations: 63.96 MB / 0.5864 GB, free: 32.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.488, allocations: 37.06 kB / 0.5864 GB, free: 32.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 2.104e-06/0.488, allocations: 0 / 0.5864 GB, free: 32.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001299/0.4893, allocations: 457.3 kB / 0.5868 GB, free: 31.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.4893, allocations: 57.38 kB / 0.5869 GB, free: 31.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003433/0.4897, allocations: 367.5 kB / 0.5872 GB, free: 31.47 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.4897, allocations: 29.7 kB / 0.5873 GB, free: 31.44 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.4898, allocations: 204.2 kB / 0.5875 GB, free: 31.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.396e-05/0.4899, allocations: 60.27 kB / 0.5875 GB, free: 31.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.174e-05/0.49, allocations: 53.59 kB / 0.5876 GB, free: 31.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.954e-05/0.49, allocations: 342.8 kB / 0.5879 GB, free: 30.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.4902, allocations: 64.83 kB / 0.588 GB, free: 30.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.4903, allocations: 119.8 kB / 0.5881 GB, free: 30.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/0.4906, allocations: 173.6 kB / 0.5882 GB, free: 30.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4906, allocations: 4 kB / 0.5882 GB, free: 30.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005165/0.4911, allocations: 296.8 kB / 0.5885 GB, free: 30.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.4911, allocations: 8 kB / 0.5885 GB, free: 30.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.4911, allocations: 4 kB / 0.5885 GB, free: 30.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003981/0.4916, allocations: 73.66 kB / 0.5886 GB, free: 30.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.4917, allocations: 50.59 kB / 0.5887 GB, free: 30 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001048/0.4928, allocations: 1.903 MB / 0.5905 GB, free: 27.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.493, allocations: 43.8 kB / 0.5906 GB, free: 27.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.4931, allocations: 8.984 kB / 0.5906 GB, free: 27.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001678/0.4932, allocations: 164.1 kB / 0.5907 GB, free: 27.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000114/0.4933, allocations: 103.5 kB / 0.5908 GB, free: 27.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002111/0.4936, allocations: 181.5 kB / 0.591 GB, free: 27.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.182e-06/0.4936, allocations: 4 kB / 0.591 GB, free: 27.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0004618/0.494, allocations: 298.3 kB / 0.5913 GB, free: 27.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.405e-06/0.4941, allocations: 7.125 kB / 0.5913 GB, free: 27.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-06/0.4941, allocations: 4 kB / 0.5913 GB, free: 27.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002715/0.4943, allocations: 80.47 kB / 0.5914 GB, free: 27.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.4945, allocations: 47.34 kB / 0.5914 GB, free: 26.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008786/0.4954, allocations: 1.892 MB / 0.5933 GB, free: 24.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.4956, allocations: 31.86 kB / 0.5933 GB, free: 24.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.4956, allocations: 18.19 kB / 0.5933 GB, free: 24.91 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (ST.fluidState_in.phase,SensT1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 8.148e-05/0.4957, allocations: 195.8 kB / 0.5935 GB, free: 24.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.337e-05/0.4958, allocations: 32.89 kB / 0.5935 GB, free: 24.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007659/0.4965, allocations: 0.8257 MB / 0.5943 GB, free: 23.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.4965, allocations: 11.98 kB / 0.5943 GB, free: 23.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.4966, allocations: 0 / 0.5943 GB, free: 23.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4966, allocations: 7.922 kB / 0.5944 GB, free: 23.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003944/0.497, allocations: 0.5465 MB / 0.5949 GB, free: 23.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.497, allocations: 3.844 kB / 0.5949 GB, free: 23.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002039/0.4972, allocations: 48.94 kB / 0.5949 GB, free: 23.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.137e-05/0.4973, allocations: 22.73 kB / 0.595 GB, free: 23.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.4973, allocations: 3.984 kB / 0.595 GB, free: 23.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005891/0.4979, allocations: 1.284 MB / 0.5962 GB, free: 21.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4979, allocations: 0.875 kB / 0.5962 GB, free: 21.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007437/0.4987, allocations: 0.8094 MB / 0.597 GB, free: 20.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.824e-05/0.4987, allocations: 132.3 kB / 0.5971 GB, free: 20.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.301e-05/0.4988, allocations: 8.688 kB / 0.5971 GB, free: 20.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.499, allocations: 15.98 kB / 0.5972 GB, free: 20.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.782e-05/0.499, allocations: 11.98 kB / 0.5972 GB, free: 20.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.4991, allocations: 4 kB / 0.5972 GB, free: 20.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001976/0.4993, allocations: 265 kB / 0.5974 GB, free: 20.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4993, allocations: 0 / 0.5974 GB, free: 20.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003292/0.5026, allocations: 1.351 MB / 0.5987 GB, free: 19.25 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (ST.P_HP,ST.P_LP,Inertia1.phi,Inertia1.w) * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.004867/0.5074, allocations: 1.42 MB / 0.6001 GB, free: 18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001078/0.5085, allocations: 0.5944 MB / 0.6007 GB, free: 17.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.5086, allocations: 0 / 0.6007 GB, free: 17.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002847/0.5089, allocations: 315.1 kB / 0.601 GB, free: 17.08 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009942/0.5099, allocations: 168.6 kB / 0.6012 GB, free: 16.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/0.5114, allocations: 1.335 MB / 0.6025 GB, free: 15.6 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001736/0.5116, allocations: 0.844 MB / 0.6033 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002273/0.5118, allocations: 149.4 kB / 0.6034 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.198e-05/0.5119, allocations: 31.44 kB / 0.6035 GB, free: 14.56 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.5119, allocations: 0 / 0.6035 GB, free: 14.56 MB / 414.1 MB Notification: Performance of Templates: time 0.05791/0.5698, allocations: 50.21 MB / 0.6525 GB, free: 12.34 MB / 462.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestST1.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestST1.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestST1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe 2>&1)