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.001394/0.001394, 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.001608/0.001608, 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.186/1.186, 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.2479/0.2479, allocations: 48.84 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.001487/0.001487, allocations: 65.06 kB / 390.2 MB, free: 48.85 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08057/0.08207, allocations: 59.17 MB / 449.4 MB, free: 9.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.03481/0.1169, allocations: 37.11 MB / 486.5 MB, free: 4.426 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01575/0.1327, allocations: 14.81 MB / 0.4895 GB, free: 5.562 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002531/0.133, allocations: 11.94 kB / 0.4895 GB, free: 5.551 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000451/0.1335, allocations: 150.9 kB / 0.4897 GB, free: 5.402 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000345/0.1339, allocations: 214.5 kB / 0.4899 GB, free: 5.191 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01443/0.1483, allocations: 6.492 MB / 0.4962 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006671/0.149, allocations: 0.5871 MB / 0.4968 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003098/0.1493, allocations: 213.6 kB / 0.497 GB, free: 13.87 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000279/0.1496, allocations: 223.1 kB / 0.4972 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002573/0.1498, allocations: 219 kB / 0.4974 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.303e-05/0.1499, allocations: 28 kB / 0.4974 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01389/0.1638, allocations: 8.701 MB / 0.5059 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.1639, allocations: 75.62 kB / 0.506 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002509/0.1642, allocations: 187.1 kB / 0.5062 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008823/0.173, allocations: 5.15 MB / 0.5112 GB, free: 15.28 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1731, allocations: 0 / 0.5112 GB, free: 15.28 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1731, allocations: 0 / 0.5112 GB, free: 15.28 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.1731, allocations: 0 / 0.5112 GB, free: 15.28 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.002818/0.1759, allocations: 1.239 MB / 0.5124 GB, free: 13.99 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.176, allocations: 11.89 kB / 0.5124 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.79e-05/0.176, allocations: 58.73 kB / 0.5125 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003212/0.1764, allocations: 56.45 kB / 0.5126 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003733/0.1768, allocations: 327.3 kB / 0.5129 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.1768, allocations: 24.94 kB / 0.5129 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.625e-05/0.1768, allocations: 31.84 kB / 0.5129 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006048/0.1774, allocations: 322.2 kB / 0.5132 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.1775, allocations: 0 / 0.5132 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.588e-05/0.1775, allocations: 12 kB / 0.5132 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.1775, allocations: 12 kB / 0.5133 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004809/0.178, allocations: 206 kB / 0.5134 GB, free: 12.89 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.001707/0.1797, allocations: 1.485 MB / 0.5149 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005031/0.1802, allocations: 182.5 kB / 0.5151 GB, free: 11.08 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.1804, allocations: 52.84 kB / 0.5151 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2713/0.4517, allocations: 63.96 MB / 0.5776 GB, free: 41.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.4517, allocations: 37.75 kB / 0.5776 GB, free: 41.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 2.084e-06/0.4517, allocations: 0 / 0.5776 GB, free: 41.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.00108/0.4528, allocations: 395.4 kB / 0.578 GB, free: 41.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.877e-05/0.4529, allocations: 55.41 kB / 0.5781 GB, free: 41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003132/0.4532, allocations: 362.1 kB / 0.5784 GB, free: 40.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.4532, allocations: 31.7 kB / 0.5784 GB, free: 40.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.496e-05/0.4533, allocations: 201.1 kB / 0.5786 GB, free: 40.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.565e-05/0.4533, allocations: 55.11 kB / 0.5787 GB, free: 40.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.229e-05/0.4534, allocations: 46.73 kB / 0.5787 GB, free: 40.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.687e-05/0.4535, allocations: 346.8 kB / 0.579 GB, free: 40.15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.349e-05/0.4536, allocations: 43.98 kB / 0.5791 GB, free: 40.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.856e-05/0.4537, allocations: 98.7 kB / 0.5792 GB, free: 39.98 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.0008093/0.4545, allocations: 380.9 kB / 0.5795 GB, free: 39.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.4545, allocations: 0 / 0.5795 GB, free: 39.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003633/0.4549, allocations: 232 kB / 0.5798 GB, free: 39.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.4549, allocations: 8 kB / 0.5798 GB, free: 39.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.4549, allocations: 0 / 0.5798 GB, free: 39.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001153/0.455, allocations: 24.84 kB / 0.5798 GB, free: 39.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/0.4552, allocations: 50.16 kB / 0.5798 GB, free: 39.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006728/0.4559, allocations: 1.385 MB / 0.5812 GB, free: 37.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001673/0.4561, allocations: 29.56 kB / 0.5812 GB, free: 37.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.4561, allocations: 12 kB / 0.5812 GB, free: 37.72 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.0001119/0.4562, allocations: 137.4 kB / 0.5814 GB, free: 37.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.48e-05/0.4563, allocations: 32.17 kB / 0.5814 GB, free: 37.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000578/0.4569, allocations: 0.6173 MB / 0.582 GB, free: 36.92 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.4569, allocations: 0 / 0.582 GB, free: 36.92 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.4569, allocations: 7.984 kB / 0.582 GB, free: 36.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.4569, allocations: 2.062 kB / 0.582 GB, free: 36.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009243/0.4578, allocations: 1.078 MB / 0.5831 GB, free: 35.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.4578, allocations: 0 / 0.5831 GB, free: 35.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.458, allocations: 33.56 kB / 0.5831 GB, free: 35.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.979e-05/0.4581, allocations: 26.25 kB / 0.5831 GB, free: 35.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.4581, allocations: 8 kB / 0.5831 GB, free: 35.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005463/0.4587, allocations: 1.371 MB / 0.5845 GB, free: 34.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.4587, allocations: 5.062 kB / 0.5845 GB, free: 34.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005521/0.4592, allocations: 0.6453 MB / 0.5851 GB, free: 33.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.072e-05/0.4593, allocations: 128.4 kB / 0.5852 GB, free: 33.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.096e-05/0.4594, allocations: 8 kB / 0.5852 GB, free: 33.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.4595, allocations: 12.05 kB / 0.5852 GB, free: 33.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.4596, allocations: 11.98 kB / 0.5853 GB, free: 33.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.4596, allocations: 4 kB / 0.5853 GB, free: 33.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000188/0.4598, allocations: 259.2 kB / 0.5855 GB, free: 33.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4598, allocations: 0 / 0.5855 GB, free: 33.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003225/0.463, allocations: 1.254 MB / 0.5867 GB, free: 31.96 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.005773/0.4688, allocations: 2.413 MB / 0.5891 GB, free: 29.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004601/0.4693, allocations: 304 kB / 0.5894 GB, free: 29.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4693, allocations: 448 / 0.5894 GB, free: 29.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002099/0.4695, allocations: 254 kB / 0.5896 GB, free: 29.15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008881/0.4704, allocations: 180.8 kB / 0.5898 GB, free: 29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004281/0.4747, allocations: 3.831 MB / 0.5935 GB, free: 25.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001711/0.4749, allocations: 0.8076 MB / 0.5943 GB, free: 24.26 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001737/0.475, allocations: 74.89 kB / 0.5944 GB, free: 24.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.4752, allocations: 143.4 kB / 0.5945 GB, free: 24.05 MB / 414.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4752, allocations: 0 / 0.5945 GB, free: 24.05 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.837/2.312, allocations: 54.11 MB / 0.6474 GB, free: 1.812 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.66/16.97, allocations: 3.938 kB / 0.6474 GB, free: 1.809 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)