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.001139/0.001139, allocations: 110.6 kB / 16.62 MB, free: 6.816 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.001147/0.001147, allocations: 185.8 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.329/1.329, allocations: 205.1 MB / 223.4 MB, free: 12.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2757/0.2757, allocations: 48.82 MB / 319.6 MB, free: 11.27 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.00137/0.00137, allocations: 68.97 kB / 389.6 MB, free: 48.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1034, allocations: 59.16 MB / 448.7 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.03611/0.1396, allocations: 37.22 MB / 485.9 MB, free: 4.762 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01729/0.1569, allocations: 15.01 MB / 0.4892 GB, free: 5.703 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003581/0.1573, allocations: 4 kB / 0.4892 GB, free: 5.699 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004973/0.1578, allocations: 115.3 kB / 0.4893 GB, free: 5.586 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003718/0.1582, allocations: 206.7 kB / 0.4895 GB, free: 5.383 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01569/0.1739, allocations: 5.706 MB / 0.4951 GB, free: 15.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000774/0.1747, allocations: 0.5871 MB / 0.4957 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003392/0.1751, allocations: 221.6 kB / 0.4959 GB, free: 14.85 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002996/0.1754, allocations: 219.1 kB / 0.4961 GB, free: 14.63 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002539/0.1756, allocations: 222.9 kB / 0.4963 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.813e-05/0.1757, allocations: 28 kB / 0.4963 GB, free: 14.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01504/0.1907, allocations: 8.794 MB / 0.5049 GB, free: 5.582 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.1909, allocations: 67.64 kB / 0.505 GB, free: 5.516 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002942/0.1912, allocations: 206.9 kB / 0.5052 GB, free: 5.312 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01261/0.2039, allocations: 5.169 MB / 0.5102 GB, free: 136 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.2039, allocations: 4 kB / 0.5102 GB, free: 132 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.2039, allocations: 0 / 0.5102 GB, free: 132 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.2039, allocations: 0 / 0.5102 GB, free: 132 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.003281/0.2072, allocations: 1.232 MB / 0.5114 GB, free: 14.85 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.2073, allocations: 11.89 kB / 0.5114 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002323/0.2075, allocations: 60.45 kB / 0.5115 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.2079, allocations: 319.3 kB / 0.5118 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.2079, allocations: 20.94 kB / 0.5118 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.149e-05/0.208, allocations: 40.02 kB / 0.5119 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006308/0.2086, allocations: 326.2 kB / 0.5122 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.2086, allocations: 4 kB / 0.5122 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.2087, allocations: 12 kB / 0.5122 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.2087, allocations: 8 kB / 0.5122 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004621/0.2092, allocations: 206 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.001634/0.2108, allocations: 1.474 MB / 0.5138 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005078/0.2113, allocations: 186.6 kB / 0.514 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.2114, allocations: 48.84 kB / 0.5141 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2925/0.5039, allocations: 63.97 MB / 0.5765 GB, free: 42.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.504, allocations: 37.28 kB / 0.5766 GB, free: 42.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 3.827e-06/0.504, allocations: 0 / 0.5766 GB, free: 42.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.00116/0.5052, allocations: 393.8 kB / 0.5769 GB, free: 42.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.5052, allocations: 55.41 kB / 0.577 GB, free: 42.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003279/0.5055, allocations: 357.7 kB / 0.5773 GB, free: 41.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.5056, allocations: 33.7 kB / 0.5774 GB, free: 41.85 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.5057, allocations: 197.1 kB / 0.5776 GB, free: 41.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.024e-05/0.5057, allocations: 57.48 kB / 0.5776 GB, free: 41.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.057e-05/0.5058, allocations: 41.72 kB / 0.5776 GB, free: 41.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.077e-05/0.5059, allocations: 342.8 kB / 0.578 GB, free: 41.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.206e-05/0.506, allocations: 47.97 kB / 0.578 GB, free: 41.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.5061, allocations: 109.9 kB / 0.5781 GB, free: 41.07 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.0008536/0.507, allocations: 361.3 kB / 0.5785 GB, free: 40.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.507, allocations: 4 kB / 0.5785 GB, free: 40.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003574/0.5073, allocations: 234.4 kB / 0.5787 GB, free: 40.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.5074, allocations: 8.219 kB / 0.5787 GB, free: 40.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.5074, allocations: 4 kB / 0.5787 GB, free: 40.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000124/0.5075, allocations: 27.47 kB / 0.5787 GB, free: 40.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.5077, allocations: 43.83 kB / 0.5788 GB, free: 40.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000826/0.5085, allocations: 1.385 MB / 0.5801 GB, free: 38.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/0.5087, allocations: 35.83 kB / 0.5802 GB, free: 38.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.5088, allocations: 12 kB / 0.5802 GB, free: 38.81 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.0001221/0.5089, allocations: 138.6 kB / 0.5803 GB, free: 38.67 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.027e-05/0.5089, allocations: 35.62 kB / 0.5803 GB, free: 38.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005821/0.5095, allocations: 0.6092 MB / 0.5809 GB, free: 38.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.5096, allocations: 8 kB / 0.5809 GB, free: 38.01 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.5096, allocations: 0 / 0.5809 GB, free: 38.01 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.5096, allocations: 3.984 kB / 0.5809 GB, free: 38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009465/0.5105, allocations: 1.075 MB / 0.582 GB, free: 36.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.5105, allocations: 0 / 0.582 GB, free: 36.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.5107, allocations: 35.98 kB / 0.582 GB, free: 36.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.016e-05/0.5108, allocations: 24.12 kB / 0.5821 GB, free: 36.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.5108, allocations: 4 kB / 0.5821 GB, free: 36.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000604/0.5114, allocations: 1.386 MB / 0.5834 GB, free: 35.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.5114, allocations: 0 / 0.5834 GB, free: 35.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005756/0.512, allocations: 0.6463 MB / 0.584 GB, free: 34.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.683e-05/0.5121, allocations: 128.4 kB / 0.5842 GB, free: 34.49 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.998e-05/0.5122, allocations: 4 kB / 0.5842 GB, free: 34.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.5123, allocations: 16.05 kB / 0.5842 GB, free: 34.47 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/0.5124, allocations: 18.3 kB / 0.5842 GB, free: 34.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.5124, allocations: 4 kB / 0.5842 GB, free: 34.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002057/0.5126, allocations: 263.2 kB / 0.5845 GB, free: 34.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5126, allocations: 0 / 0.5845 GB, free: 34.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003767/0.5164, allocations: 1.261 MB / 0.5857 GB, free: 33.04 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.006442/0.5229, allocations: 1.42 MB / 0.5871 GB, free: 31.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006279/0.5235, allocations: 316.3 kB / 0.5874 GB, free: 31.49 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.5235, allocations: 0 / 0.5874 GB, free: 31.49 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002131/0.5238, allocations: 245.9 kB / 0.5876 GB, free: 31.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009903/0.5248, allocations: 171.1 kB / 0.5878 GB, free: 31.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.526, allocations: 1.099 MB / 0.5888 GB, free: 29.99 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001736/0.5262, allocations: 0.8152 MB / 0.5896 GB, free: 29.15 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001806/0.5264, allocations: 76.62 kB / 0.5897 GB, free: 29.08 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.684e-05/0.5265, allocations: 27.44 kB / 0.5897 GB, free: 29.05 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.5265, allocations: 3.938 kB / 0.5897 GB, free: 29.05 MB / 414.1 MB Notification: Performance of Templates: time 0.05208/0.5786, allocations: 49.17 MB / 0.6378 GB, free: 11.86 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)