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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001746/0.001746, allocations: 179.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.081/2.081, allocations: 205.4 MB / 222.5 MB, free: 9.133 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 93.72 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5484/0.5484, allocations: 48.78 MB / 367.9 MB, free: 47.45 MB / 298.7 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: Performance of FrontEnd - loaded program: time 0.0004357/0.0004357, allocations: 8 kB / 438.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1681, allocations: 60.24 MB / 499 MB, free: 14.51 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.304/8.472, allocations: 2.918 GB / 3.405 GB, free: 41.12 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003634/8.472, allocations: 80.03 kB / 3.405 GB, free: 41.08 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.556/10.03, allocations: 304.8 MB / 3.703 GB, free: 72.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.605e-06/10.03, allocations: 3.5 kB / 3.703 GB, free: 72.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.814e-05/10.03, allocations: 9.688 kB / 3.703 GB, free: 72.39 MB / 0.5105 GB 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.008903/10.04, allocations: 1.358 MB / 3.704 GB, free: 71.66 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.276e-05/10.04, allocations: 10.78 kB / 3.704 GB, free: 71.66 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.391e-05/10.04, allocations: 64.66 kB / 3.704 GB, free: 71.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002553/10.04, allocations: 59.05 kB / 3.704 GB, free: 71.58 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005609/10.04, allocations: 342.1 kB / 3.705 GB, free: 71.33 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.973e-05/10.04, allocations: 23.56 kB / 3.705 GB, free: 71.32 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.959e-05/10.04, allocations: 34.64 kB / 3.705 GB, free: 71.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007099/10.04, allocations: 359.8 kB / 3.705 GB, free: 71.09 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/10.04, allocations: 7.875 kB / 3.705 GB, free: 71.09 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.13e-05/10.04, allocations: 11.81 kB / 3.705 GB, free: 71.08 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/10.04, allocations: 8.828 kB / 3.705 GB, free: 71.08 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004547/10.04, allocations: 208.8 kB / 3.705 GB, free: 71.02 MB / 0.5105 GB 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.002075/10.04, allocations: 1.488 MB / 3.707 GB, free: 69.84 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005629/10.04, allocations: 191.4 kB / 3.707 GB, free: 69.76 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1296/10.17, allocations: 63.73 MB / 3.769 GB, free: 29.29 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.051e-05/10.17, allocations: 30.56 kB / 3.769 GB, free: 29.25 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 5.601e-06/10.17, allocations: 0 / 3.769 GB, free: 29.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14): time 0.001582/10.17, allocations: 413.8 kB / 3.769 GB, free: 29.03 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/10.17, allocations: 55.25 kB / 3.77 GB, free: 28.96 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005413/10.17, allocations: 315.5 kB / 3.77 GB, free: 28.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/10.17, allocations: 33.7 kB / 3.77 GB, free: 28.76 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/10.17, allocations: 199 kB / 3.77 GB, free: 28.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.382e-05/10.17, allocations: 56.78 kB / 3.77 GB, free: 28.57 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.989e-06/10.17, allocations: 0 / 3.77 GB, free: 28.57 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001114/10.17, allocations: 345 kB / 3.77 GB, free: 28.24 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/10.17, allocations: 49.95 kB / 3.77 GB, free: 28.22 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/10.17, allocations: 108.7 kB / 3.771 GB, free: 28.14 MB / 0.5105 GB 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.0008239/10.18, allocations: 233.8 kB / 3.771 GB, free: 28.01 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/10.18, allocations: 0 / 3.771 GB, free: 28.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005055/10.18, allocations: 233.6 kB / 3.771 GB, free: 27.89 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/10.18, allocations: 3.812 kB / 3.771 GB, free: 27.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/10.18, allocations: 7.922 kB / 3.771 GB, free: 27.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001688/10.18, allocations: 31.14 kB / 3.771 GB, free: 27.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/10.18, allocations: 50.47 kB / 3.771 GB, free: 27.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001075/10.18, allocations: 1.296 MB / 3.772 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003428/10.18, allocations: 39.28 kB / 3.772 GB, free: 26.53 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/10.18, allocations: 6.375 kB / 3.772 GB, free: 26.53 MB / 0.5105 GB 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.0002431/10.18, allocations: 137.3 kB / 3.773 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/10.18, allocations: 38.19 kB / 3.773 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008961/10.18, allocations: 0.6132 MB / 3.773 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/10.18, allocations: 15.16 kB / 3.773 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/10.18, allocations: 0 / 3.773 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/10.18, allocations: 0 / 3.773 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001573/10.18, allocations: 1.069 MB / 3.774 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/10.18, allocations: 0 / 3.774 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/10.18, allocations: 39.39 kB / 3.774 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001004/10.18, allocations: 27.31 kB / 3.774 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/10.18, allocations: 3.938 kB / 3.774 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008973/10.18, allocations: 1.285 MB / 3.776 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/10.18, allocations: 3.781 kB / 3.776 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008645/10.18, allocations: 0.6715 MB / 3.776 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001773/10.18, allocations: 126.6 kB / 3.776 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.762e-05/10.18, allocations: 0 / 3.776 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/10.18, allocations: 21.7 kB / 3.776 GB, free: 23.51 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.972e-05/10.18, allocations: 15.23 kB / 3.776 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/10.18, allocations: 3.875 kB / 3.776 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003049/10.18, allocations: 253.5 kB / 3.777 GB, free: 23.37 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/10.18, allocations: 0 / 3.777 GB, free: 23.37 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00956/10.19, allocations: 1.277 MB / 3.778 GB, free: 23.11 MB / 0.5105 GB 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.01761/10.21, allocations: 2.793 MB / 3.781 GB, free: 21.85 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008163/10.21, allocations: 310.2 kB / 3.781 GB, free: 21.67 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/10.21, allocations: 0 / 3.781 GB, free: 21.67 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003307/10.21, allocations: 255.7 kB / 3.781 GB, free: 21.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/10.21, allocations: 161.8 kB / 3.781 GB, free: 21.46 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009405/10.22, allocations: 3.795 MB / 3.785 GB, free: 18.91 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/10.22, allocations: 0.8191 MB / 3.786 GB, free: 18.21 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003065/10.22, allocations: 76.61 kB / 3.786 GB, free: 18.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001985/10.22, allocations: 147 kB / 3.786 GB, free: 18.09 MB / 0.5105 GB Notification: Performance of SimCode: time 1.453e-06/10.22, allocations: 0 / 3.786 GB, free: 18.09 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09424/10.32, allocations: 41.21 MB / 3.826 GB, free: 6.168 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002766/10.32, allocations: 185.8 kB / 3.826 GB, free: 5.926 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.633/13.95, allocations: 3.938 kB / 3.826 GB, free: 5.922 MB / 0.5105 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)