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.001302/0.001302, allocations: 111.8 kB / 17.68 MB, free: 5.355 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.001303/0.001303, allocations: 190.9 kB / 18.62 MB, free: 4.434 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.457/1.457, allocations: 205.1 MB / 224.5 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2726/0.2726, allocations: 48.85 MB / 320.7 MB, free: 11.03 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.001494/0.001494, allocations: 71.14 kB / 391.5 MB, free: 48.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08866/0.09017, allocations: 59.15 MB / 450.7 MB, free: 9.043 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.036/0.1262, allocations: 37.11 MB / 487.8 MB, free: 3.801 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01708/0.1433, allocations: 14.82 MB / 0.4908 GB, free: 4.926 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003467/0.1437, allocations: 11.94 kB / 0.4908 GB, free: 4.914 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005174/0.1443, allocations: 142.9 kB / 0.491 GB, free: 4.773 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004246/0.1448, allocations: 218.5 kB / 0.4912 GB, free: 4.559 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01593/0.1607, allocations: 6.488 MB / 0.4975 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009212/0.1616, allocations: 0.5909 MB / 0.4981 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003669/0.162, allocations: 225.6 kB / 0.4983 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003606/0.1624, allocations: 211.1 kB / 0.4985 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002858/0.1627, allocations: 222.9 kB / 0.4987 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.07e-05/0.1627, allocations: 31.94 kB / 0.4988 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01553/0.1783, allocations: 8.911 MB / 0.5075 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.1784, allocations: 75.64 kB / 0.5075 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002778/0.1787, allocations: 187.1 kB / 0.5077 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01098/0.1897, allocations: 5.142 MB / 0.5127 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.1897, allocations: 4 kB / 0.5127 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1898, allocations: 0 / 0.5127 GB, free: 14.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.1898, allocations: 0 / 0.5127 GB, free: 14.43 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.003198/0.193, allocations: 1.232 MB / 0.5139 GB, free: 13.15 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.193, allocations: 15.89 kB / 0.514 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000233/0.1933, allocations: 56.45 kB / 0.514 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005042/0.1938, allocations: 327.3 kB / 0.5143 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.1938, allocations: 20.94 kB / 0.5143 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.152e-05/0.1939, allocations: 32.03 kB / 0.5144 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006353/0.1945, allocations: 326.2 kB / 0.5147 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.1945, allocations: 0 / 0.5147 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.925e-05/0.1946, allocations: 12 kB / 0.5147 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.1946, allocations: 8 kB / 0.5147 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004964/0.1951, allocations: 206 kB / 0.5149 GB, free: 12.11 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.001736/0.1968, allocations: 1.481 MB / 0.5163 GB, free: 10.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005207/0.1974, allocations: 186.6 kB / 0.5165 GB, free: 10.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.1975, allocations: 52.84 kB / 0.5166 GB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2858/0.4833, allocations: 64.23 MB / 0.5793 GB, free: 40.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.4834, allocations: 34.56 kB / 0.5793 GB, free: 40.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 3.426e-06/0.4834, allocations: 0 / 0.5793 GB, free: 40.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.001122/0.4845, allocations: 403.7 kB / 0.5797 GB, free: 40.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.054e-05/0.4846, allocations: 56.25 kB / 0.5798 GB, free: 39.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003197/0.4849, allocations: 356.3 kB / 0.5801 GB, free: 39.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.4849, allocations: 30.55 kB / 0.5801 GB, free: 39.67 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.485, allocations: 204.7 kB / 0.5803 GB, free: 39.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/0.4851, allocations: 51.98 kB / 0.5804 GB, free: 39.51 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.659e-05/0.4851, allocations: 41.7 kB / 0.5804 GB, free: 39.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.279e-05/0.4852, allocations: 346.8 kB / 0.5808 GB, free: 39.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.391e-05/0.4853, allocations: 47.97 kB / 0.5808 GB, free: 39.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.4854, allocations: 104.9 kB / 0.5809 GB, free: 38.94 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.0008278/0.4863, allocations: 367.2 kB / 0.5812 GB, free: 38.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.4863, allocations: 0 / 0.5812 GB, free: 38.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003523/0.4866, allocations: 237.4 kB / 0.5815 GB, free: 38.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.4867, allocations: 8 kB / 0.5815 GB, free: 38.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.4867, allocations: 3.984 kB / 0.5815 GB, free: 38.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001249/0.4868, allocations: 22.06 kB / 0.5815 GB, free: 38.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.487, allocations: 51.94 kB / 0.5816 GB, free: 38.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007268/0.4877, allocations: 1.389 MB / 0.5829 GB, free: 36.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.4879, allocations: 27.69 kB / 0.5829 GB, free: 36.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.4879, allocations: 8 kB / 0.5829 GB, free: 36.69 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.0001136/0.4881, allocations: 141.7 kB / 0.5831 GB, free: 36.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.324e-05/0.4881, allocations: 33 kB / 0.5831 GB, free: 36.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005899/0.4887, allocations: 0.6082 MB / 0.5837 GB, free: 35.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.4887, allocations: 3.984 kB / 0.5837 GB, free: 35.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.4887, allocations: 6.734 kB / 0.5837 GB, free: 35.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.4888, allocations: 0 / 0.5837 GB, free: 35.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009406/0.4897, allocations: 1.08 MB / 0.5848 GB, free: 34.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.4897, allocations: 0 / 0.5848 GB, free: 34.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.4899, allocations: 32.02 kB / 0.5848 GB, free: 34.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.949e-05/0.49, allocations: 24.84 kB / 0.5848 GB, free: 34.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.49, allocations: 8 kB / 0.5848 GB, free: 34.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005511/0.4905, allocations: 1.375 MB / 0.5862 GB, free: 33.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.4906, allocations: 4.031 kB / 0.5862 GB, free: 33.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005759/0.4911, allocations: 0.6489 MB / 0.5868 GB, free: 32.51 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.217e-05/0.4912, allocations: 128.5 kB / 0.5869 GB, free: 32.37 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.024e-05/0.4913, allocations: 4 kB / 0.5869 GB, free: 32.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.4914, allocations: 8 kB / 0.5869 GB, free: 32.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.548e-05/0.4915, allocations: 7.984 kB / 0.587 GB, free: 32.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.4915, allocations: 8 kB / 0.587 GB, free: 32.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000195/0.4917, allocations: 255.2 kB / 0.5872 GB, free: 32.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4917, allocations: 7.094 kB / 0.5872 GB, free: 32.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002872/0.4946, allocations: 1.261 MB / 0.5884 GB, free: 30.93 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.005049/0.4997, allocations: 1.402 MB / 0.5898 GB, free: 29.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005562/0.5002, allocations: 311.5 kB / 0.5901 GB, free: 29.37 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.5003, allocations: 2.438 kB / 0.5901 GB, free: 29.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002105/0.5005, allocations: 251.7 kB / 0.5904 GB, free: 29.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009034/0.5014, allocations: 170.5 kB / 0.5905 GB, free: 28.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.5027, allocations: 0.9308 MB / 0.5914 GB, free: 28.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.5029, allocations: 0.8153 MB / 0.5922 GB, free: 27.19 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001642/0.503, allocations: 80.69 kB / 0.5923 GB, free: 27.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.699e-05/0.5031, allocations: 27.44 kB / 0.5923 GB, free: 27.09 MB / 414.1 MB Notification: Performance of SimCode: time 2.21e-07/0.5031, allocations: 0 / 0.5923 GB, free: 27.09 MB / 414.1 MB Notification: Performance of Templates: time 0.05395/0.5571, allocations: 49.05 MB / 0.6402 GB, free: 10.07 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 -s cvode -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe 2>&1)