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.001627/0.001627, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.849/1.849, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000909/0.0009088, allocations: 90.91 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6057/0.6057, allocations: 48.77 MB / 358.8 MB, free: 53.11 MB / 299.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: Performance of FrontEnd - loaded program: time 2.399e-05/2.407e-05, allocations: 4 kB / 425.4 MB, free: 8.141 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1681, allocations: 60.26 MB / 485.6 MB, free: 11.74 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.214/9.382, allocations: 2.917 GB / 3.391 GB, free: 82.59 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/9.382, allocations: 78.78 kB / 3.391 GB, free: 82.56 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.481/10.86, allocations: 300.3 MB / 3.685 GB, free: 66.97 MB / 0.5108 GB Notification: Performance of FrontEnd: time 2.405e-06/10.86, allocations: 3.938 kB / 3.685 GB, free: 66.96 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 5.081e-05/10.86, allocations: 8.766 kB / 3.685 GB, free: 66.96 MB / 0.5108 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.008727/10.87, allocations: 1.299 MB / 3.686 GB, free: 66.38 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 6.659e-05/10.87, allocations: 9.719 kB / 3.686 GB, free: 66.38 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003768/10.87, allocations: 62.66 kB / 3.686 GB, free: 66.35 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007539/10.87, allocations: 331.5 kB / 3.686 GB, free: 66.14 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/10.87, allocations: 13.55 kB / 3.686 GB, free: 66.14 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.756e-05/10.87, allocations: 19.38 kB / 3.686 GB, free: 66.14 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003564/10.87, allocations: 142 kB / 3.687 GB, free: 66.14 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004946/10.87, allocations: 282.8 kB / 3.687 GB, free: 66.01 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/10.87, allocations: 4.094 kB / 3.687 GB, free: 66.01 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/10.87, allocations: 0 / 3.687 GB, free: 66.01 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/10.87, allocations: 6.656 kB / 3.687 GB, free: 66.01 MB / 0.5108 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.00189/10.88, allocations: 1.408 MB / 3.688 GB, free: 65.07 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/10.88, allocations: 138.9 kB / 3.688 GB, free: 65.05 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.538e-05/10.88, allocations: 43.2 kB / 3.688 GB, free: 65.04 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1263/11, allocations: 63.98 MB / 3.751 GB, free: 42.18 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.431e-05/11, allocations: 32.03 kB / 3.751 GB, free: 42.14 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=14): time 2.595e-06/11, allocations: 0 / 3.751 GB, free: 42.14 MB / 0.5265 GB Notification: Performance of matching and sorting (n=14): time 0.0009526/11, allocations: 209.9 kB / 3.751 GB, free: 42.08 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/11, allocations: 53 kB / 3.751 GB, free: 42.02 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000391/11, allocations: 243 kB / 3.751 GB, free: 41.92 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/11, allocations: 25.7 kB / 3.751 GB, free: 41.89 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/11, allocations: 213.3 kB / 3.752 GB, free: 41.77 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 5.149e-05/11, allocations: 48.61 kB / 3.752 GB, free: 41.75 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.747e-06/11, allocations: 0 / 3.752 GB, free: 41.75 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0001417/11.01, allocations: 342.9 kB / 3.752 GB, free: 41.43 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.601e-05/11.01, allocations: 33.75 kB / 3.752 GB, free: 41.43 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/11.01, allocations: 92.97 kB / 3.752 GB, free: 41.37 MB / 0.5265 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.0007139/11.01, allocations: 213.1 kB / 3.752 GB, free: 41.27 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/11.01, allocations: 0.9688 kB / 3.752 GB, free: 41.27 MB / 0.5265 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004804/11.01, allocations: 199.6 kB / 3.752 GB, free: 41.21 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/11.01, allocations: 5.656 kB / 3.752 GB, free: 41.21 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/11.01, allocations: 1.469 kB / 3.752 GB, free: 41.21 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001354/11.01, allocations: 27.61 kB / 3.752 GB, free: 41.2 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/11.01, allocations: 42.81 kB / 3.753 GB, free: 41.2 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001115/11.01, allocations: 1.234 MB / 3.754 GB, free: 40.01 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002774/11.01, allocations: 36.73 kB / 3.754 GB, free: 40 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/11.01, allocations: 8.938 kB / 3.754 GB, free: 40 MB / 0.5265 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 0.0001432/11.01, allocations: 116 kB / 3.754 GB, free: 39.89 MB / 0.5265 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000356/11.01, allocations: 144.5 kB / 3.754 GB, free: 39.84 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.071e-05/11.01, allocations: 31.55 kB / 3.754 GB, free: 39.82 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008292/11.01, allocations: 0.573 MB / 3.755 GB, free: 39.71 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/11.01, allocations: 10.38 kB / 3.755 GB, free: 39.71 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/11.01, allocations: 1.406 kB / 3.755 GB, free: 39.71 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/11.01, allocations: 1.688 kB / 3.755 GB, free: 39.71 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/11.01, allocations: 0.9957 MB / 3.756 GB, free: 39.39 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/11.01, allocations: 1.188 kB / 3.756 GB, free: 39.39 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/11.01, allocations: 38.98 kB / 3.756 GB, free: 39.39 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.769e-05/11.01, allocations: 21.39 kB / 3.756 GB, free: 39.38 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/11.01, allocations: 4.031 kB / 3.756 GB, free: 39.38 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000873/11.01, allocations: 1.226 MB / 3.757 GB, free: 38.18 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/11.01, allocations: 8 kB / 3.757 GB, free: 38.18 MB / 0.5265 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008038/11.01, allocations: 0.6334 MB / 3.757 GB, free: 37.97 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/11.01, allocations: 117.3 kB / 3.758 GB, free: 37.86 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.653e-05/11.01, allocations: 1.5 kB / 3.758 GB, free: 37.86 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/11.01, allocations: 15.28 kB / 3.758 GB, free: 37.85 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.452e-05/11.01, allocations: 16.3 kB / 3.758 GB, free: 37.85 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/11.01, allocations: 3.688 kB / 3.758 GB, free: 37.85 MB / 0.5265 GB Notification: Performance of sorting global known variables: time 0.0002036/11.01, allocations: 194 kB / 3.758 GB, free: 37.77 MB / 0.5265 GB Notification: Performance of sort global known variables: time 3e-07/11.01, allocations: 0 / 3.758 GB, free: 37.77 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.007114/11.02, allocations: 1.262 MB / 3.759 GB, free: 37.57 MB / 0.5265 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.0135/11.03, allocations: 2.846 MB / 3.762 GB, free: 36.49 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.0005825/11.04, allocations: 278.1 kB / 3.762 GB, free: 36.39 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/11.04, allocations: 0 / 3.762 GB, free: 36.39 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.0002466/11.04, allocations: 239.3 kB / 3.762 GB, free: 36.29 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008319/11.04, allocations: 109.6 kB / 3.762 GB, free: 36.28 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006796/11.04, allocations: 1.193 MB / 3.764 GB, free: 35.77 MB / 0.5265 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004758/11.04, allocations: 0.8167 MB / 3.764 GB, free: 35.06 MB / 0.5265 GB Notification: Performance of simCode: alias equations: time 0.0003091/11.04, allocations: 71.95 kB / 3.764 GB, free: 35.05 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002238/11.04, allocations: 137.8 kB / 3.765 GB, free: 35.04 MB / 0.5265 GB Notification: Performance of SimCode: time 1.433e-06/11.04, allocations: 0 / 3.765 GB, free: 35.04 MB / 0.5265 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07678/11.12, allocations: 36.13 MB / 3.8 GB, free: 33.04 MB / 0.5265 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001621/11.12, allocations: 128 kB / 3.8 GB, free: 32.84 MB / 0.5265 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.937/14.06, allocations: 4 kB / 3.8 GB, free: 32.84 MB / 0.5265 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)