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: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestST2,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestST2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestST2,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestST2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001081, allocations: 106.8 kB / 16.92 MB, free: 5.773 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.00122/0.00122, allocations: 191.3 kB / 17.85 MB, free: 5.168 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.246/1.246, allocations: 205.1 MB / 223.7 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2443/0.2443, allocations: 48.85 MB / 319.9 MB, free: 11.1 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.001373/0.001373, allocations: 64.97 kB / 390.2 MB, free: 48.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07997/0.08136, allocations: 59.17 MB / 449.4 MB, free: 9.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.03392/0.1153, allocations: 37.1 MB / 486.5 MB, free: 4.438 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01605/0.1314, allocations: 14.82 MB / 0.4895 GB, free: 5.562 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003272/0.1318, allocations: 7.938 kB / 0.4895 GB, free: 5.555 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005195/0.1324, allocations: 146.9 kB / 0.4897 GB, free: 5.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004592/0.1328, allocations: 218.5 kB / 0.4899 GB, free: 5.195 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01543/0.1483, allocations: 6.484 MB / 0.4962 GB, free: 14.69 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007288/0.149, allocations: 0.591 MB / 0.4968 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003593/0.1494, allocations: 217.6 kB / 0.497 GB, free: 13.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003288/0.1497, allocations: 219.1 kB / 0.4972 GB, free: 13.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002841/0.15, allocations: 223 kB / 0.4974 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.444e-05/0.1501, allocations: 24 kB / 0.4974 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01321/0.1633, allocations: 8.705 MB / 0.5059 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.375e-05/0.1634, allocations: 75.62 kB / 0.506 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002191/0.1636, allocations: 187.1 kB / 0.5062 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00844/0.1721, allocations: 5.146 MB / 0.5112 GB, free: 15.29 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1721, allocations: 0 / 0.5112 GB, free: 15.29 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1721, allocations: 4 kB / 0.5112 GB, free: 15.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.1721, allocations: 0 / 0.5112 GB, free: 15.29 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.002764/0.1749, allocations: 1.235 MB / 0.5124 GB, free: 14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.1749, allocations: 11.89 kB / 0.5124 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.543e-05/0.175, allocations: 62.73 kB / 0.5125 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002213/0.1752, allocations: 60.44 kB / 0.5126 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003415/0.1756, allocations: 315.4 kB / 0.5129 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.1756, allocations: 20.94 kB / 0.5129 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.423e-05/0.1756, allocations: 31.84 kB / 0.5129 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005609/0.1762, allocations: 322.2 kB / 0.5132 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.1762, allocations: 7.938 kB / 0.5132 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.1763, allocations: 8 kB / 0.5132 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.1763, allocations: 8 kB / 0.5132 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000452/0.1767, allocations: 210 kB / 0.5134 GB, free: 12.9 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.001529/0.1783, allocations: 1.485 MB / 0.5149 GB, free: 11.28 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004671/0.1787, allocations: 190.5 kB / 0.5151 GB, free: 11.08 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.972e-05/0.1789, allocations: 52.84 kB / 0.5151 GB, free: 11.03 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2972/0.476, allocations: 63.96 MB / 0.5776 GB, free: 41.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.4761, allocations: 34.56 kB / 0.5776 GB, free: 41.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 2.324e-06/0.4761, allocations: 0 / 0.5776 GB, free: 41.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.001276/0.4774, allocations: 402.1 kB / 0.578 GB, free: 41.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.4774, allocations: 51.41 kB / 0.5781 GB, free: 41.06 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004376/0.4779, allocations: 361.1 kB / 0.5784 GB, free: 40.78 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.4779, allocations: 30.36 kB / 0.5784 GB, free: 40.74 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.4781, allocations: 203.2 kB / 0.5786 GB, free: 40.63 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.365e-05/0.4781, allocations: 59.16 kB / 0.5787 GB, free: 40.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.8e-05/0.4782, allocations: 37.72 kB / 0.5787 GB, free: 40.56 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.168e-05/0.4783, allocations: 349.6 kB / 0.579 GB, free: 40.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.4784, allocations: 47.34 kB / 0.5791 GB, free: 40.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.4785, allocations: 108.1 kB / 0.5792 GB, free: 40.05 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.0008803/0.4794, allocations: 366.7 kB / 0.5795 GB, free: 39.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.4794, allocations: 4 kB / 0.5795 GB, free: 39.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004021/0.4798, allocations: 236 kB / 0.5798 GB, free: 39.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.4798, allocations: 4 kB / 0.5798 GB, free: 39.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.4798, allocations: 4 kB / 0.5798 GB, free: 39.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001373/0.48, allocations: 29.06 kB / 0.5798 GB, free: 39.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.4802, allocations: 46.14 kB / 0.5799 GB, free: 39.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007504/0.4809, allocations: 1.384 MB / 0.5812 GB, free: 37.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.4811, allocations: 27.7 kB / 0.5812 GB, free: 37.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.4812, allocations: 12 kB / 0.5812 GB, free: 37.8 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.0001285/0.4813, allocations: 145.6 kB / 0.5814 GB, free: 37.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.862e-05/0.4814, allocations: 31.62 kB / 0.5814 GB, free: 37.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006379/0.482, allocations: 0.6056 MB / 0.582 GB, free: 37.01 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.482, allocations: 11.98 kB / 0.582 GB, free: 37 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.482, allocations: 2.438 kB / 0.582 GB, free: 37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.4821, allocations: 0 / 0.582 GB, free: 37 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009744/0.483, allocations: 1.069 MB / 0.5831 GB, free: 35.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.4831, allocations: 0 / 0.5831 GB, free: 35.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.4832, allocations: 37.86 kB / 0.5831 GB, free: 35.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.268e-05/0.4833, allocations: 30.19 kB / 0.5831 GB, free: 35.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.4834, allocations: 0 / 0.5831 GB, free: 35.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006039/0.484, allocations: 1.376 MB / 0.5845 GB, free: 34.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.484, allocations: 0 / 0.5845 GB, free: 34.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005939/0.4846, allocations: 0.6565 MB / 0.5851 GB, free: 33.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.417e-05/0.4847, allocations: 124.5 kB / 0.5852 GB, free: 33.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.29e-05/0.4847, allocations: 4 kB / 0.5852 GB, free: 33.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.4849, allocations: 7.5 kB / 0.5852 GB, free: 33.47 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.379e-05/0.4849, allocations: 18.19 kB / 0.5853 GB, free: 33.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.306e-05/0.485, allocations: 4 kB / 0.5853 GB, free: 33.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002062/0.4852, allocations: 262.9 kB / 0.5855 GB, free: 33.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4852, allocations: 5.859 kB / 0.5855 GB, free: 33.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003279/0.4885, allocations: 1.261 MB / 0.5867 GB, free: 32.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.006591/0.4951, allocations: 2.394 MB / 0.5891 GB, free: 29.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005547/0.4957, allocations: 306.5 kB / 0.5894 GB, free: 29.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4957, allocations: 0 / 0.5894 GB, free: 29.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002249/0.4959, allocations: 247.4 kB / 0.5896 GB, free: 29.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009705/0.4969, allocations: 175.2 kB / 0.5898 GB, free: 29.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005138/0.502, allocations: 3.837 MB / 0.5935 GB, free: 25.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.5023, allocations: 0.8116 MB / 0.5943 GB, free: 24.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001867/0.5025, allocations: 75.73 kB / 0.5944 GB, free: 24.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.5026, allocations: 143.4 kB / 0.5945 GB, free: 24.11 MB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.5026, allocations: 0 / 0.5945 GB, free: 24.11 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08838/0.591, allocations: 54.1 MB / 0.6474 GB, free: 1.875 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.16, allocations: 3.984 kB / 0.6474 GB, free: 1.871 MB / 446.1 MB (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 & python3 -m fmpy simulate --output-file ThermoPower_ThermoPower.Test.WaterComponents.TestST2_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ThermoPower_ThermoPower_Test_WaterComponents_TestST2.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe 2>&1)