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.001123/0.001123, allocations: 115 kB / 16.63 MB, free: 6.812 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.001229/0.001229, allocations: 182 kB / 17.55 MB, free: 5.934 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.428/1.428, allocations: 205.1 MB / 223.4 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2685/0.2685, allocations: 48.85 MB / 319.6 MB, free: 11.26 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.001545/0.001545, allocations: 67.95 kB / 389.6 MB, free: 49.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1057, allocations: 59.16 MB / 448.7 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.03772/0.1435, allocations: 37.23 MB / 485.9 MB, free: 4.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01879/0.1624, allocations: 15.01 MB / 0.4892 GB, free: 5.715 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003524/0.1628, allocations: 7.938 kB / 0.4892 GB, free: 5.707 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005216/0.1633, allocations: 123.2 kB / 0.4893 GB, free: 5.586 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000396/0.1637, allocations: 202.7 kB / 0.4895 GB, free: 5.387 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01775/0.1815, allocations: 5.71 MB / 0.4951 GB, free: 15.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008481/0.1824, allocations: 0.5871 MB / 0.4957 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003373/0.1827, allocations: 209.6 kB / 0.4959 GB, free: 14.86 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002983/0.183, allocations: 215.1 kB / 0.4961 GB, free: 14.65 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002514/0.1833, allocations: 222.9 kB / 0.4963 GB, free: 14.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.378e-05/0.1833, allocations: 32 kB / 0.4963 GB, free: 14.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01442/0.1978, allocations: 8.798 MB / 0.5049 GB, free: 5.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.1979, allocations: 71.69 kB / 0.505 GB, free: 5.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003161/0.1982, allocations: 195 kB / 0.5052 GB, free: 5.328 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01082/0.2091, allocations: 5.169 MB / 0.5102 GB, free: 152 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.2091, allocations: 0 / 0.5102 GB, free: 152 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.2091, allocations: 0 / 0.5102 GB, free: 152 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.2092, allocations: 0 / 0.5102 GB, free: 152 kB / 398.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.004046/0.2132, allocations: 1.247 MB / 0.5114 GB, free: 14.85 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.2133, allocations: 11.89 kB / 0.5114 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002587/0.2135, allocations: 56.45 kB / 0.5115 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000406/0.214, allocations: 323.3 kB / 0.5118 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.214, allocations: 24.92 kB / 0.5118 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.343e-05/0.214, allocations: 32.03 kB / 0.5119 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006907/0.2147, allocations: 326.2 kB / 0.5122 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.2148, allocations: 3.938 kB / 0.5122 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.024e-05/0.2148, allocations: 12 kB / 0.5122 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.2148, allocations: 8 kB / 0.5122 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004876/0.2153, allocations: 210 kB / 0.5124 GB, free: 13.8 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.001857/0.2172, allocations: 1.47 MB / 0.5138 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000538/0.2177, allocations: 186.5 kB / 0.514 GB, free: 12.01 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.2179, allocations: 56.84 kB / 0.5141 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3029/0.5208, allocations: 63.96 MB / 0.5765 GB, free: 42.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.5208, allocations: 38 kB / 0.5766 GB, free: 42.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 2.705e-06/0.5208, allocations: 0 / 0.5766 GB, free: 42.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.001127/0.522, allocations: 397.9 kB / 0.5769 GB, free: 42.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.015e-05/0.522, allocations: 55.41 kB / 0.577 GB, free: 42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003405/0.5224, allocations: 361.8 kB / 0.5773 GB, free: 41.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.5224, allocations: 28.89 kB / 0.5774 GB, free: 41.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.821e-05/0.5225, allocations: 204.5 kB / 0.5776 GB, free: 41.56 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.748e-05/0.5225, allocations: 51.84 kB / 0.5776 GB, free: 41.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-05/0.5226, allocations: 42.7 kB / 0.5777 GB, free: 41.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.755e-05/0.5227, allocations: 348.9 kB / 0.578 GB, free: 41.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.599e-05/0.5228, allocations: 43.73 kB / 0.578 GB, free: 41.13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.5229, allocations: 102.5 kB / 0.5781 GB, free: 41.02 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.0008635/0.5237, allocations: 369.1 kB / 0.5785 GB, free: 40.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5238, allocations: 0 / 0.5785 GB, free: 40.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000367/0.5241, allocations: 240 kB / 0.5787 GB, free: 40.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.5242, allocations: 4 kB / 0.5787 GB, free: 40.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.5242, allocations: 4 kB / 0.5787 GB, free: 40.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001641/0.5243, allocations: 24.84 kB / 0.5787 GB, free: 40.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.5245, allocations: 50.81 kB / 0.5788 GB, free: 40.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008098/0.5254, allocations: 1.386 MB / 0.5801 GB, free: 38.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/0.5256, allocations: 31.69 kB / 0.5802 GB, free: 38.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.5256, allocations: 8 kB / 0.5802 GB, free: 38.75 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.0001301/0.5257, allocations: 144.2 kB / 0.5803 GB, free: 38.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.564e-05/0.5258, allocations: 33.69 kB / 0.5803 GB, free: 38.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006147/0.5264, allocations: 0.6034 MB / 0.5809 GB, free: 37.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.5265, allocations: 7.984 kB / 0.5809 GB, free: 37.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.5265, allocations: 4 kB / 0.5809 GB, free: 37.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.5265, allocations: 0 / 0.5809 GB, free: 37.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009644/0.5274, allocations: 1.078 MB / 0.582 GB, free: 36.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.5275, allocations: 0 / 0.582 GB, free: 36.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/0.5276, allocations: 37.67 kB / 0.582 GB, free: 36.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.307e-05/0.5277, allocations: 20.84 kB / 0.5821 GB, free: 36.76 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.5277, allocations: 4.031 kB / 0.5821 GB, free: 36.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006276/0.5284, allocations: 1.384 MB / 0.5834 GB, free: 35.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.5284, allocations: 0 / 0.5834 GB, free: 35.24 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005952/0.529, allocations: 0.6537 MB / 0.5841 GB, free: 34.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.194e-05/0.5291, allocations: 124.5 kB / 0.5842 GB, free: 34.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.344e-05/0.5291, allocations: 8 kB / 0.5842 GB, free: 34.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.5293, allocations: 12 kB / 0.5842 GB, free: 34.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.043e-05/0.5294, allocations: 11.97 kB / 0.5842 GB, free: 34.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.719e-06/0.5294, allocations: 7.844 kB / 0.5842 GB, free: 34.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002126/0.5296, allocations: 259.2 kB / 0.5845 GB, free: 34.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5296, allocations: 0 / 0.5845 GB, free: 34.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003409/0.5331, allocations: 1.269 MB / 0.5857 GB, free: 32.98 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.006075/0.5392, allocations: 1.417 MB / 0.5871 GB, free: 31.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008842/0.5401, allocations: 318.8 kB / 0.5874 GB, free: 31.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.5401, allocations: 0 / 0.5874 GB, free: 31.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000276/0.5404, allocations: 252 kB / 0.5876 GB, free: 31.15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.5415, allocations: 173.8 kB / 0.5878 GB, free: 31 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.543, allocations: 1.101 MB / 0.5889 GB, free: 29.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.5432, allocations: 0.8114 MB / 0.5897 GB, free: 29.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002139/0.5435, allocations: 74.89 kB / 0.5897 GB, free: 28.99 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.734e-05/0.5435, allocations: 31.44 kB / 0.5898 GB, free: 28.96 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.5435, allocations: 4 kB / 0.5898 GB, free: 28.96 MB / 414.1 MB Notification: Performance of Templates: time 0.05765/0.6012, allocations: 49.15 MB / 0.6378 GB, free: 11.78 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)