Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.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.TestMixerSlowFastSteam,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestMixerSlowFastSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestMixerSlowFastSteam",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.001953/0.001953, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.014/2.014, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001158/0.001158, allocations: 103 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5661/0.5661, allocations: 48.78 MB / 367.9 MB, free: 47.39 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 4000 Notification: Performance of FrontEnd - loaded program: time 0.0003604/0.000361, allocations: 11.98 kB / 438.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1647, allocations: 60.24 MB / 499 MB, free: 14.51 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.495/8.66, allocations: 2.993 GB / 3.481 GB, free: 30.29 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002943/8.661, allocations: 84.95 kB / 3.481 GB, free: 30.21 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.638/10.3, allocations: 367.1 MB / 3.839 GB, free: 51.58 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.045e-06/10.3, allocations: 0 / 3.839 GB, free: 51.58 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.103e-05/10.3, allocations: 15.56 kB / 3.839 GB, free: 51.58 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.006014/10.3, allocations: 1.229 MB / 3.841 GB, free: 50.82 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.378e-05/10.3, allocations: 9.656 kB / 3.841 GB, free: 50.82 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000112/10.3, allocations: 76.47 kB / 3.841 GB, free: 50.76 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005164/10.31, allocations: 117.5 kB / 3.841 GB, free: 50.71 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007834/10.31, allocations: 411 kB / 3.841 GB, free: 50.41 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.174e-05/10.31, allocations: 34.27 kB / 3.841 GB, free: 50.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.029e-05/10.31, allocations: 39.62 kB / 3.841 GB, free: 50.39 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/10.31, allocations: 0.6806 MB / 3.842 GB, free: 50.02 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/10.31, allocations: 0 / 3.842 GB, free: 50.02 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.589e-05/10.31, allocations: 27.45 kB / 3.842 GB, free: 50 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/10.31, allocations: 7.938 kB / 3.842 GB, free: 50 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001338/10.31, allocations: 0.4938 MB / 3.842 GB, free: 49.85 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.002365/10.31, allocations: 2.318 MB / 3.845 GB, free: 47.87 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/10.31, allocations: 0.5626 MB / 3.845 GB, free: 47.52 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05911/10.37, allocations: 31.86 MB / 3.876 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.626e-05/10.37, allocations: 34.56 kB / 3.876 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 2.364e-06/10.37, allocations: 0 / 3.876 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.006308/10.38, allocations: 1.767 MB / 3.878 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.498e-05/10.38, allocations: 110.8 kB / 3.878 GB, free: 25 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004412/10.38, allocations: 315 kB / 3.879 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.89e-05/10.38, allocations: 33.64 kB / 3.879 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/10.38, allocations: 234.5 kB / 3.879 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/10.38, allocations: 108.8 kB / 3.879 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.686e-05/10.38, allocations: 4 kB / 3.879 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001286/10.38, allocations: 357.8 kB / 3.879 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003149/10.38, allocations: 166.1 kB / 3.879 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003624/10.38, allocations: 233.6 kB / 3.88 GB, free: 23.65 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003465/10.38, allocations: 177.4 kB / 3.88 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/10.38, allocations: 0 / 3.88 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00182/10.38, allocations: 0.7515 MB / 3.88 GB, free: 22.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002096/10.38, allocations: 0.5255 MB / 3.881 GB, free: 22.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/10.38, allocations: 0 / 3.881 GB, free: 22.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002047/10.38, allocations: 0.5173 MB / 3.882 GB, free: 21.63 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/10.38, allocations: 39.92 kB / 3.882 GB, free: 21.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/10.39, allocations: 0.9893 MB / 3.883 GB, free: 20.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005727/10.39, allocations: 59.95 kB / 3.883 GB, free: 20.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-05/10.39, allocations: 27.97 kB / 3.883 GB, free: 20.49 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/10.39, allocations: 4 kB / 3.883 GB, free: 20.49 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001523/10.39, allocations: 0.6251 MB / 3.883 GB, free: 19.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/10.39, allocations: 4 kB / 3.883 GB, free: 19.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001467/10.39, allocations: 464.5 kB / 3.884 GB, free: 19.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/10.39, allocations: 47.92 kB / 3.884 GB, free: 19.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001628/10.39, allocations: 0.9329 MB / 3.885 GB, free: 18.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005015/10.39, allocations: 63.84 kB / 3.885 GB, free: 18.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.076e-05/10.39, allocations: 23.98 kB / 3.885 GB, free: 18.31 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (Header1.fluidState.phase,PressDrop1.state.phase,Mixer1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * 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: 0 * Non-linear torn systems: 1 {5 17} Notification: Performance of prepare postOptimizeDAE: time 0.000397/10.39, allocations: 237 kB / 3.885 GB, free: 18.07 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.208e-05/10.39, allocations: 39.53 kB / 3.885 GB, free: 18.03 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003612/10.4, allocations: 2.97 MB / 3.888 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/10.4, allocations: 8 kB / 3.888 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/10.4, allocations: 11.88 kB / 3.888 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/10.4, allocations: 0 / 3.888 GB, free: 15.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 postOpt removeSimpleEquations (simulation): time 0.004764/10.4, allocations: 4.409 MB / 3.892 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/10.4, allocations: 7.984 kB / 3.892 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005734/10.4, allocations: 79.88 kB / 3.892 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002427/10.4, allocations: 1.149 MB / 3.893 GB, free: 9.215 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.52e-05/10.4, allocations: 8.125 kB / 3.893 GB, free: 9.207 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003278/10.41, allocations: 2.803 MB / 3.896 GB, free: 6.227 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/10.41, allocations: 0 / 3.896 GB, free: 6.227 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004293/10.41, allocations: 3.896 MB / 3.9 GB, free: 2.305 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002902/10.41, allocations: 132.3 kB / 3.9 GB, free: 2.156 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.621e-05/10.41, allocations: 8 kB / 3.9 GB, free: 2.148 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004299/10.41, allocations: 51.98 kB / 3.9 GB, free: 2.098 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.73e-05/10.41, allocations: 19.95 kB / 3.9 GB, free: 2.078 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.714e-05/10.41, allocations: 12 kB / 3.9 GB, free: 2.066 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003558/10.41, allocations: 247.2 kB / 3.9 GB, free: 1.824 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.11e-07/10.41, allocations: 0 / 3.9 GB, free: 1.824 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006189/10.42, allocations: 1.003 MB / 3.901 GB, free: 0.8203 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Mixer1.p,Mixer1.h,Header1.p,Header1.h) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,1} * Without analytic Jacobian: 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/10.43, allocations: 2.927 MB / 3.904 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003372/10.44, allocations: 0.8115 MB / 3.905 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/10.44, allocations: 0 / 3.905 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001951/10.44, allocations: 492.1 kB / 3.905 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001772/10.44, allocations: 233.5 kB / 3.906 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009436/10.45, allocations: 2.929 MB / 3.909 GB, free: 9.512 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008678/10.45, allocations: 0.8751 MB / 3.909 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006284/10.45, allocations: 101.8 kB / 3.91 GB, free: 8.504 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000405/10.45, allocations: 187.4 kB / 3.91 GB, free: 8.32 MB / 0.5261 GB Notification: Performance of SimCode: time 2.445e-06/10.45, allocations: 0 / 3.91 GB, free: 8.32 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5106/10.96, allocations: 43.5 MB / 3.952 GB, free: 72.01 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002436/10.96, allocations: 214.6 kB / 3.952 GB, free: 71.77 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.741/14.7, allocations: 0 / 3.952 GB, free: 71.77 MB / 0.5261 GB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestMixerSlowFastSteam_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestMixerSlowFastSteam.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.pipe 2>&1)