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.00124/0.00124, allocations: 104 kB / 16.62 MB, free: 6.805 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.00112/0.00112, allocations: 193.9 kB / 17.55 MB, free: 5.953 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.17/1.17, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2331/0.2331, allocations: 48.83 MB / 319.6 MB, free: 11.27 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.001305/0.001306, allocations: 66.64 kB / 389.7 MB, free: 48.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07578/0.0771, allocations: 59.16 MB / 448.8 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.03292/0.1101, allocations: 37.22 MB / 486 MB, free: 4.672 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01521/0.1253, allocations: 15.01 MB / 0.4893 GB, free: 5.613 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003464/0.1257, allocations: 7.938 kB / 0.4893 GB, free: 5.605 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004638/0.1262, allocations: 123.3 kB / 0.4894 GB, free: 5.484 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004255/0.1266, allocations: 198.7 kB / 0.4896 GB, free: 5.289 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01331/0.1399, allocations: 5.71 MB / 0.4952 GB, free: 15.56 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006473/0.1406, allocations: 0.5909 MB / 0.4958 GB, free: 14.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003203/0.1409, allocations: 213.6 kB / 0.496 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003148/0.1413, allocations: 223.1 kB / 0.4962 GB, free: 14.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002778/0.1416, allocations: 223 kB / 0.4964 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.138e-05/0.1416, allocations: 24 kB / 0.4964 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01211/0.1537, allocations: 8.794 MB / 0.505 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.069e-05/0.1538, allocations: 83.62 kB / 0.5051 GB, free: 5.406 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001917/0.154, allocations: 191 kB / 0.5053 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008396/0.1624, allocations: 5.169 MB / 0.5103 GB, free: 40 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1624, allocations: 0 / 0.5103 GB, free: 40 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1625, allocations: 0 / 0.5103 GB, free: 40 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.1625, allocations: 0 / 0.5103 GB, free: 40 kB / 398.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.002846/0.1653, allocations: 1.246 MB / 0.5115 GB, free: 14.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.1654, allocations: 11.89 kB / 0.5115 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.581e-05/0.1654, allocations: 62.72 kB / 0.5116 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002217/0.1657, allocations: 60.45 kB / 0.5117 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/0.166, allocations: 311.4 kB / 0.512 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.1661, allocations: 20.94 kB / 0.512 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.424e-05/0.1661, allocations: 39.72 kB / 0.512 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005835/0.1667, allocations: 326.2 kB / 0.5123 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.1667, allocations: 0 / 0.5123 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.1668, allocations: 12 kB / 0.5123 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.1668, allocations: 8 kB / 0.5124 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004533/0.1672, allocations: 206 kB / 0.5125 GB, free: 13.64 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.00153/0.1688, allocations: 1.485 MB / 0.514 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004691/0.1693, allocations: 178.6 kB / 0.5142 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.1694, allocations: 56.78 kB / 0.5142 GB, free: 11.78 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2537/0.4231, allocations: 63.96 MB / 0.5767 GB, free: 42.26 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.4231, allocations: 38.31 kB / 0.5767 GB, free: 42.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 2.174e-06/0.4231, allocations: 0 / 0.5767 GB, free: 42.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.001104/0.4243, allocations: 392.8 kB / 0.5771 GB, free: 41.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.136e-05/0.4243, allocations: 56.34 kB / 0.5771 GB, free: 41.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003147/0.4246, allocations: 359.1 kB / 0.5775 GB, free: 41.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.4246, allocations: 29.25 kB / 0.5775 GB, free: 41.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.4247, allocations: 208.8 kB / 0.5777 GB, free: 41.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.572e-05/0.4248, allocations: 50.86 kB / 0.5778 GB, free: 41.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-05/0.4249, allocations: 42.38 kB / 0.5778 GB, free: 41.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.941e-05/0.4249, allocations: 342.8 kB / 0.5781 GB, free: 40.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.829e-05/0.425, allocations: 47.97 kB / 0.5782 GB, free: 40.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.465e-05/0.4251, allocations: 104.7 kB / 0.5783 GB, free: 40.77 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.0008584/0.426, allocations: 369.5 kB / 0.5786 GB, free: 40.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.426, allocations: 0 / 0.5786 GB, free: 40.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003548/0.4264, allocations: 239.7 kB / 0.5789 GB, free: 40.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.4264, allocations: 4 kB / 0.5789 GB, free: 40.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.4264, allocations: 0 / 0.5789 GB, free: 40.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001154/0.4265, allocations: 28.84 kB / 0.5789 GB, free: 40.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.4267, allocations: 47.77 kB / 0.5789 GB, free: 40.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006922/0.4274, allocations: 1.388 MB / 0.5803 GB, free: 38.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/0.4276, allocations: 31.67 kB / 0.5803 GB, free: 38.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.4276, allocations: 12 kB / 0.5803 GB, free: 38.51 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.0001166/0.4277, allocations: 140.5 kB / 0.5805 GB, free: 38.37 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.053e-05/0.4278, allocations: 39.61 kB / 0.5805 GB, free: 38.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005623/0.4284, allocations: 0.6068 MB / 0.5811 GB, free: 37.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.4284, allocations: 10.84 kB / 0.5811 GB, free: 37.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.4284, allocations: 4 kB / 0.5811 GB, free: 37.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.4284, allocations: 6.297 kB / 0.5811 GB, free: 37.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008971/0.4293, allocations: 1.068 MB / 0.5822 GB, free: 36.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.4293, allocations: 0 / 0.5822 GB, free: 36.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.4295, allocations: 37.28 kB / 0.5822 GB, free: 36.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.834e-05/0.4296, allocations: 24.89 kB / 0.5822 GB, free: 36.51 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.4296, allocations: 7.984 kB / 0.5822 GB, free: 36.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005515/0.4302, allocations: 1.376 MB / 0.5836 GB, free: 35 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4302, allocations: 1.406 kB / 0.5836 GB, free: 35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005486/0.4307, allocations: 0.6512 MB / 0.5842 GB, free: 34.33 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.66e-05/0.4308, allocations: 124.4 kB / 0.5843 GB, free: 34.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.2e-05/0.4309, allocations: 10.25 kB / 0.5843 GB, free: 34.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.4311, allocations: 11.98 kB / 0.5843 GB, free: 34.17 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/0.4311, allocations: 17.09 kB / 0.5844 GB, free: 34.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.4311, allocations: 4 kB / 0.5844 GB, free: 34.15 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002099/0.4314, allocations: 267.2 kB / 0.5846 GB, free: 33.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4314, allocations: 0 / 0.5846 GB, free: 33.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002623/0.434, allocations: 1.259 MB / 0.5859 GB, free: 32.74 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.006247/0.4402, allocations: 2.405 MB / 0.5882 GB, free: 30.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000464/0.4407, allocations: 311 kB / 0.5885 GB, free: 30.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4407, allocations: 0.8438 kB / 0.5885 GB, free: 30.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002113/0.441, allocations: 247.1 kB / 0.5887 GB, free: 29.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009086/0.4419, allocations: 170.2 kB / 0.5889 GB, free: 29.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004438/0.4463, allocations: 3.986 MB / 0.5928 GB, free: 25.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001729/0.4465, allocations: 0.8115 MB / 0.5936 GB, free: 24.89 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001832/0.4467, allocations: 78.56 kB / 0.5937 GB, free: 24.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.4468, allocations: 139.4 kB / 0.5938 GB, free: 24.68 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.4469, allocations: 0 / 0.5938 GB, free: 24.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07324/0.5201, allocations: 54 MB / 0.6465 GB, free: 2.609 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001664/0.5203, allocations: 204.7 kB / 0.6467 GB, free: 2.355 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.702/5.222, allocations: 0 / 0.6467 GB, free: 2.355 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)