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.0009807/0.0009872, allocations: 90.53 kB / 16.65 MB, free: 6.59 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.001365/0.001364, allocations: 181.3 kB / 17.56 MB, free: 6.203 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.403/1.403, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2704/0.2704, allocations: 48.78 MB / 320.8 MB, free: 11.11 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.0005119/0.0005121, allocations: 14.16 kB / 391.8 MB, free: 50.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1029, allocations: 60.27 MB / 452.1 MB, free: 9.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.04019/0.1432, allocations: 37.18 MB / 489.3 MB, free: 3.871 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01974/0.1629, allocations: 16.04 MB / 0.4935 GB, free: 3.781 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004771/0.1635, allocations: 11.94 kB / 0.4935 GB, free: 3.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005568/0.164, allocations: 123.2 kB / 0.4936 GB, free: 3.648 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000666/0.1647, allocations: 198.7 kB / 0.4938 GB, free: 3.453 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01731/0.182, allocations: 5.131 MB / 0.4988 GB, free: 14.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009535/0.183, allocations: 0.7626 MB / 0.4995 GB, free: 13.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003366/0.1834, allocations: 189.1 kB / 0.4997 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002965/0.1837, allocations: 203.1 kB / 0.4999 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002767/0.184, allocations: 215 kB / 0.5001 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.416e-05/0.184, allocations: 16 kB / 0.5001 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01634/0.2003, allocations: 8.837 MB / 0.5088 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.2005, allocations: 55.7 kB / 0.5088 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003283/0.2009, allocations: 212.7 kB / 0.509 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01306/0.2139, allocations: 5.138 MB / 0.514 GB, free: 14.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.214, allocations: 0 / 0.514 GB, free: 14.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.214, allocations: 0 / 0.514 GB, free: 14.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.214, allocations: 0 / 0.514 GB, free: 14.66 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.003898/0.2179, allocations: 1.177 MB / 0.5152 GB, free: 13.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.218, allocations: 8.031 kB / 0.5152 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002974/0.2183, allocations: 68.38 kB / 0.5153 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004735/0.2188, allocations: 323.2 kB / 0.5156 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.2188, allocations: 20.94 kB / 0.5156 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.884e-05/0.2189, allocations: 28.12 kB / 0.5156 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007072/0.2196, allocations: 326.2 kB / 0.5159 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.2197, allocations: 0 / 0.5159 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.161e-05/0.2197, allocations: 12 kB / 0.5159 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.2197, allocations: 7.938 kB / 0.5159 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005498/0.2203, allocations: 214 kB / 0.5162 GB, free: 12.38 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.002108/0.2224, allocations: 1.489 MB / 0.5176 GB, free: 10.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000547/0.223, allocations: 190.5 kB / 0.5178 GB, free: 10.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.2231, allocations: 56.83 kB / 0.5178 GB, free: 10.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3353/0.5584, allocations: 64.58 MB / 0.5809 GB, free: 40.42 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.5585, allocations: 34.56 kB / 0.5809 GB, free: 40.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 3.326e-06/0.5585, allocations: 0 / 0.5809 GB, free: 40.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.001177/0.5597, allocations: 407.6 kB / 0.5813 GB, free: 39.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.5597, allocations: 51.41 kB / 0.5814 GB, free: 39.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003395/0.5601, allocations: 357.7 kB / 0.5817 GB, free: 39.56 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.5601, allocations: 37.7 kB / 0.5818 GB, free: 39.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.5603, allocations: 204.2 kB / 0.5819 GB, free: 39.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.279e-05/0.5603, allocations: 54.14 kB / 0.582 GB, free: 39.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.5604, allocations: 21.72 kB / 0.582 GB, free: 39.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.833e-05/0.5604, allocations: 346.8 kB / 0.5824 GB, free: 38.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.5606, allocations: 47.97 kB / 0.5824 GB, free: 38.87 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.5607, allocations: 109.2 kB / 0.5825 GB, free: 38.75 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.0008992/0.5616, allocations: 374 kB / 0.5829 GB, free: 38.35 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.5616, allocations: 4 kB / 0.5829 GB, free: 38.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003715/0.562, allocations: 238.7 kB / 0.5831 GB, free: 38.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.562, allocations: 7.984 kB / 0.5831 GB, free: 38.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.5621, allocations: 6.906 kB / 0.5831 GB, free: 38.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001301/0.5622, allocations: 20.86 kB / 0.5831 GB, free: 38.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.5624, allocations: 55.84 kB / 0.5832 GB, free: 38.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007528/0.5631, allocations: 1.289 MB / 0.5844 GB, free: 36.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.5633, allocations: 35.89 kB / 0.5845 GB, free: 36.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.5634, allocations: 8 kB / 0.5845 GB, free: 36.55 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 (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.0001305/0.5635, allocations: 141.7 kB / 0.5846 GB, free: 36.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.432e-05/0.5636, allocations: 35.53 kB / 0.5846 GB, free: 36.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006441/0.5642, allocations: 0.609 MB / 0.5852 GB, free: 35.74 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.5642, allocations: 3.984 kB / 0.5852 GB, free: 35.74 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.5643, allocations: 1.031 kB / 0.5852 GB, free: 35.74 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.5643, allocations: 7.938 kB / 0.5853 GB, free: 35.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.5654, allocations: 1.082 MB / 0.5863 GB, free: 34.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.5654, allocations: 2.062 kB / 0.5863 GB, free: 34.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.5655, allocations: 35.92 kB / 0.5863 GB, free: 34.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.519e-05/0.5656, allocations: 27.41 kB / 0.5864 GB, free: 34.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.5657, allocations: 8 kB / 0.5864 GB, free: 34.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006041/0.5663, allocations: 1.284 MB / 0.5876 GB, free: 33.1 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.5663, allocations: 0 / 0.5876 GB, free: 33.1 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006077/0.5669, allocations: 0.657 MB / 0.5883 GB, free: 32.42 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.035e-05/0.567, allocations: 124.6 kB / 0.5884 GB, free: 32.28 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.824e-05/0.567, allocations: 7 kB / 0.5884 GB, free: 32.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.5672, allocations: 10.81 kB / 0.5884 GB, free: 32.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.723e-05/0.5673, allocations: 23.91 kB / 0.5884 GB, free: 32.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.5673, allocations: 4 kB / 0.5884 GB, free: 32.24 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001961/0.5675, allocations: 255.2 kB / 0.5887 GB, free: 32 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5675, allocations: 0 / 0.5887 GB, free: 32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00304/0.5705, allocations: 1.27 MB / 0.5899 GB, free: 30.83 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.004991/0.5755, allocations: 1.404 MB / 0.5913 GB, free: 29.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005701/0.5761, allocations: 310 kB / 0.5916 GB, free: 29.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5761, allocations: 0 / 0.5916 GB, free: 29.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003191/0.5765, allocations: 262.9 kB / 0.5918 GB, free: 28.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.5776, allocations: 166.2 kB / 0.592 GB, free: 28.83 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.579, allocations: 1.173 MB / 0.5931 GB, free: 27.64 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.5793, allocations: 0.8155 MB / 0.5939 GB, free: 26.8 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002019/0.5795, allocations: 78.97 kB / 0.594 GB, free: 26.72 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.406e-05/0.5796, allocations: 27.44 kB / 0.594 GB, free: 26.69 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.5796, allocations: 0 / 0.594 GB, free: 26.69 MB / 414.1 MB Notification: Performance of Templates: time 0.06013/0.6397, allocations: 48.85 MB / 0.6418 GB, free: 9.82 MB / 446.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: