Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.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.TestMixerSlowFast,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestMixerSlowFast",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestMixerSlowFast,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestMixerSlowFast",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.001868/0.001868, allocations: 181.9 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 1.966/1.966, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001275/0.001275, allocations: 93.58 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5947/0.5947, allocations: 48.78 MB / 367.9 MB, free: 47.41 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 4000 Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.0003438, allocations: 8 kB / 438.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1485, allocations: 60.25 MB / 499 MB, free: 14.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.125/9.274, allocations: 2.993 GB / 3.481 GB, free: 131.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003591/9.274, allocations: 89.45 kB / 3.481 GB, free: 131.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.265/10.54, allocations: 367.1 MB / 3.839 GB, free: 1.199 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.679e-06/10.54, allocations: 4 kB / 3.839 GB, free: 1.195 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.765e-05/10.54, allocations: 16.16 kB / 3.839 GB, free: 1.18 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.453/10.99, allocations: 1.225 MB / 3.84 GB, free: 56.88 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.298e-05/10.99, allocations: 9.312 kB / 3.84 GB, free: 56.88 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003622/10.99, allocations: 78.7 kB / 3.841 GB, free: 56.84 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006847/10.99, allocations: 117.9 kB / 3.841 GB, free: 56.81 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009536/10.99, allocations: 409.4 kB / 3.841 GB, free: 56.59 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.743e-05/10.99, allocations: 32.95 kB / 3.841 GB, free: 56.59 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.553e-05/10.99, allocations: 45.83 kB / 3.841 GB, free: 56.59 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001839/11, allocations: 0.675 MB / 3.842 GB, free: 56.41 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/11, allocations: 1.797 kB / 3.842 GB, free: 56.41 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.621e-05/11, allocations: 22.92 kB / 3.842 GB, free: 56.41 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/11, allocations: 10.62 kB / 3.842 GB, free: 56.41 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00149/11, allocations: 0.4988 MB / 3.842 GB, free: 56.41 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.002803/11, allocations: 2.512 MB / 3.845 GB, free: 54.48 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/11, allocations: 0.568 MB / 3.845 GB, free: 54.26 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0585/11.06, allocations: 31.85 MB / 3.876 GB, free: 34.94 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.423e-05/11.06, allocations: 43.06 kB / 3.876 GB, free: 34.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 4.118e-06/11.06, allocations: 0 / 3.876 GB, free: 34.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.00692/11.07, allocations: 1.761 MB / 3.878 GB, free: 34.45 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.147e-05/11.07, allocations: 106.7 kB / 3.878 GB, free: 34.33 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000481/11.07, allocations: 319.4 kB / 3.879 GB, free: 34.22 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.795e-05/11.07, allocations: 36.14 kB / 3.879 GB, free: 34.19 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002105/11.07, allocations: 233.6 kB / 3.879 GB, free: 34.08 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/11.07, allocations: 111.4 kB / 3.879 GB, free: 34.02 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-05/11.07, allocations: 6.688 kB / 3.879 GB, free: 34.02 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001255/11.07, allocations: 351.9 kB / 3.879 GB, free: 33.71 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003145/11.07, allocations: 166.1 kB / 3.879 GB, free: 33.71 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003922/11.07, allocations: 235.6 kB / 3.88 GB, free: 33.65 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003527/11.07, allocations: 175.9 kB / 3.88 GB, free: 33.65 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/11.07, allocations: 3.031 kB / 3.88 GB, free: 33.65 MB / 0.5105 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001844/11.07, allocations: 0.7512 MB / 3.881 GB, free: 33.57 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002381/11.07, allocations: 0.5245 MB / 3.881 GB, free: 33.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/11.07, allocations: 3.312 kB / 3.881 GB, free: 33.03 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002086/11.07, allocations: 0.5083 MB / 3.882 GB, free: 33.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/11.07, allocations: 47.95 kB / 3.882 GB, free: 33.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/11.08, allocations: 0.9803 MB / 3.883 GB, free: 32.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005568/11.08, allocations: 57.5 kB / 3.883 GB, free: 32.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-05/11.08, allocations: 26.88 kB / 3.883 GB, free: 32.48 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/11.08, allocations: 6.219 kB / 3.883 GB, free: 32.48 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00158/11.08, allocations: 0.6311 MB / 3.883 GB, free: 32.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/11.08, allocations: 2.625 kB / 3.883 GB, free: 32.47 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001505/11.08, allocations: 461.6 kB / 3.884 GB, free: 32.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/11.08, allocations: 52.5 kB / 3.884 GB, free: 32.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/11.08, allocations: 0.9364 MB / 3.885 GB, free: 31.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005316/11.08, allocations: 65.2 kB / 3.885 GB, free: 31.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.217e-05/11.08, allocations: 23.38 kB / 3.885 GB, free: 31.93 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.0003773/11.08, allocations: 231.5 kB / 3.885 GB, free: 31.73 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/11.08, allocations: 41.34 kB / 3.885 GB, free: 31.71 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004327/11.09, allocations: 2.967 MB / 3.888 GB, free: 31.61 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/11.09, allocations: 12.92 kB / 3.888 GB, free: 31.61 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/11.09, allocations: 2.016 kB / 3.888 GB, free: 31.61 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/11.09, allocations: 7.141 kB / 3.888 GB, free: 31.61 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.005873/11.09, allocations: 4.41 MB / 3.892 GB, free: 30.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/11.09, allocations: 3.953 kB / 3.892 GB, free: 30.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006681/11.09, allocations: 78.67 kB / 3.892 GB, free: 30.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002756/11.1, allocations: 1.151 MB / 3.893 GB, free: 30.77 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.594e-05/11.1, allocations: 11.25 kB / 3.893 GB, free: 30.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003552/11.1, allocations: 2.797 MB / 3.896 GB, free: 28.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/11.1, allocations: 0 / 3.896 GB, free: 28.34 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005198/11.11, allocations: 3.893 MB / 3.9 GB, free: 28.15 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004019/11.11, allocations: 125.3 kB / 3.9 GB, free: 28.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/11.11, allocations: 12.52 kB / 3.9 GB, free: 28.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005763/11.11, allocations: 55.55 kB / 3.9 GB, free: 28.02 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/11.11, allocations: 19.16 kB / 3.9 GB, free: 28.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-05/11.11, allocations: 15 kB / 3.9 GB, free: 28.02 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003532/11.11, allocations: 246.1 kB / 3.9 GB, free: 27.94 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/11.11, allocations: 1.031 kB / 3.9 GB, free: 27.94 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007415/11.11, allocations: 1.008 MB / 3.901 GB, free: 27.94 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.01476/11.13, allocations: 2.931 MB / 3.904 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003232/11.13, allocations: 0.8143 MB / 3.905 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/11.13, allocations: 2.719 kB / 3.905 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001799/11.13, allocations: 476.7 kB / 3.906 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/11.14, allocations: 228.8 kB / 3.906 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/11.15, allocations: 2.935 MB / 3.909 GB, free: 41.41 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007796/11.15, allocations: 0.8657 MB / 3.91 GB, free: 40.71 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006256/11.15, allocations: 109.5 kB / 3.91 GB, free: 40.71 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003615/11.15, allocations: 185.4 kB / 3.91 GB, free: 40.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.913e-06/11.15, allocations: 3.062 kB / 3.91 GB, free: 40.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1277/11.28, allocations: 43.45 MB / 3.952 GB, free: 39.01 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002589/11.28, allocations: 208.8 kB / 3.952 GB, free: 38.77 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.779/15.06, allocations: 4 kB / 3.952 GB, free: 38.76 MB / 0.5261 GB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestMixerSlowFast_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestMixerSlowFast.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.pipe 2>&1)