Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestST1.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.TestST1,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestST1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestST1,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestST1",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.001211/0.001211, allocations: 174.9 kB / 8.348 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.725/1.725, 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.0009643/0.0009643, allocations: 90.83 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6171/0.6171, allocations: 48.77 MB / 358.8 MB, free: 53.12 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 3.154e-05/3.157e-05, allocations: 8.156 kB / 425.4 MB, free: 8.133 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1564, allocations: 60.26 MB / 485.7 MB, free: 11.73 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.705/8.862, allocations: 2.908 GB / 3.382 GB, free: 136.6 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003317/8.862, allocations: 79.03 kB / 3.382 GB, free: 136.6 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.229/10.09, allocations: 343 MB / 3.717 GB, free: 37.89 MB / 0.5108 GB Notification: Performance of FrontEnd: time 3.246e-06/10.09, allocations: 0 / 3.717 GB, free: 37.89 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 4.197e-05/10.09, allocations: 12 kB / 3.717 GB, free: 37.88 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.009254/10.1, allocations: 1.359 MB / 3.718 GB, free: 36.48 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 6.888e-05/10.1, allocations: 16.03 kB / 3.718 GB, free: 36.46 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003261/10.1, allocations: 64.36 kB / 3.718 GB, free: 36.4 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005749/10.1, allocations: 348 kB / 3.719 GB, free: 36.03 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/10.1, allocations: 8.344 kB / 3.719 GB, free: 36.02 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.294e-05/10.1, allocations: 19.95 kB / 3.719 GB, free: 36 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003295/10.1, allocations: 173.5 kB / 3.719 GB, free: 35.83 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004629/10.1, allocations: 321.5 kB / 3.719 GB, free: 35.47 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/10.1, allocations: 7.906 kB / 3.719 GB, free: 35.46 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.826e-05/10.1, allocations: 0 / 3.719 GB, free: 35.46 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/10.1, allocations: 8 kB / 3.719 GB, free: 35.46 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.001591/10.1, allocations: 1.649 MB / 3.721 GB, free: 33.67 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003355/10.1, allocations: 146.5 kB / 3.721 GB, free: 33.52 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/10.1, allocations: 56.86 kB / 3.721 GB, free: 33.46 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5686/10.67, allocations: 63.95 MB / 3.783 GB, free: 44.74 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/10.67, allocations: 33.94 kB / 3.783 GB, free: 44.7 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=17): time 4.408e-06/10.67, allocations: 0 / 3.783 GB, free: 44.7 MB / 0.5108 GB Notification: Performance of matching and sorting (n=17): time 0.001156/10.67, allocations: 262.9 kB / 3.784 GB, free: 44.66 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/10.67, allocations: 55.91 kB / 3.784 GB, free: 44.6 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003883/10.68, allocations: 236.3 kB / 3.784 GB, free: 44.5 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/10.68, allocations: 28.55 kB / 3.784 GB, free: 44.47 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/10.68, allocations: 215.4 kB / 3.784 GB, free: 44.37 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 7.926e-05/10.68, allocations: 60.53 kB / 3.784 GB, free: 44.34 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.176e-05/10.68, allocations: 0 / 3.784 GB, free: 44.34 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 0.0001061/10.68, allocations: 340.4 kB / 3.785 GB, free: 44.02 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/10.68, allocations: 47.69 kB / 3.785 GB, free: 44.02 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/10.68, allocations: 100.5 kB / 3.785 GB, free: 43.97 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002076/10.68, allocations: 70.69 kB / 3.785 GB, free: 43.97 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/10.68, allocations: 0 / 3.785 GB, free: 43.97 MB / 0.5108 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006011/10.68, allocations: 255.5 kB / 3.785 GB, free: 43.91 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002441/10.68, allocations: 0.622 MB / 3.786 GB, free: 43.27 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/10.68, allocations: 3.047 kB / 3.786 GB, free: 43.27 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003848/10.68, allocations: 80.55 kB / 3.786 GB, free: 43.25 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/10.68, allocations: 50.22 kB / 3.786 GB, free: 43.25 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001322/10.68, allocations: 1.848 MB / 3.788 GB, free: 41.54 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002897/10.68, allocations: 35 kB / 3.788 GB, free: 41.53 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/10.68, allocations: 6.281 kB / 3.788 GB, free: 41.53 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/10.68, allocations: 8.859 kB / 3.788 GB, free: 41.53 MB / 0.5108 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004868/10.68, allocations: 207.4 kB / 3.788 GB, free: 41.51 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/10.68, allocations: 6.219 kB / 3.788 GB, free: 41.51 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002485/10.68, allocations: 70.59 kB / 3.788 GB, free: 41.49 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/10.68, allocations: 49.62 kB / 3.788 GB, free: 41.49 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/10.68, allocations: 1.851 MB / 3.79 GB, free: 39.78 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002662/10.68, allocations: 32.7 kB / 3.79 GB, free: 39.77 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/10.68, allocations: 12.34 kB / 3.79 GB, free: 39.77 MB / 0.5108 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (ST.fluidState_in.phase,SensT1.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001185/10.68, allocations: 109.3 kB / 3.79 GB, free: 39.67 MB / 0.5108 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003937/10.68, allocations: 170.7 kB / 3.79 GB, free: 39.61 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.089e-05/10.68, allocations: 32.73 kB / 3.79 GB, free: 39.59 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009518/10.68, allocations: 0.7905 MB / 3.791 GB, free: 39.48 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/10.68, allocations: 9.062 kB / 3.791 GB, free: 39.48 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/10.68, allocations: 5.531 kB / 3.791 GB, free: 39.48 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/10.68, allocations: 0 / 3.791 GB, free: 39.48 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006025/10.68, allocations: 496.5 kB / 3.791 GB, free: 39.3 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/10.68, allocations: 1.062 kB / 3.791 GB, free: 39.3 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002245/10.68, allocations: 44.23 kB / 3.791 GB, free: 39.3 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.533e-05/10.68, allocations: 24 kB / 3.791 GB, free: 39.3 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/10.68, allocations: 5.312 kB / 3.791 GB, free: 39.3 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007724/10.68, allocations: 1.233 MB / 3.793 GB, free: 38.11 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/10.68, allocations: 3.031 kB / 3.793 GB, free: 38.11 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008357/10.69, allocations: 0.7681 MB / 3.793 GB, free: 37.91 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/10.69, allocations: 126 kB / 3.794 GB, free: 37.79 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.139e-05/10.69, allocations: 3.953 kB / 3.794 GB, free: 37.79 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/10.69, allocations: 14.64 kB / 3.794 GB, free: 37.79 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.954e-05/10.69, allocations: 15.92 kB / 3.794 GB, free: 37.79 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/10.69, allocations: 4.938 kB / 3.794 GB, free: 37.79 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0001949/10.69, allocations: 190 kB / 3.794 GB, free: 37.71 MB / 0.5108 GB Notification: Performance of sort global known variables: time 5.01e-07/10.69, allocations: 0 / 3.794 GB, free: 37.71 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.007999/10.69, allocations: 1.347 MB / 3.795 GB, free: 37.7 MB / 0.5108 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (ST.P_HP,ST.P_LP,Inertia1.phi,Inertia1.w) * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.01507/10.71, allocations: 2.991 MB / 3.798 GB, free: 36.97 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.001502/10.71, allocations: 0.556 MB / 3.799 GB, free: 36.77 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/10.71, allocations: 0 / 3.799 GB, free: 36.77 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.000395/10.71, allocations: 287 kB / 3.799 GB, free: 36.67 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009843/10.71, allocations: 117.3 kB / 3.799 GB, free: 36.66 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007293/10.72, allocations: 1.402 MB / 3.8 GB, free: 36.31 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004508/10.72, allocations: 0.8488 MB / 3.801 GB, free: 35.61 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.0004741/10.72, allocations: 156.4 kB / 3.801 GB, free: 35.61 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002095/10.72, allocations: 153.7 kB / 3.801 GB, free: 35.61 MB / 0.5108 GB Notification: Performance of SimCode: time 9.12e-07/10.72, allocations: 0 / 3.801 GB, free: 35.61 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1029/10.82, allocations: 38.52 MB / 3.839 GB, free: 34.12 MB / 0.5108 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/10.82, allocations: 125.7 kB / 3.839 GB, free: 33.93 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.165/13.99, allocations: 6 kB / 3.839 GB, free: 33.93 MB / 0.5108 GB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestST1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestST1_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestST1.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe 2>&1)