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.0008813/0.0008814, allocations: 88.39 kB / 16.31 MB, free: 6.449 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.0009187/0.0009188, allocations: 183.1 kB / 17.21 MB, free: 6.316 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.452/1.452, allocations: 205.4 MB / 223.4 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4065/0.4065, allocations: 48.77 MB / 320.4 MB, free: 3.82 MB / 254.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.0004992/0.0004993, allocations: 15.94 kB / 391.3 MB, free: 14.19 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1138, allocations: 60.26 MB / 451.5 MB, free: 1.789 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.222/0.3359, allocations: 34.52 MB / 486.1 MB, free: 28.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01509/0.351, allocations: 13.88 MB / 499.9 MB, free: 18.74 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005688/0.3516, allocations: 12.59 kB / 500 MB, free: 18.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005386/0.3522, allocations: 106.7 kB / 0.4883 GB, free: 18.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005649/0.3528, allocations: 230.5 kB / 0.4886 GB, free: 18.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01599/0.3688, allocations: 4.93 MB / 0.4934 GB, free: 15.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000824/0.3696, allocations: 0.6714 MB / 0.494 GB, free: 15.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002842/0.3699, allocations: 169 kB / 0.4942 GB, free: 15.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002752/0.3702, allocations: 195.2 kB / 0.4944 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/0.3704, allocations: 213.1 kB / 0.4946 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.681e-05/0.3705, allocations: 13.75 kB / 0.4946 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01655/0.387, allocations: 8.572 MB / 0.503 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.92e-05/0.3872, allocations: 60.47 kB / 0.503 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002343/0.3874, allocations: 94.3 kB / 0.5031 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007092/0.3945, allocations: 3.422 MB / 0.5065 GB, free: 8.883 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/0.3946, allocations: 1.375 kB / 0.5065 GB, free: 8.883 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.3946, allocations: 4 kB / 0.5065 GB, free: 8.879 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.3946, allocations: 0 / 0.5065 GB, free: 8.879 MB / 382.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.004672/0.3993, allocations: 1.18 MB / 0.5076 GB, free: 8.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.3993, allocations: 8.25 kB / 0.5076 GB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.854e-05/0.3994, allocations: 64.16 kB / 0.5077 GB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002411/0.3996, allocations: 61.7 kB / 0.5077 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003658/0.4, allocations: 314.3 kB / 0.508 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.4, allocations: 19.56 kB / 0.5081 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.993e-05/0.4001, allocations: 25.88 kB / 0.5081 GB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006527/0.4008, allocations: 325.9 kB / 0.5084 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.4008, allocations: 0 / 0.5084 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.519e-05/0.4008, allocations: 10.75 kB / 0.5084 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.4008, allocations: 10.81 kB / 0.5084 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004827/0.4013, allocations: 210.9 kB / 0.5086 GB, free: 7.281 MB / 382.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.001565/0.4029, allocations: 1.5 MB / 0.5101 GB, free: 5.879 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004982/0.4034, allocations: 188.9 kB / 0.5103 GB, free: 5.777 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.4035, allocations: 56.38 kB / 0.5103 GB, free: 5.746 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1122/0.5158, allocations: 64.6 MB / 0.5734 GB, free: 13.76 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.5158, allocations: 38.56 kB / 0.5734 GB, free: 13.71 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 2.004e-06/0.5159, allocations: 0 / 0.5734 GB, free: 13.71 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.001134/0.517, allocations: 400 kB / 0.5738 GB, free: 13.3 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.517, allocations: 59.33 kB / 0.5739 GB, free: 13.23 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003873/0.5174, allocations: 353.7 kB / 0.5742 GB, free: 12.87 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.5175, allocations: 33.69 kB / 0.5742 GB, free: 12.83 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.5176, allocations: 200.1 kB / 0.5744 GB, free: 12.63 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/0.5177, allocations: 51.2 kB / 0.5745 GB, free: 12.58 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.008e-05/0.5177, allocations: 8 kB / 0.5745 GB, free: 12.57 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.5178, allocations: 338.8 kB / 0.5748 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.5179, allocations: 47.98 kB / 0.5749 GB, free: 12.19 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.518, allocations: 102.8 kB / 0.575 GB, free: 12.06 MB / 462.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.0006807/0.5187, allocations: 231.4 kB / 0.5752 GB, free: 11.82 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5187, allocations: 0 / 0.5752 GB, free: 11.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004179/0.5192, allocations: 245.7 kB / 0.5754 GB, free: 11.57 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.5192, allocations: 4 kB / 0.5754 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.5192, allocations: 4 kB / 0.5754 GB, free: 11.56 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001208/0.5193, allocations: 28.78 kB / 0.5754 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.5195, allocations: 52.19 kB / 0.5755 GB, free: 11.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009045/0.5204, allocations: 1.28 MB / 0.5767 GB, free: 10.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/0.5207, allocations: 35.67 kB / 0.5768 GB, free: 10.03 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.5207, allocations: 8 kB / 0.5768 GB, free: 10.02 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001501/0.5209, allocations: 147.8 kB / 0.5769 GB, free: 9.871 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.839e-05/0.5209, allocations: 35.53 kB / 0.577 GB, free: 9.836 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000744/0.5217, allocations: 0.6101 MB / 0.5776 GB, free: 9.215 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.5217, allocations: 11.98 kB / 0.5776 GB, free: 9.203 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.5217, allocations: 0 / 0.5776 GB, free: 9.203 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.5217, allocations: 0 / 0.5776 GB, free: 9.203 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/0.5229, allocations: 1.065 MB / 0.5786 GB, free: 8.074 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.523, allocations: 0 / 0.5786 GB, free: 8.074 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.5231, allocations: 43.94 kB / 0.5787 GB, free: 8.031 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001059/0.5233, allocations: 28.78 kB / 0.5787 GB, free: 8 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.5233, allocations: 7.953 kB / 0.5787 GB, free: 7.992 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007843/0.5241, allocations: 1.287 MB / 0.5799 GB, free: 6.578 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5241, allocations: 0 / 0.5799 GB, free: 6.578 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007179/0.5248, allocations: 0.6684 MB / 0.5806 GB, free: 5.887 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.5249, allocations: 120.6 kB / 0.5807 GB, free: 5.75 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.945e-05/0.525, allocations: 4 kB / 0.5807 GB, free: 5.746 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.5252, allocations: 15.98 kB / 0.5807 GB, free: 5.73 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.5252, allocations: 7.984 kB / 0.5807 GB, free: 5.723 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.5252, allocations: 8 kB / 0.5807 GB, free: 5.715 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000244/0.5255, allocations: 259.2 kB / 0.581 GB, free: 5.465 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5255, allocations: 0 / 0.581 GB, free: 5.465 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004296/0.5298, allocations: 1.265 MB / 0.5822 GB, free: 4.199 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009107/0.5389, allocations: 2.398 MB / 0.5846 GB, free: 1.766 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006279/0.5396, allocations: 299.8 kB / 0.5849 GB, free: 1.461 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/0.5396, allocations: 4 kB / 0.5849 GB, free: 1.457 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002674/0.5399, allocations: 258.2 kB / 0.5851 GB, free: 1.191 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.5409, allocations: 167 kB / 0.5853 GB, free: 1.031 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006026/0.547, allocations: 2.686 MB / 0.5879 GB, free: 14.29 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.5473, allocations: 0.8115 MB / 0.5887 GB, free: 13.45 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002371/0.5476, allocations: 78.88 kB / 0.5888 GB, free: 13.36 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.5477, allocations: 139.4 kB / 0.5889 GB, free: 13.23 MB / 478.1 MB Notification: Performance of SimCode: time 6.81e-07/0.5478, allocations: 4 kB / 0.5889 GB, free: 13.22 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.275/0.8227, allocations: 54.39 MB / 0.642 GB, free: 136.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002235/0.823, allocations: 190 kB / 0.6422 GB, free: 136.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.689/6.512, allocations: 0 / 0.6422 GB, free: 136.1 MB / 0.4981 GB (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/linux/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) Environment - environmentSimulation: