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.001147/0.001147, allocations: 112.2 kB / 16.51 MB, free: 6.707 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.001131/0.001131, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.168/1.168, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2387/0.2387, allocations: 48.84 MB / 319.5 MB, free: 11.31 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.001247/0.001247, allocations: 62.55 kB / 389.5 MB, free: 49.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07598/0.07723, allocations: 59.17 MB / 448.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.033/0.1103, allocations: 38 MB / 486.6 MB, free: 4.012 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01688/0.1272, allocations: 16.32 MB / 0.4912 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002696/0.1275, allocations: 7.938 kB / 0.4912 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004286/0.1279, allocations: 119.3 kB / 0.4913 GB, free: 3.516 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003361/0.1283, allocations: 206.8 kB / 0.4915 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01221/0.1405, allocations: 5.131 MB / 0.4965 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007524/0.1413, allocations: 0.7665 MB / 0.4972 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002697/0.1416, allocations: 185.1 kB / 0.4974 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002433/0.1418, allocations: 207.1 kB / 0.4976 GB, free: 13 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002484/0.1421, allocations: 222.9 kB / 0.4978 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.916e-05/0.1421, allocations: 16 kB / 0.4978 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01313/0.1553, allocations: 8.841 MB / 0.5065 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.747e-05/0.1554, allocations: 63.7 kB / 0.5065 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002386/0.1556, allocations: 187 kB / 0.5067 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008175/0.1638, allocations: 5.158 MB / 0.5118 GB, free: 14.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1638, allocations: 0 / 0.5118 GB, free: 14.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1639, allocations: 0 / 0.5118 GB, free: 14.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.1639, allocations: 3.938 kB / 0.5118 GB, free: 14.5 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.002703/0.1666, allocations: 1.246 MB / 0.513 GB, free: 13.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.1666, allocations: 8.031 kB / 0.513 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.255e-05/0.1667, allocations: 58.73 kB / 0.513 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001974/0.1669, allocations: 60.45 kB / 0.5131 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003303/0.1672, allocations: 319.4 kB / 0.5134 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.1672, allocations: 20.94 kB / 0.5134 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.278e-05/0.1673, allocations: 39.78 kB / 0.5135 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005596/0.1679, allocations: 318.2 kB / 0.5138 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.1679, allocations: 0 / 0.5138 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.1679, allocations: 15.94 kB / 0.5138 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.1679, allocations: 8 kB / 0.5138 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004505/0.1684, allocations: 210 kB / 0.514 GB, free: 12.1 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.001535/0.1699, allocations: 1.477 MB / 0.5154 GB, free: 10.49 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004628/0.1704, allocations: 174.6 kB / 0.5156 GB, free: 10.31 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.1705, allocations: 64.77 kB / 0.5157 GB, free: 10.24 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2424/0.413, allocations: 63.96 MB / 0.5781 GB, free: 40.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.413, allocations: 37.73 kB / 0.5782 GB, free: 40.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.413, allocations: 0 / 0.5782 GB, free: 40.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009617/0.414, allocations: 398.2 kB / 0.5785 GB, free: 40.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.778e-05/0.414, allocations: 51.41 kB / 0.5786 GB, free: 40.26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003002/0.4143, allocations: 364.4 kB / 0.5789 GB, free: 39.97 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.4143, allocations: 33.45 kB / 0.579 GB, free: 39.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.027e-05/0.4144, allocations: 192.8 kB / 0.5791 GB, free: 39.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.4145, allocations: 59.8 kB / 0.5792 GB, free: 39.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.757e-05/0.4145, allocations: 41.28 kB / 0.5792 GB, free: 39.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.821e-05/0.4146, allocations: 342.8 kB / 0.5796 GB, free: 39.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.882e-05/0.4147, allocations: 52.16 kB / 0.5796 GB, free: 39.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.469e-05/0.4148, allocations: 104.3 kB / 0.5797 GB, free: 39.25 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.0007585/0.4155, allocations: 364.3 kB / 0.5801 GB, free: 38.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.4156, allocations: 4 kB / 0.5801 GB, free: 38.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003248/0.4159, allocations: 235.4 kB / 0.5803 GB, free: 38.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.4159, allocations: 8.031 kB / 0.5803 GB, free: 38.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.4159, allocations: 4 kB / 0.5803 GB, free: 38.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001087/0.416, allocations: 24.84 kB / 0.5803 GB, free: 38.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.4162, allocations: 41.2 kB / 0.5804 GB, free: 38.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006154/0.4168, allocations: 1.286 MB / 0.5816 GB, free: 37.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.417, allocations: 35.11 kB / 0.5817 GB, free: 37.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.417, allocations: 8 kB / 0.5817 GB, free: 37.11 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.0001019/0.4171, allocations: 148 kB / 0.5818 GB, free: 36.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.831e-05/0.4172, allocations: 31.62 kB / 0.5818 GB, free: 36.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005535/0.4178, allocations: 0.6043 MB / 0.5824 GB, free: 36.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.4178, allocations: 11.98 kB / 0.5824 GB, free: 36.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.4178, allocations: 2.625 kB / 0.5824 GB, free: 36.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.4178, allocations: 7.875 kB / 0.5824 GB, free: 36.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008636/0.4187, allocations: 1.08 MB / 0.5835 GB, free: 35.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.4187, allocations: 4.031 kB / 0.5835 GB, free: 35.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.4188, allocations: 31.98 kB / 0.5835 GB, free: 35.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.387e-05/0.4189, allocations: 23.42 kB / 0.5836 GB, free: 35.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.4189, allocations: 4.984 kB / 0.5836 GB, free: 35.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004983/0.4194, allocations: 1.286 MB / 0.5848 GB, free: 33.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4194, allocations: 4.031 kB / 0.5848 GB, free: 33.69 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005187/0.42, allocations: 0.6488 MB / 0.5855 GB, free: 33.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.529e-05/0.42, allocations: 128.5 kB / 0.5856 GB, free: 32.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.854e-05/0.4201, allocations: 4 kB / 0.5856 GB, free: 32.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.4202, allocations: 8 kB / 0.5856 GB, free: 32.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.4203, allocations: 22.72 kB / 0.5856 GB, free: 32.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-06/0.4203, allocations: 8 kB / 0.5856 GB, free: 32.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001718/0.4205, allocations: 258.2 kB / 0.5859 GB, free: 32.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4205, allocations: 0 / 0.5859 GB, free: 32.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002542/0.423, allocations: 1.265 MB / 0.5871 GB, free: 31.43 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.004921/0.428, allocations: 2.401 MB / 0.5894 GB, free: 29.19 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003967/0.4284, allocations: 307.3 kB / 0.5897 GB, free: 28.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4284, allocations: 0 / 0.5897 GB, free: 28.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001835/0.4286, allocations: 252.9 kB / 0.59 GB, free: 28.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008395/0.4294, allocations: 166.8 kB / 0.5901 GB, free: 28.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003799/0.4332, allocations: 3.959 MB / 0.594 GB, free: 24.44 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001483/0.4334, allocations: 0.8116 MB / 0.5948 GB, free: 23.6 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00017/0.4336, allocations: 75.22 kB / 0.5949 GB, free: 23.53 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.4337, allocations: 143.4 kB / 0.595 GB, free: 23.39 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4337, allocations: 0 / 0.595 GB, free: 23.39 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06522/0.4989, allocations: 53.68 MB / 0.6474 GB, free: 1.66 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001988/0.4992, allocations: 208.4 kB / 0.6476 GB, free: 1.402 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.613/5.113, allocations: 0 / 0.6476 GB, free: 1.402 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestST2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestST2.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe 2>&1)