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: translateModel(ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam") translateModel(ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001666/0.001666, allocations: 176.9 kB / 17.4 MB, free: 4.297 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.664/1.664, allocations: 205.4 MB / 223.6 MB, free: 8.934 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.0008241/0.0008242, allocations: 84.98 kB / 271.9 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5187/0.5187, allocations: 48.78 MB / 369 MB, free: 47.34 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 4000 Notification: Performance of FrontEnd - loaded program: time 0.0003744/0.0003743, allocations: 16 kB / 439.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1496, allocations: 60.26 MB / 0.4884 GB, free: 14.29 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.613/7.763, allocations: 2.994 GB / 3.482 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003864/7.763, allocations: 87.81 kB / 3.482 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.339/9.102, allocations: 367.1 MB / 3.841 GB, free: 51.34 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.226e-06/9.102, allocations: 3.031 kB / 3.841 GB, free: 51.34 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.072e-05/9.102, allocations: 11.94 kB / 3.841 GB, free: 51.34 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.006283/9.109, allocations: 1.218 MB / 3.842 GB, free: 50.57 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/9.109, allocations: 11.22 kB / 3.842 GB, free: 50.57 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007359/9.109, allocations: 116.7 kB / 3.842 GB, free: 50.53 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009687/9.11, allocations: 425.3 kB / 3.842 GB, free: 50.22 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.969e-05/9.111, allocations: 35.19 kB / 3.843 GB, free: 50.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/9.111, allocations: 45.17 kB / 3.843 GB, free: 50.19 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/9.112, allocations: 0.6777 MB / 3.843 GB, free: 49.83 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/9.112, allocations: 3.938 kB / 3.843 GB, free: 49.82 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.275e-05/9.112, allocations: 19.58 kB / 3.843 GB, free: 49.81 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/9.112, allocations: 11.81 kB / 3.843 GB, free: 49.81 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001398/9.114, allocations: 0.4948 MB / 3.844 GB, free: 49.66 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.002918/9.117, allocations: 2.306 MB / 3.846 GB, free: 47.69 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/9.118, allocations: 0.5637 MB / 3.847 GB, free: 47.35 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002628/9.118, allocations: 142.2 kB / 3.847 GB, free: 47.29 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05084/9.169, allocations: 31.87 MB / 3.878 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.144e-05/9.169, allocations: 35.91 kB / 3.878 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 3.707e-06/9.169, allocations: 0 / 3.878 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.005489/9.175, allocations: 1.769 MB / 3.88 GB, free: 21.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.954e-05/9.175, allocations: 106.8 kB / 3.88 GB, free: 21.77 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003435/9.175, allocations: 353.6 kB / 3.88 GB, free: 21.42 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.687e-05/9.175, allocations: 33.7 kB / 3.88 GB, free: 21.38 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/9.175, allocations: 232.2 kB / 3.88 GB, free: 21.15 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.425e-05/9.176, allocations: 110 kB / 3.88 GB, free: 21.04 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.26e-05/9.176, allocations: 8 kB / 3.88 GB, free: 21.04 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.816e-05/9.176, allocations: 358.7 kB / 3.881 GB, free: 20.68 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002819/9.176, allocations: 167.9 kB / 3.881 GB, free: 20.51 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003025/9.176, allocations: 230.7 kB / 3.881 GB, free: 20.26 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005727/9.177, allocations: 394.5 kB / 3.881 GB, free: 19.86 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/9.177, allocations: 11.88 kB / 3.881 GB, free: 19.85 MB / 0.5105 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001611/9.179, allocations: 0.7548 MB / 3.882 GB, free: 19.08 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.978e-05/9.179, allocations: 130.8 kB / 3.882 GB, free: 18.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/9.179, allocations: 4 kB / 3.882 GB, free: 18.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001962/9.181, allocations: 0.5276 MB / 3.883 GB, free: 18.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/9.181, allocations: 31.98 kB / 3.883 GB, free: 18.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/9.182, allocations: 0.9932 MB / 3.884 GB, free: 17.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000454/9.182, allocations: 55.95 kB / 3.884 GB, free: 17.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.292e-05/9.182, allocations: 23.97 kB / 3.884 GB, free: 17.27 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.807e-06/9.182, allocations: 4 kB / 3.884 GB, free: 17.27 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001343/9.184, allocations: 0.6336 MB / 3.885 GB, free: 16.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.876e-06/9.184, allocations: 0 / 3.885 GB, free: 16.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001283/9.185, allocations: 465.8 kB / 3.885 GB, free: 16.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/9.185, allocations: 43.92 kB / 3.885 GB, free: 16.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001404/9.187, allocations: 0.9361 MB / 3.886 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005292/9.187, allocations: 67.84 kB / 3.886 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.413e-05/9.187, allocations: 27.97 kB / 3.886 GB, free: 15.08 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.0003033/9.188, allocations: 231.2 kB / 3.886 GB, free: 14.85 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.925e-05/9.188, allocations: 43.47 kB / 3.886 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003099/9.191, allocations: 2.974 MB / 3.889 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/9.191, allocations: 11.98 kB / 3.889 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/9.191, allocations: 0 / 3.889 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/9.191, allocations: 0 / 3.889 GB, free: 11.8 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.004072/9.195, allocations: 4.416 MB / 3.894 GB, free: 7.234 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/9.195, allocations: 4 kB / 3.894 GB, free: 7.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005043/9.195, allocations: 83.88 kB / 3.894 GB, free: 7.148 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002103/9.198, allocations: 1.137 MB / 3.895 GB, free: 6.004 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.145e-05/9.198, allocations: 11.98 kB / 3.895 GB, free: 5.992 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002616/9.2, allocations: 2.784 MB / 3.897 GB, free: 3.027 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/9.2, allocations: 0 / 3.897 GB, free: 3.027 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003881/9.204, allocations: 3.904 MB / 3.901 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002377/9.204, allocations: 132.3 kB / 3.901 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.176e-05/9.204, allocations: 8 kB / 3.901 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003973/9.205, allocations: 47.98 kB / 3.901 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.478e-05/9.205, allocations: 27.95 kB / 3.901 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/9.205, allocations: 8 kB / 3.901 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003256/9.205, allocations: 247.2 kB / 3.902 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2e-07/9.205, allocations: 0 / 3.902 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004932/9.21, allocations: 1.003 MB / 3.903 GB, free: 13.62 MB / 0.5261 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.006022/9.216, allocations: 1.384 MB / 3.904 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002575/9.219, allocations: 0.8221 MB / 3.905 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/9.219, allocations: 0 / 3.905 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001548/9.221, allocations: 495.7 kB / 3.905 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/9.222, allocations: 220.7 kB / 3.906 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/9.224, allocations: 1.533 MB / 3.907 GB, free: 9.305 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000418/9.225, allocations: 0.8518 MB / 3.908 GB, free: 8.43 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003549/9.225, allocations: 104 kB / 3.908 GB, free: 8.328 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.064e-05/9.225, allocations: 43.36 kB / 3.908 GB, free: 8.285 MB / 0.5261 GB Notification: Performance of SimCode: time 9.82e-07/9.225, allocations: 4 kB / 3.908 GB, free: 8.281 MB / 0.5261 GB Notification: Performance of Templates: time 0.3779/9.603, allocations: 38.73 MB / 3.946 GB, free: 76.28 MB / 0.5261 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.makefile (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 & ./ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.pipe 2>&1)