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: translateModel(ThermoPower.Test.WaterComponents.TestMixerSlowFast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast") translateModel(ThermoPower.Test.WaterComponents.TestMixerSlowFast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001683/0.001684, allocations: 180.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.701/1.701, 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.0009968/0.0009968, allocations: 89.33 kB / 270.8 MB, free: 8.387 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5612/0.5612, allocations: 48.77 MB / 367.9 MB, free: 47.43 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 4000 Notification: Performance of FrontEnd - loaded program: time 0.0003861/0.0003863, allocations: 11.98 kB / 438.6 MB, free: 11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1676, allocations: 60.26 MB / 498.9 MB, free: 14.61 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.793/8.96, allocations: 2.993 GB / 3.481 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004635/8.961, allocations: 84.69 kB / 3.481 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.362/10.32, allocations: 367.1 MB / 3.839 GB, free: 2.141 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.925e-06/10.32, allocations: 4 kB / 3.839 GB, free: 2.137 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.044e-05/10.32, allocations: 19.92 kB / 3.839 GB, free: 2.117 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.008027/10.33, allocations: 1.224 MB / 3.84 GB, free: 0.8438 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.776e-05/10.33, allocations: 8.031 kB / 3.84 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008413/10.33, allocations: 119.2 kB / 3.84 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/10.33, allocations: 404.9 kB / 3.841 GB, free: 288 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.824e-05/10.33, allocations: 30.2 kB / 3.841 GB, free: 260 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/10.33, allocations: 47.94 kB / 3.841 GB, free: 212 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4738/10.81, allocations: 0.6741 MB / 3.842 GB, free: 57.16 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.832e-05/10.81, allocations: 3.562 kB / 3.842 GB, free: 57.16 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.567e-05/10.81, allocations: 21.05 kB / 3.842 GB, free: 57.16 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.39e-05/10.81, allocations: 11.16 kB / 3.842 GB, free: 57.16 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001745/10.81, allocations: 0.4919 MB / 3.842 GB, free: 57.16 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.003425/10.81, allocations: 2.518 MB / 3.845 GB, free: 55.25 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/10.81, allocations: 0.57 MB / 3.845 GB, free: 55.04 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06367/10.88, allocations: 31.85 MB / 3.876 GB, free: 35.71 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.483e-05/10.88, allocations: 40.19 kB / 3.876 GB, free: 35.68 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 3.637e-06/10.88, allocations: 0 / 3.876 GB, free: 35.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.007105/10.88, allocations: 1.76 MB / 3.878 GB, free: 35.23 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.084e-05/10.88, allocations: 114.5 kB / 3.878 GB, free: 35.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006435/10.89, allocations: 319.1 kB / 3.878 GB, free: 35 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.73e-05/10.89, allocations: 32.02 kB / 3.878 GB, free: 34.97 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002519/10.89, allocations: 231 kB / 3.879 GB, free: 34.86 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001803/10.89, allocations: 118.1 kB / 3.879 GB, free: 34.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.14e-05/10.89, allocations: 3.5 kB / 3.879 GB, free: 34.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001922/10.89, allocations: 356.9 kB / 3.879 GB, free: 34.49 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003875/10.89, allocations: 163.9 kB / 3.879 GB, free: 34.49 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004437/10.89, allocations: 233.1 kB / 3.88 GB, free: 34.43 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004387/10.89, allocations: 183.2 kB / 3.88 GB, free: 34.43 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/10.89, allocations: 0 / 3.88 GB, free: 34.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002282/10.89, allocations: 0.7525 MB / 3.88 GB, free: 34.34 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003544/10.89, allocations: 0.5216 MB / 3.881 GB, free: 33.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/10.89, allocations: 3.875 kB / 3.881 GB, free: 33.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002467/10.89, allocations: 0.5137 MB / 3.881 GB, free: 33.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/10.89, allocations: 41.7 kB / 3.881 GB, free: 33.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001711/10.89, allocations: 0.9831 MB / 3.882 GB, free: 33.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007711/10.9, allocations: 53.98 kB / 3.882 GB, free: 33.26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.945e-05/10.9, allocations: 25.25 kB / 3.883 GB, free: 33.26 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/10.9, allocations: 10.33 kB / 3.883 GB, free: 33.26 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001719/10.9, allocations: 0.6217 MB / 3.883 GB, free: 33.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/10.9, allocations: 3.219 kB / 3.883 GB, free: 33.24 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001646/10.9, allocations: 459.7 kB / 3.884 GB, free: 33.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/10.9, allocations: 47.06 kB / 3.884 GB, free: 33.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001788/10.9, allocations: 0.9462 MB / 3.885 GB, free: 32.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006859/10.9, allocations: 66.94 kB / 3.885 GB, free: 32.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.333e-05/10.9, allocations: 22.7 kB / 3.885 GB, free: 32.7 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.000457/10.9, allocations: 231.1 kB / 3.885 GB, free: 32.51 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001542/10.9, allocations: 46.91 kB / 3.885 GB, free: 32.49 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004552/10.91, allocations: 2.967 MB / 3.888 GB, free: 32.39 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.04e-05/10.91, allocations: 10.92 kB / 3.888 GB, free: 32.39 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/10.91, allocations: 3.375 kB / 3.888 GB, free: 32.39 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/10.91, allocations: 6.938 kB / 3.888 GB, free: 32.39 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.006391/10.91, allocations: 4.407 MB / 3.892 GB, free: 31.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/10.91, allocations: 0 / 3.892 GB, free: 31.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006935/10.91, allocations: 83.48 kB / 3.892 GB, free: 31.56 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002693/10.92, allocations: 1.144 MB / 3.893 GB, free: 31.54 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.543e-05/10.92, allocations: 17.3 kB / 3.893 GB, free: 31.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003475/10.92, allocations: 2.794 MB / 3.896 GB, free: 29.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/10.92, allocations: 1.734 kB / 3.896 GB, free: 29.12 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00511/10.93, allocations: 3.903 MB / 3.9 GB, free: 28.92 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003697/10.93, allocations: 123.5 kB / 3.9 GB, free: 28.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/10.93, allocations: 8.125 kB / 3.9 GB, free: 28.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005535/10.93, allocations: 51.27 kB / 3.9 GB, free: 28.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/10.93, allocations: 28.27 kB / 3.9 GB, free: 28.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.158e-05/10.93, allocations: 9.156 kB / 3.9 GB, free: 28.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003923/10.93, allocations: 242.3 kB / 3.9 GB, free: 28.72 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/10.93, allocations: 3.719 kB / 3.9 GB, free: 28.72 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007187/10.93, allocations: 1.006 MB / 3.901 GB, free: 28.72 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.01167/10.95, allocations: 1.384 MB / 3.903 GB, free: 28.61 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003692/10.95, allocations: 0.8234 MB / 3.903 GB, free: 28.59 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/10.95, allocations: 0 / 3.903 GB, free: 28.59 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001899/10.95, allocations: 472.9 kB / 3.904 GB, free: 28.47 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001748/10.95, allocations: 234.4 kB / 3.904 GB, free: 28.46 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003017/10.96, allocations: 1.532 MB / 3.906 GB, free: 27.85 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005116/10.96, allocations: 0.8723 MB / 3.906 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004987/10.96, allocations: 102.1 kB / 3.907 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/10.96, allocations: 33.47 kB / 3.907 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of SimCode: time 1.643e-06/10.96, allocations: 3.391 kB / 3.907 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of Templates: time 0.07907/11.04, allocations: 36.85 MB / 3.943 GB, free: 25.81 MB / 0.5105 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.makefile (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 & ./ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.pipe 2>&1)