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.001372/0.001373, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.00147/0.00147, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.362/1.362, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2736/0.2736, allocations: 48.84 MB / 319.9 MB, free: 11.09 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.001492/0.001492, allocations: 66.44 kB / 390.1 MB, free: 48.87 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09141/0.09291, allocations: 59.17 MB / 449.3 MB, free: 9.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.0375/0.1305, allocations: 37.1 MB / 486.4 MB, free: 4.512 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01858/0.1491, allocations: 14.82 MB / 0.4894 GB, free: 5.637 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005003/0.1496, allocations: 7.938 kB / 0.4894 GB, free: 5.629 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006816/0.1504, allocations: 142.9 kB / 0.4896 GB, free: 5.488 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006108/0.1511, allocations: 222.5 kB / 0.4898 GB, free: 5.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01702/0.1681, allocations: 6.492 MB / 0.4961 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008015/0.1689, allocations: 0.5832 MB / 0.4967 GB, free: 14.17 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003927/0.1693, allocations: 217.6 kB / 0.4969 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003676/0.1697, allocations: 223.1 kB / 0.4971 GB, free: 13.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003359/0.1701, allocations: 219 kB / 0.4973 GB, free: 13.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.949e-05/0.1701, allocations: 24 kB / 0.4973 GB, free: 13.49 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01535/0.1855, allocations: 8.705 MB / 0.5058 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.1856, allocations: 75.62 kB / 0.5059 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000263/0.1859, allocations: 187.1 kB / 0.5061 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01044/0.1964, allocations: 5.146 MB / 0.5111 GB, free: 15.36 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.1964, allocations: 0 / 0.5111 GB, free: 15.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1964, allocations: 0 / 0.5111 GB, free: 15.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.521e-05/0.1964, allocations: 0 / 0.5111 GB, free: 15.36 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.003256/0.1997, allocations: 1.235 MB / 0.5123 GB, free: 14.08 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.1997, allocations: 15.89 kB / 0.5123 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002692/0.2, allocations: 56.45 kB / 0.5124 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004176/0.2004, allocations: 323.3 kB / 0.5127 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.2005, allocations: 20.94 kB / 0.5127 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.561e-05/0.2005, allocations: 40.03 kB / 0.5128 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006542/0.2012, allocations: 318.2 kB / 0.5131 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.2012, allocations: 3.938 kB / 0.5131 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.784e-05/0.2013, allocations: 12 kB / 0.5131 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.2013, allocations: 4 kB / 0.5131 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005099/0.2018, allocations: 214 kB / 0.5133 GB, free: 13.04 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.001745/0.2036, allocations: 1.481 MB / 0.5147 GB, free: 11.42 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005268/0.2041, allocations: 186.6 kB / 0.5149 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.2042, allocations: 52.84 kB / 0.515 GB, free: 11.17 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2659/0.4702, allocations: 63.97 MB / 0.5774 GB, free: 41.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.4702, allocations: 31.25 kB / 0.5775 GB, free: 41.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 2.004e-06/0.4702, allocations: 0 / 0.5775 GB, free: 41.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.001069/0.4713, allocations: 400.9 kB / 0.5778 GB, free: 41.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.06e-05/0.4713, allocations: 55.41 kB / 0.5779 GB, free: 41.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003217/0.4717, allocations: 361.7 kB / 0.5782 GB, free: 41.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.4717, allocations: 29.7 kB / 0.5783 GB, free: 41.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.611e-05/0.4718, allocations: 198 kB / 0.5785 GB, free: 40.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.4718, allocations: 52.72 kB / 0.5785 GB, free: 40.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.646e-05/0.4719, allocations: 45.7 kB / 0.5786 GB, free: 40.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.114e-05/0.4719, allocations: 342.8 kB / 0.5789 GB, free: 40.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.367e-05/0.472, allocations: 47.97 kB / 0.5789 GB, free: 40.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.4722, allocations: 98.84 kB / 0.579 GB, free: 40.25 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.0008553/0.473, allocations: 372 kB / 0.5794 GB, free: 39.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.473, allocations: 1.641 kB / 0.5794 GB, free: 39.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000364/0.4734, allocations: 232.7 kB / 0.5796 GB, free: 39.63 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.4734, allocations: 12 kB / 0.5796 GB, free: 39.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.4734, allocations: 3.984 kB / 0.5796 GB, free: 39.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001215/0.4736, allocations: 20.86 kB / 0.5796 GB, free: 39.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.4738, allocations: 47.25 kB / 0.5797 GB, free: 39.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007313/0.4745, allocations: 1.389 MB / 0.581 GB, free: 38.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.4747, allocations: 27.84 kB / 0.5811 GB, free: 38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.4747, allocations: 8 kB / 0.5811 GB, free: 38 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.0001173/0.4748, allocations: 147 kB / 0.5812 GB, free: 37.85 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.395e-05/0.4749, allocations: 33.12 kB / 0.5812 GB, free: 37.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006178/0.4755, allocations: 0.608 MB / 0.5818 GB, free: 37.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.4755, allocations: 7.984 kB / 0.5818 GB, free: 37.19 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.4755, allocations: 0.5469 kB / 0.5818 GB, free: 37.19 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.4755, allocations: 0 / 0.5818 GB, free: 37.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009206/0.4765, allocations: 1.083 MB / 0.5829 GB, free: 36.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.4765, allocations: 4 kB / 0.5829 GB, free: 36.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.4767, allocations: 27.98 kB / 0.5829 GB, free: 36.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.217e-05/0.4767, allocations: 27.14 kB / 0.583 GB, free: 35.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.4768, allocations: 4 kB / 0.583 GB, free: 35.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005727/0.4773, allocations: 1.381 MB / 0.5843 GB, free: 34.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4774, allocations: 160 / 0.5843 GB, free: 34.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005551/0.4779, allocations: 0.6471 MB / 0.5849 GB, free: 33.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.216e-05/0.478, allocations: 132.4 kB / 0.5851 GB, free: 33.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.397e-05/0.478, allocations: 10.31 kB / 0.5851 GB, free: 33.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.4782, allocations: 0 / 0.5851 GB, free: 33.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.387e-05/0.4783, allocations: 22 kB / 0.5851 GB, free: 33.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-06/0.4783, allocations: 5.5 kB / 0.5851 GB, free: 33.63 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001906/0.4785, allocations: 259.2 kB / 0.5854 GB, free: 33.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4785, allocations: 0 / 0.5854 GB, free: 33.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002926/0.4814, allocations: 1.254 MB / 0.5866 GB, free: 32.23 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.005508/0.4869, allocations: 1.415 MB / 0.588 GB, free: 30.99 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005457/0.4875, allocations: 311.2 kB / 0.5883 GB, free: 30.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4875, allocations: 3.844 kB / 0.5883 GB, free: 30.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002004/0.4877, allocations: 246 kB / 0.5885 GB, free: 30.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000929/0.4886, allocations: 172.3 kB / 0.5887 GB, free: 30.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.4898, allocations: 0.9484 MB / 0.5896 GB, free: 29.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00016/0.49, allocations: 0.8153 MB / 0.5904 GB, free: 28.49 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001623/0.4902, allocations: 74.14 kB / 0.5905 GB, free: 28.42 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.067e-05/0.4902, allocations: 31.38 kB / 0.5905 GB, free: 28.39 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4902, allocations: 0 / 0.5905 GB, free: 28.39 MB / 414.1 MB Notification: Performance of Templates: time 0.05054/0.5408, allocations: 49.22 MB / 0.6385 GB, free: 11.16 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 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe 2>&1)