Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.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.TestMixer,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestMixer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestMixer,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestMixer",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.001036/0.001036, allocations: 174.8 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.525/1.525, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.0008483/0.0008483, allocations: 90.64 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2513/0.2513, allocations: 48.79 MB / 364.3 MB, free: 6.867 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.543e-05/3.543e-05, allocations: 7.984 kB / 432.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1212, allocations: 60.24 MB / 492.8 MB, free: 4.285 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.373/8.494, allocations: 2.993 GB / 3.475 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003733/8.495, allocations: 83.31 kB / 3.475 GB, free: 22.79 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.338/10.83, allocations: 456.7 MB / 3.921 GB, free: 55.77 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.043e-06/10.83, allocations: 0 / 3.921 GB, free: 55.77 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001324/10.83, allocations: 28.42 kB / 3.921 GB, free: 55.77 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.006669/10.84, allocations: 1.227 MB / 3.922 GB, free: 55.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.466e-05/10.84, allocations: 9.75 kB / 3.922 GB, free: 55.3 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002768/10.84, allocations: 92.06 kB / 3.922 GB, free: 55.26 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008761/10.84, allocations: 120 kB / 3.922 GB, free: 55.23 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001475/10.84, allocations: 471.4 kB / 3.923 GB, free: 55 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.779e-05/10.84, allocations: 35.66 kB / 3.923 GB, free: 54.99 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/10.84, allocations: 58.02 kB / 3.923 GB, free: 54.99 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00214/10.84, allocations: 0.7819 MB / 3.924 GB, free: 54.75 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/10.85, allocations: 2.562 kB / 3.924 GB, free: 54.75 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-05/10.85, allocations: 31.3 kB / 3.924 GB, free: 54.74 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.423e-05/10.85, allocations: 14.28 kB / 3.924 GB, free: 54.74 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/10.85, allocations: 0.5053 MB / 3.924 GB, free: 54.73 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.003259/10.85, allocations: 2.65 MB / 3.927 GB, free: 52.85 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/10.85, allocations: 0.5631 MB / 3.927 GB, free: 52.64 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000174/10.85, allocations: 119.9 kB / 3.927 GB, free: 52.62 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05786/10.91, allocations: 31.98 MB / 3.959 GB, free: 33.27 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.019e-05/10.91, allocations: 37.22 kB / 3.959 GB, free: 33.23 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 2.895e-06/10.91, allocations: 0 / 3.959 GB, free: 33.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.005707/10.92, allocations: 1.548 MB / 3.96 GB, free: 32.85 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/10.92, allocations: 106.8 kB / 3.96 GB, free: 32.73 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000495/10.92, allocations: 391.5 kB / 3.961 GB, free: 32.62 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.153e-05/10.92, allocations: 29.58 kB / 3.961 GB, free: 32.59 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/10.92, allocations: 284.3 kB / 3.961 GB, free: 32.46 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.843e-05/10.92, allocations: 113.8 kB / 3.961 GB, free: 32.39 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-05/10.92, allocations: 6.625 kB / 3.961 GB, free: 32.39 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000119/10.92, allocations: 365.7 kB / 3.961 GB, free: 32.07 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/10.92, allocations: 144.7 kB / 3.961 GB, free: 32.07 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002726/10.92, allocations: 212.7 kB / 3.962 GB, free: 32.01 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000265/10.92, allocations: 155.6 kB / 3.962 GB, free: 32.01 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/10.92, allocations: 0 / 3.962 GB, free: 32.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001685/10.92, allocations: 0.715 MB / 3.963 GB, free: 31.92 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002219/10.92, allocations: 0.5307 MB / 3.963 GB, free: 31.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/10.92, allocations: 3.406 kB / 3.963 GB, free: 31.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001921/10.92, allocations: 496.7 kB / 3.964 GB, free: 31.35 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/10.92, allocations: 29.53 kB / 3.964 GB, free: 31.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/10.92, allocations: 1.506 MB / 3.965 GB, free: 30.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005884/10.92, allocations: 56.23 kB / 3.965 GB, free: 30.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.075e-05/10.92, allocations: 26.11 kB / 3.965 GB, free: 30.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/10.92, allocations: 7.156 kB / 3.965 GB, free: 30.3 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001334/10.92, allocations: 0.5852 MB / 3.966 GB, free: 30.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-06/10.92, allocations: 0 / 3.966 GB, free: 30.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001305/10.93, allocations: 441 kB / 3.966 GB, free: 30.24 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/10.93, allocations: 42.53 kB / 3.966 GB, free: 30.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001692/10.93, allocations: 1.432 MB / 3.968 GB, free: 29.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005611/10.93, allocations: 56.89 kB / 3.968 GB, free: 29.19 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.297e-05/10.93, allocations: 23.27 kB / 3.968 GB, free: 29.19 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 (header.fluidState.phase,pressDrop.state.phase,mixer.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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: 0 * Non-linear torn systems: 2 {3 11,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001684/10.93, allocations: 124.7 kB / 3.968 GB, free: 29.08 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.804e-05/10.93, allocations: 55.98 kB / 3.968 GB, free: 29.05 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003929/10.93, allocations: 3.339 MB / 3.971 GB, free: 28.93 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/10.93, allocations: 6.953 kB / 3.971 GB, free: 28.93 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/10.93, allocations: 0 / 3.971 GB, free: 28.93 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/10.93, allocations: 0 / 3.971 GB, free: 28.93 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 postOpt removeSimpleEquations (simulation): time 0.005139/10.94, allocations: 4.828 MB / 3.976 GB, free: 28.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.086e-06/10.94, allocations: 0 / 3.976 GB, free: 28.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001991/10.94, allocations: 50.19 kB / 3.976 GB, free: 28.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002937/10.94, allocations: 1.523 MB / 3.977 GB, free: 28.04 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.94e-05/10.94, allocations: 9.438 kB / 3.977 GB, free: 28.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002781/10.94, allocations: 2.733 MB / 3.98 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/10.94, allocations: 3.562 kB / 3.98 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004669/10.95, allocations: 4.357 MB / 3.984 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003456/10.95, allocations: 139.1 kB / 3.984 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.728e-05/10.95, allocations: 7.406 kB / 3.984 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004399/10.95, allocations: 55.98 kB / 3.984 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.133e-05/10.95, allocations: 23 kB / 3.984 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-05/10.95, allocations: 11.3 kB / 3.984 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004289/10.95, allocations: 311.3 kB / 3.985 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/10.95, allocations: 0 / 3.985 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005527/10.96, allocations: 1.049 MB / 3.986 GB, free: 25.11 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (mixer.p,mixer.h,header.p,header.h) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.01022/10.97, allocations: 3.03 MB / 3.989 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00268/10.97, allocations: 0.7941 MB / 3.99 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/10.97, allocations: 1.688 kB / 3.99 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001153/10.97, allocations: 442.3 kB / 3.99 GB, free: 23.97 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001827/10.97, allocations: 313.7 kB / 3.99 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005511/10.98, allocations: 1.421 MB / 3.992 GB, free: 23.37 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004107/10.98, allocations: 0.9009 MB / 3.993 GB, free: 22.66 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005776/10.98, allocations: 139.5 kB / 3.993 GB, free: 22.64 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002762/10.98, allocations: 214 kB / 3.993 GB, free: 22.63 MB / 0.5105 GB Notification: Performance of SimCode: time 1.462e-06/10.98, allocations: 0 / 3.993 GB, free: 22.63 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1125/11.09, allocations: 53.15 MB / 4.045 GB, free: 16.08 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001869/11.09, allocations: 166.7 kB / 4.045 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.793/14.88, allocations: 3.391 kB / 4.045 GB, free: 15.86 MB / 0.5105 GB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestMixer_fmu --startTime=0 --stopTime=8 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestMixer.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe 2>&1)