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.001292/0.001292, allocations: 106.9 kB / 17.68 MB, free: 5.328 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.001345/0.001345, allocations: 192 kB / 18.62 MB, free: 4.41 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.288/1.288, allocations: 205.1 MB / 224.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2575/0.2575, allocations: 48.85 MB / 320.7 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.001573/0.001573, allocations: 67.81 kB / 391.5 MB, free: 48.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08381/0.08539, allocations: 59.16 MB / 450.7 MB, free: 9.031 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.04341/0.1288, allocations: 44.07 MB / 494.8 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01831/0.1472, allocations: 15.49 MB / 0.4983 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003919/0.1476, allocations: 7.938 kB / 0.4983 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006756/0.1483, allocations: 190.7 kB / 0.4985 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006003/0.149, allocations: 254.3 kB / 0.4987 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01599/0.165, allocations: 6.597 MB / 0.5052 GB, free: 6.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009597/0.1659, allocations: 0.657 MB / 0.5058 GB, free: 5.539 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004802/0.1664, allocations: 254.7 kB / 0.506 GB, free: 5.285 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003878/0.1668, allocations: 247 kB / 0.5063 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003773/0.1672, allocations: 254.8 kB / 0.5065 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.765e-05/0.1673, allocations: 31.98 kB / 0.5065 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01645/0.1837, allocations: 8.997 MB / 0.5153 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.1839, allocations: 75.7 kB / 0.5154 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000333/0.1843, allocations: 218.9 kB / 0.5156 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01114/0.1954, allocations: 5.232 MB / 0.5207 GB, free: 6.223 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.1955, allocations: 4 kB / 0.5207 GB, free: 6.219 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1955, allocations: 0 / 0.5207 GB, free: 6.219 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.77e-05/0.1955, allocations: 0 / 0.5207 GB, free: 6.219 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.003355/0.1989, allocations: 1.29 MB / 0.522 GB, free: 4.875 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.1989, allocations: 11.89 kB / 0.522 GB, free: 4.863 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002906/0.1992, allocations: 68.44 kB / 0.5221 GB, free: 4.797 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000538/0.1997, allocations: 331.3 kB / 0.5224 GB, free: 4.434 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.1998, allocations: 25.03 kB / 0.5224 GB, free: 4.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.813e-05/0.1999, allocations: 36.03 kB / 0.5224 GB, free: 4.375 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008044/0.2007, allocations: 384.2 kB / 0.5228 GB, free: 3.977 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.2007, allocations: 4 kB / 0.5228 GB, free: 3.973 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.2007, allocations: 8 kB / 0.5228 GB, free: 3.965 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.2007, allocations: 8 kB / 0.5228 GB, free: 3.957 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006488/0.2014, allocations: 258 kB / 0.5231 GB, free: 3.707 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.001817/0.2032, allocations: 1.624 MB / 0.5247 GB, free: 1.941 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006598/0.2039, allocations: 206.4 kB / 0.5249 GB, free: 1.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.2041, allocations: 68.77 kB / 0.5249 GB, free: 1.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2624/0.4664, allocations: 64.23 MB / 0.5876 GB, free: 31.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.4665, allocations: 38.55 kB / 0.5877 GB, free: 31.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 2.104e-06/0.4665, allocations: 4 kB / 0.5877 GB, free: 31.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001219/0.4677, allocations: 455 kB / 0.5881 GB, free: 31.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.834e-05/0.4678, allocations: 55.41 kB / 0.5882 GB, free: 31.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003192/0.4681, allocations: 357.7 kB / 0.5885 GB, free: 30.92 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.4681, allocations: 29.7 kB / 0.5885 GB, free: 30.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.75e-05/0.4682, allocations: 215.9 kB / 0.5888 GB, free: 30.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.4683, allocations: 57.56 kB / 0.5888 GB, free: 30.65 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.674e-05/0.4683, allocations: 53.7 kB / 0.5889 GB, free: 30.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.31e-05/0.4684, allocations: 342.8 kB / 0.5892 GB, free: 30.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.4685, allocations: 60.83 kB / 0.5892 GB, free: 30.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.4687, allocations: 122 kB / 0.5894 GB, free: 30.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.4689, allocations: 183.7 kB / 0.5895 GB, free: 29.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.4689, allocations: 0 / 0.5895 GB, free: 29.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005224/0.4694, allocations: 300 kB / 0.5898 GB, free: 29.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.4695, allocations: 8 kB / 0.5898 GB, free: 29.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4695, allocations: 192 / 0.5898 GB, free: 29.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003619/0.4698, allocations: 78.73 kB / 0.5899 GB, free: 29.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.47, allocations: 46.69 kB / 0.5899 GB, free: 29.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001025/0.471, allocations: 2.007 MB / 0.5919 GB, free: 27.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.4712, allocations: 28.38 kB / 0.5919 GB, free: 27.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.4713, allocations: 15.94 kB / 0.5919 GB, free: 27.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001629/0.4714, allocations: 160.1 kB / 0.5921 GB, free: 27.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001102/0.4716, allocations: 108.7 kB / 0.5922 GB, free: 26.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001992/0.4718, allocations: 181.4 kB / 0.5924 GB, free: 26.76 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.312e-06/0.4718, allocations: 0 / 0.5924 GB, free: 26.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0004719/0.4723, allocations: 299.2 kB / 0.5927 GB, free: 26.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.634e-06/0.4723, allocations: 4 kB / 0.5927 GB, free: 26.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.4723, allocations: 7.938 kB / 0.5927 GB, free: 26.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002718/0.4726, allocations: 76.69 kB / 0.5927 GB, free: 26.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.4727, allocations: 47.36 kB / 0.5928 GB, free: 26.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000885/0.4736, allocations: 1.997 MB / 0.5947 GB, free: 24.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.4738, allocations: 19.88 kB / 0.5948 GB, free: 24.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.4738, allocations: 12.66 kB / 0.5948 GB, free: 24.15 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 7.491e-05/0.4739, allocations: 192 kB / 0.595 GB, free: 23.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.429e-05/0.474, allocations: 39.53 kB / 0.595 GB, free: 23.92 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007409/0.4747, allocations: 0.8244 MB / 0.5958 GB, free: 23.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.497e-06/0.4747, allocations: 11.98 kB / 0.5958 GB, free: 23.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.4747, allocations: 0 / 0.5958 GB, free: 23.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.4747, allocations: 10.83 kB / 0.5958 GB, free: 23.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004047/0.4752, allocations: 0.5371 MB / 0.5963 GB, free: 22.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.4752, allocations: 3.938 kB / 0.5964 GB, free: 22.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/0.4754, allocations: 47.97 kB / 0.5964 GB, free: 22.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.322e-05/0.4755, allocations: 25.97 kB / 0.5964 GB, free: 22.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.4755, allocations: 0 / 0.5964 GB, free: 22.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005981/0.4761, allocations: 1.385 MB / 0.5978 GB, free: 20.9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.4761, allocations: 0 / 0.5978 GB, free: 20.9 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006829/0.4768, allocations: 0.8113 MB / 0.5986 GB, free: 20.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.314e-05/0.4769, allocations: 128.5 kB / 0.5987 GB, free: 19.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.151e-05/0.4769, allocations: 8 kB / 0.5987 GB, free: 19.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.4771, allocations: 3.938 kB / 0.5987 GB, free: 19.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.4772, allocations: 19.97 kB / 0.5987 GB, free: 19.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.4772, allocations: 4 kB / 0.5987 GB, free: 19.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001829/0.4774, allocations: 255.2 kB / 0.599 GB, free: 19.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4774, allocations: 0 / 0.599 GB, free: 19.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002701/0.4801, allocations: 1.343 MB / 0.6003 GB, free: 18.4 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.005288/0.4854, allocations: 1.424 MB / 0.6017 GB, free: 17.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009352/0.4863, allocations: 0.5981 MB / 0.6023 GB, free: 16.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4863, allocations: 0 / 0.6023 GB, free: 16.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002646/0.4866, allocations: 317.6 kB / 0.6026 GB, free: 16.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008514/0.4875, allocations: 175.5 kB / 0.6027 GB, free: 16.08 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.489, allocations: 1.137 MB / 0.6038 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001899/0.4892, allocations: 0.8363 MB / 0.6046 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002258/0.4894, allocations: 147.6 kB / 0.6048 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.226e-05/0.4895, allocations: 35.42 kB / 0.6048 GB, free: 13.91 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4895, allocations: 0 / 0.6048 GB, free: 13.91 MB / 414.1 MB Notification: Performance of Templates: time 0.05914/0.5486, allocations: 50.44 MB / 0.6541 GB, free: 11.49 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 -s gbode -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe 2>&1)