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.0006989/0.000699, allocations: 92.3 kB / 16.65 MB, free: 6.535 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.0007468/0.0007468, allocations: 176.3 kB / 17.56 MB, free: 6.18 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.154/1.154, allocations: 205.4 MB / 223.7 MB, free: 12.99 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2375/0.2375, 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.0004646/0.0004646, allocations: 14.44 kB / 391.9 MB, free: 50.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07605/0.07653, allocations: 60.27 MB / 452.2 MB, free: 9.074 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.03269/0.1093, allocations: 37.19 MB / 489.4 MB, free: 3.758 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0173/0.1266, allocations: 16.04 MB / 0.4936 GB, free: 3.668 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004017/0.127, allocations: 7.938 kB / 0.4936 GB, free: 3.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004624/0.1275, allocations: 123.3 kB / 0.4937 GB, free: 3.539 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003807/0.1279, allocations: 202.8 kB / 0.4939 GB, free: 3.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01288/0.1408, allocations: 5.131 MB / 0.4989 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008672/0.1417, allocations: 0.7664 MB / 0.4996 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002709/0.1419, allocations: 181.1 kB / 0.4998 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002456/0.1422, allocations: 195.1 kB / 0.5 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002517/0.1425, allocations: 226.9 kB / 0.5002 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.3e-05/0.1425, allocations: 16 kB / 0.5002 GB, free: 12.81 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01309/0.1556, allocations: 8.837 MB / 0.5089 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.628e-05/0.1557, allocations: 59.64 kB / 0.5089 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002291/0.1559, allocations: 216.6 kB / 0.5091 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007774/0.1637, allocations: 5.126 MB / 0.5141 GB, free: 14.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1638, allocations: 4 kB / 0.5141 GB, free: 14.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1638, allocations: 0 / 0.5141 GB, free: 14.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.1638, allocations: 0 / 0.5141 GB, free: 14.54 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.002618/0.1664, allocations: 1.185 MB / 0.5153 GB, free: 13.31 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.1664, allocations: 8.031 kB / 0.5153 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.93e-05/0.1665, allocations: 58.73 kB / 0.5154 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001888/0.1667, allocations: 64.44 kB / 0.5154 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003605/0.1671, allocations: 315.3 kB / 0.5157 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.1671, allocations: 20.94 kB / 0.5157 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.445e-05/0.1671, allocations: 35.88 kB / 0.5158 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00057/0.1677, allocations: 326.2 kB / 0.5161 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.1677, allocations: 0 / 0.5161 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/0.1678, allocations: 12 kB / 0.5161 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.1678, allocations: 4 kB / 0.5161 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004472/0.1682, allocations: 214 kB / 0.5163 GB, free: 12.2 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.001523/0.1698, allocations: 1.485 MB / 0.5178 GB, free: 10.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004479/0.1702, allocations: 190.6 kB / 0.5179 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.1703, allocations: 56.78 kB / 0.518 GB, free: 10.33 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.257/0.4274, allocations: 64.59 MB / 0.5811 GB, free: 39.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.4274, allocations: 36.19 kB / 0.5811 GB, free: 39.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.763e-06/0.4275, allocations: 0 / 0.5811 GB, free: 39.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009931/0.4285, allocations: 403.8 kB / 0.5815 GB, free: 39.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.779e-05/0.4285, allocations: 52.34 kB / 0.5815 GB, free: 39.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000333/0.4288, allocations: 365.7 kB / 0.5819 GB, free: 38.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.4288, allocations: 27.52 kB / 0.5819 GB, free: 38.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.429, allocations: 209.2 kB / 0.5821 GB, free: 38.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.53e-05/0.429, allocations: 53.56 kB / 0.5822 GB, free: 38.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.429, allocations: 22.97 kB / 0.5822 GB, free: 38.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.047e-05/0.4291, allocations: 348.3 kB / 0.5825 GB, free: 38.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.25e-05/0.4292, allocations: 49.5 kB / 0.5826 GB, free: 38.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.4293, allocations: 106.3 kB / 0.5827 GB, free: 38.26 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.0007611/0.4301, allocations: 371.2 kB / 0.583 GB, free: 37.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.4301, allocations: 1.969 kB / 0.583 GB, free: 37.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003457/0.4304, allocations: 245.6 kB / 0.5833 GB, free: 37.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.4305, allocations: 11.98 kB / 0.5833 GB, free: 37.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.4305, allocations: 0 / 0.5833 GB, free: 37.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001036/0.4306, allocations: 25.08 kB / 0.5833 GB, free: 37.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.4308, allocations: 47.91 kB / 0.5833 GB, free: 37.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006353/0.4314, allocations: 1.286 MB / 0.5846 GB, free: 36.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001811/0.4316, allocations: 31.67 kB / 0.5846 GB, free: 36.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.4316, allocations: 12 kB / 0.5846 GB, free: 36.13 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.0001043/0.4317, allocations: 133.8 kB / 0.5848 GB, free: 35.99 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.958e-05/0.4318, allocations: 43.62 kB / 0.5848 GB, free: 35.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005661/0.4323, allocations: 0.6137 MB / 0.5854 GB, free: 35.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.4324, allocations: 7.984 kB / 0.5854 GB, free: 35.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.4324, allocations: 8.547 kB / 0.5854 GB, free: 35.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.4324, allocations: 3.938 kB / 0.5854 GB, free: 35.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008966/0.4333, allocations: 1.069 MB / 0.5865 GB, free: 34.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/0.4333, allocations: 4.031 kB / 0.5865 GB, free: 34.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.4334, allocations: 35.92 kB / 0.5865 GB, free: 34.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.476e-05/0.4335, allocations: 26.92 kB / 0.5865 GB, free: 34.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.4336, allocations: 4 kB / 0.5865 GB, free: 34.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000528/0.4341, allocations: 1.291 MB / 0.5878 GB, free: 32.69 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4341, allocations: 1.875 kB / 0.5878 GB, free: 32.69 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005464/0.4346, allocations: 0.6611 MB / 0.5884 GB, free: 32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.516e-05/0.4347, allocations: 124.5 kB / 0.5886 GB, free: 31.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.436e-05/0.4348, allocations: 4 kB / 0.5886 GB, free: 31.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.4349, allocations: 12 kB / 0.5886 GB, free: 31.85 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.435, allocations: 19.91 kB / 0.5886 GB, free: 31.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.435, allocations: 4 kB / 0.5886 GB, free: 31.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001781/0.4352, allocations: 259.2 kB / 0.5888 GB, free: 31.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4352, allocations: 0 / 0.5888 GB, free: 31.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00264/0.4378, allocations: 1.261 MB / 0.5901 GB, free: 30.42 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.005689/0.4435, allocations: 2.403 MB / 0.5924 GB, free: 28.17 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000395/0.4439, allocations: 314.8 kB / 0.5927 GB, free: 27.85 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.4439, allocations: 0 / 0.5927 GB, free: 27.85 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001877/0.4441, allocations: 246.6 kB / 0.593 GB, free: 27.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009098/0.445, allocations: 182 kB / 0.5931 GB, free: 27.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004349/0.4494, allocations: 4.059 MB / 0.5971 GB, free: 23.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001736/0.4496, allocations: 0.8076 MB / 0.5979 GB, free: 22.42 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001781/0.4498, allocations: 75.73 kB / 0.598 GB, free: 22.35 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.4499, allocations: 139.4 kB / 0.5981 GB, free: 22.21 MB / 414.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4499, allocations: 0 / 0.5981 GB, free: 22.21 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06863/0.5186, allocations: 53.57 MB / 0.6504 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002063/0.5188, allocations: 215.8 kB / 0.6506 GB, free: 336 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.494/5.013, allocations: 3.938 kB / 0.6506 GB, free: 332 kB / 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)