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.00113/0.00113, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.702/1.702, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.0008736/0.0008736, allocations: 70.73 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3237/0.3237, allocations: 48.78 MB / 364.3 MB, free: 6.867 MB / 266.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 3.656e-05/3.659e-05, allocations: 0 / 432.6 MB, free: 16.67 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1438, allocations: 60.25 MB / 492.8 MB, free: 4.281 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.309/9.452, allocations: 2.918 GB / 3.399 GB, free: 22.04 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/9.453, allocations: 86.33 kB / 3.399 GB, free: 21.99 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.474/10.93, allocations: 303.8 MB / 3.696 GB, free: 75.34 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.164e-06/10.93, allocations: 1 kB / 3.696 GB, free: 75.34 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.131e-05/10.93, allocations: 11.56 kB / 3.696 GB, free: 75.34 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.007526/10.93, allocations: 1.301 MB / 3.697 GB, free: 74.62 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.89e-05/10.93, allocations: 11.81 kB / 3.697 GB, free: 74.62 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.503e-05/10.93, allocations: 61.05 kB / 3.697 GB, free: 74.56 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002736/10.93, allocations: 61.66 kB / 3.697 GB, free: 74.54 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004843/10.94, allocations: 334.6 kB / 3.698 GB, free: 74.28 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/10.94, allocations: 31.28 kB / 3.698 GB, free: 74.27 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.959e-05/10.94, allocations: 28.06 kB / 3.698 GB, free: 74.26 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006734/10.94, allocations: 362.6 kB / 3.698 GB, free: 74.04 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/10.94, allocations: 3.938 kB / 3.698 GB, free: 74.04 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.09e-05/10.94, allocations: 15.7 kB / 3.698 GB, free: 74.03 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/10.94, allocations: 3.969 kB / 3.698 GB, free: 74.03 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003987/10.94, allocations: 202.9 kB / 3.698 GB, free: 73.96 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.001648/10.94, allocations: 1.484 MB / 3.7 GB, free: 72.79 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000451/10.94, allocations: 192.8 kB / 3.7 GB, free: 72.71 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.115e-05/10.94, allocations: 49.14 kB / 3.7 GB, free: 72.69 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1147/11.05, allocations: 63.97 MB / 3.762 GB, free: 32.07 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.5e-05/11.05, allocations: 35.3 kB / 3.762 GB, free: 32.03 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 4.679e-06/11.05, allocations: 5.688 kB / 3.762 GB, free: 32.03 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14): time 0.001034/11.05, allocations: 277.5 kB / 3.763 GB, free: 31.91 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/11.05, allocations: 51.41 kB / 3.763 GB, free: 31.85 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003707/11.06, allocations: 313.6 kB / 3.763 GB, free: 31.68 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/11.06, allocations: 25.7 kB / 3.763 GB, free: 31.65 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/11.06, allocations: 198.5 kB / 3.763 GB, free: 31.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.103e-05/11.06, allocations: 54.91 kB / 3.763 GB, free: 31.45 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.376e-06/11.06, allocations: 4 kB / 3.763 GB, free: 31.45 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.988e-05/11.06, allocations: 350 kB / 3.764 GB, free: 31.12 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.048e-05/11.06, allocations: 35.41 kB / 3.764 GB, free: 31.11 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/11.06, allocations: 97.11 kB / 3.764 GB, free: 31.02 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.0006377/11.06, allocations: 221.5 kB / 3.764 GB, free: 30.89 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/11.06, allocations: 4 kB / 3.764 GB, free: 30.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003475/11.06, allocations: 219.3 kB / 3.764 GB, free: 30.78 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/11.06, allocations: 7.828 kB / 3.764 GB, free: 30.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/11.06, allocations: 3.844 kB / 3.764 GB, free: 30.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001426/11.06, allocations: 23.78 kB / 3.764 GB, free: 30.76 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/11.06, allocations: 52.52 kB / 3.764 GB, free: 30.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008898/11.06, allocations: 1.29 MB / 3.766 GB, free: 29.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/11.06, allocations: 32.89 kB / 3.766 GB, free: 29.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/11.06, allocations: 11.94 kB / 3.766 GB, free: 29.42 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 () * 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 9.317e-05/11.06, allocations: 109 kB / 3.766 GB, free: 29.31 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.937e-05/11.06, allocations: 35.55 kB / 3.766 GB, free: 29.29 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007216/11.06, allocations: 0.5964 MB / 3.766 GB, free: 28.97 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/11.06, allocations: 3.562 kB / 3.766 GB, free: 28.97 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/11.06, allocations: 3.938 kB / 3.766 GB, free: 28.97 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/11.06, allocations: 4 kB / 3.766 GB, free: 28.97 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/11.06, allocations: 1.057 MB / 3.767 GB, free: 28.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/11.06, allocations: 0 / 3.767 GB, free: 28.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/11.06, allocations: 38.67 kB / 3.767 GB, free: 28.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.929e-05/11.06, allocations: 27.28 kB / 3.767 GB, free: 28.29 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/11.06, allocations: 15.39 kB / 3.767 GB, free: 28.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006974/11.06, allocations: 1.274 MB / 3.769 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/11.06, allocations: 3.938 kB / 3.769 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006123/11.06, allocations: 0.6463 MB / 3.769 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.291e-05/11.06, allocations: 130.7 kB / 3.769 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.774e-05/11.06, allocations: 11.61 kB / 3.769 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/11.06, allocations: 14.59 kB / 3.769 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/11.06, allocations: 15.09 kB / 3.769 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/11.06, allocations: 5.875 kB / 3.769 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002574/11.06, allocations: 247.3 kB / 3.77 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/11.06, allocations: 0 / 3.77 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006741/11.07, allocations: 1.268 MB / 3.771 GB, free: 26.02 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 () * 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.01175/11.08, allocations: 2.779 MB / 3.774 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006331/11.08, allocations: 283.7 kB / 3.774 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/11.08, allocations: 8.062 kB / 3.774 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000225/11.08, allocations: 237.8 kB / 3.774 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/11.08, allocations: 156.1 kB / 3.774 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005704/11.09, allocations: 1.229 MB / 3.775 GB, free: 23.72 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/11.09, allocations: 0.8268 MB / 3.776 GB, free: 23.01 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002576/11.09, allocations: 75.22 kB / 3.776 GB, free: 23 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001778/11.09, allocations: 144.8 kB / 3.777 GB, free: 22.89 MB / 0.5105 GB Notification: Performance of SimCode: time 1.212e-06/11.09, allocations: 0 / 3.777 GB, free: 22.89 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08144/11.17, allocations: 43.4 MB / 3.819 GB, free: 6.812 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001815/11.17, allocations: 169.4 kB / 3.819 GB, free: 6.578 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.097/14.27, allocations: 4 kB / 3.819 GB, free: 6.574 MB / 0.5261 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)