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.001368/0.001368, allocations: 90.12 kB / 16.31 MB, free: 6.461 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.00191/0.001911, allocations: 180 kB / 17.21 MB, free: 6.336 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.538/1.538, allocations: 205.4 MB / 223.4 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3353/0.3353, allocations: 48.77 MB / 320.4 MB, free: 11.24 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.0009652/0.0009653, allocations: 13.31 kB / 391.2 MB, free: 50.29 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.126, allocations: 60.27 MB / 451.4 MB, free: 9.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.03643/0.1625, allocations: 34.53 MB / 486 MB, free: 6.922 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0172/0.1798, allocations: 13.87 MB / 499.8 MB, free: 9.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007054/0.1805, allocations: 7.938 kB / 499.8 MB, free: 9.012 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006377/0.1812, allocations: 111.2 kB / 500 MB, free: 8.902 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005686/0.1817, allocations: 226.5 kB / 0.4885 GB, free: 8.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01627/0.198, allocations: 4.932 MB / 0.4933 GB, free: 3.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008079/0.1988, allocations: 0.6728 MB / 0.4939 GB, free: 3.055 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002975/0.1992, allocations: 173 kB / 0.4941 GB, free: 2.875 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002573/0.1994, allocations: 191.2 kB / 0.4943 GB, free: 2.688 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002545/0.1997, allocations: 207 kB / 0.4945 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.103e-05/0.1997, allocations: 16 kB / 0.4945 GB, free: 2.469 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01471/0.2144, allocations: 8.58 MB / 0.5029 GB, free: 9.879 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.2146, allocations: 51.77 kB / 0.5029 GB, free: 9.828 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001907/0.2148, allocations: 97.52 kB / 0.503 GB, free: 9.727 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007171/0.222, allocations: 3.426 MB / 0.5064 GB, free: 6.293 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.222, allocations: 4 kB / 0.5064 GB, free: 6.289 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.614e-06/0.222, allocations: 0 / 0.5064 GB, free: 6.289 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.222, allocations: 0 / 0.5064 GB, free: 6.289 MB / 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.003779/0.2258, allocations: 1.185 MB / 0.5075 GB, free: 5.055 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.2259, allocations: 8.031 kB / 0.5075 GB, free: 5.047 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002087/0.2261, allocations: 59.52 kB / 0.5076 GB, free: 4.988 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003851/0.2265, allocations: 314.2 kB / 0.5079 GB, free: 4.641 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.2265, allocations: 24.56 kB / 0.5079 GB, free: 4.617 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.768e-05/0.2266, allocations: 31.98 kB / 0.5079 GB, free: 4.586 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006137/0.2272, allocations: 318.2 kB / 0.5082 GB, free: 4.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.2272, allocations: 4 kB / 0.5082 GB, free: 4.246 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.2273, allocations: 8 kB / 0.5082 GB, free: 4.238 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.2273, allocations: 8 kB / 0.5083 GB, free: 4.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004557/0.2277, allocations: 218 kB / 0.5085 GB, free: 4.02 MB / 398.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.001641/0.2294, allocations: 1.481 MB / 0.5099 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004744/0.2299, allocations: 190.6 kB / 0.5101 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.23, allocations: 52.84 kB / 0.5101 GB, free: 2.152 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3402/0.5702, allocations: 64.59 MB / 0.5732 GB, free: 48.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.5702, allocations: 31.42 kB / 0.5733 GB, free: 48.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 2.424e-06/0.5702, allocations: 0 / 0.5733 GB, free: 48.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.001092/0.5713, allocations: 408.6 kB / 0.5736 GB, free: 48.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.5714, allocations: 51.41 kB / 0.5737 GB, free: 48.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003419/0.5717, allocations: 362 kB / 0.574 GB, free: 47.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.5718, allocations: 29.7 kB / 0.5741 GB, free: 47.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.5719, allocations: 204.5 kB / 0.5743 GB, free: 47.51 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.908e-05/0.5719, allocations: 58.94 kB / 0.5743 GB, free: 47.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.586e-06/0.5719, allocations: 4 kB / 0.5743 GB, free: 47.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.694e-05/0.572, allocations: 342.8 kB / 0.5746 GB, free: 47.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.783e-05/0.5721, allocations: 47.97 kB / 0.5747 GB, free: 47.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.5722, allocations: 99.78 kB / 0.5748 GB, free: 46.95 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.000639/0.5729, allocations: 235.5 kB / 0.575 GB, free: 46.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.5729, allocations: 0 / 0.575 GB, free: 46.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003596/0.5732, allocations: 236.9 kB / 0.5752 GB, free: 46.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.5733, allocations: 8 kB / 0.5752 GB, free: 46.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.5733, allocations: 0 / 0.5752 GB, free: 46.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001199/0.5734, allocations: 24.84 kB / 0.5753 GB, free: 46.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.5736, allocations: 56.12 kB / 0.5753 GB, free: 46.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007181/0.5743, allocations: 1.288 MB / 0.5766 GB, free: 44.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.5745, allocations: 29.62 kB / 0.5766 GB, free: 44.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.5745, allocations: 8 kB / 0.5766 GB, free: 44.92 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 sytem: 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001541/0.5747, allocations: 148.5 kB / 0.5768 GB, free: 44.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.732e-05/0.5748, allocations: 35.53 kB / 0.5768 GB, free: 44.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006159/0.5754, allocations: 0.6052 MB / 0.5774 GB, free: 44.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.986e-06/0.5754, allocations: 11.98 kB / 0.5774 GB, free: 44.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.093e-06/0.5754, allocations: 0 / 0.5774 GB, free: 44.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.5754, allocations: 0 / 0.5774 GB, free: 44.1 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009667/0.5764, allocations: 1.07 MB / 0.5784 GB, free: 42.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.5764, allocations: 4 kB / 0.5784 GB, free: 42.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.5766, allocations: 39.94 kB / 0.5785 GB, free: 42.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.609e-05/0.5766, allocations: 24.84 kB / 0.5785 GB, free: 42.9 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.5767, allocations: 13.64 kB / 0.5785 GB, free: 42.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000583/0.5773, allocations: 1.273 MB / 0.5798 GB, free: 41.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5773, allocations: 0 / 0.5798 GB, free: 41.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005613/0.5778, allocations: 0.6635 MB / 0.5804 GB, free: 40.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.676e-05/0.5779, allocations: 127.6 kB / 0.5805 GB, free: 40.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.658e-05/0.578, allocations: 7.938 kB / 0.5805 GB, free: 40.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.5781, allocations: 11.98 kB / 0.5805 GB, free: 40.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.57e-05/0.5782, allocations: 15.98 kB / 0.5806 GB, free: 40.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.5782, allocations: 10.44 kB / 0.5806 GB, free: 40.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001878/0.5784, allocations: 255.2 kB / 0.5808 GB, free: 40.37 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5784, allocations: 0 / 0.5808 GB, free: 40.37 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003388/0.5818, allocations: 1.264 MB / 0.5821 GB, free: 39.21 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005265/0.5871, allocations: 1.398 MB / 0.5834 GB, free: 37.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006514/0.5877, allocations: 310.8 kB / 0.5837 GB, free: 37.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.5878, allocations: 0 / 0.5837 GB, free: 37.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002303/0.588, allocations: 258.4 kB / 0.584 GB, free: 37.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.589, allocations: 167.5 kB / 0.5841 GB, free: 37.22 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.5904, allocations: 1.147 MB / 0.5852 GB, free: 36.06 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001862/0.5906, allocations: 0.8076 MB / 0.586 GB, free: 35.22 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001944/0.5908, allocations: 75.75 kB / 0.5861 GB, free: 35.15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.036e-05/0.5909, allocations: 27.44 kB / 0.5861 GB, free: 35.12 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5909, allocations: 0 / 0.5861 GB, free: 35.12 MB / 414.1 MB Notification: Performance of Templates: time 0.05377/0.6446, allocations: 49.71 MB / 0.6347 GB, free: 1.371 MB / 430.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestST2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: