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.001359/0.001359, allocations: 171.8 kB / 17.4 MB, free: 4.395 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.618/1.618, allocations: 205.4 MB / 223.5 MB, free: 9.016 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.0008126/0.0008123, allocations: 94.28 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4713/0.4713, allocations: 48.77 MB / 369 MB, free: 47.38 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 4000 Notification: Performance of FrontEnd - loaded program: time 0.0004793/0.0004793, allocations: 12 kB / 439.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1279, allocations: 60.25 MB / 0.4884 GB, free: 14.32 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.239/7.367, allocations: 2.994 GB / 3.482 GB, free: 27.27 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/7.367, allocations: 92.81 kB / 3.482 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.584/8.951, allocations: 367.1 MB / 3.841 GB, free: 51.55 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.515e-06/8.951, allocations: 0 / 3.841 GB, free: 51.55 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.718e-05/8.951, allocations: 12.84 kB / 3.841 GB, free: 51.55 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.006816/8.958, allocations: 1.217 MB / 3.842 GB, free: 50.79 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.291e-05/8.958, allocations: 11.72 kB / 3.842 GB, free: 50.79 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007908/8.959, allocations: 111 kB / 3.842 GB, free: 50.75 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/8.96, allocations: 434.5 kB / 3.842 GB, free: 50.43 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.474e-05/8.96, allocations: 36.59 kB / 3.842 GB, free: 50.41 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001936/8.96, allocations: 37.66 kB / 3.842 GB, free: 50.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001952/8.962, allocations: 0.6799 MB / 3.843 GB, free: 50.04 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/8.962, allocations: 7.875 kB / 3.843 GB, free: 50.03 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.087e-05/8.963, allocations: 19.84 kB / 3.843 GB, free: 50.02 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/8.963, allocations: 11.86 kB / 3.843 GB, free: 50.02 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001561/8.964, allocations: 0.4964 MB / 3.844 GB, free: 49.86 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.00288/8.967, allocations: 2.521 MB / 3.846 GB, free: 47.63 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/8.968, allocations: 0.5517 MB / 3.847 GB, free: 47.29 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002479/8.969, allocations: 139 kB / 3.847 GB, free: 47.24 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05612/9.025, allocations: 31.86 MB / 3.878 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.945e-05/9.025, allocations: 43.91 kB / 3.878 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 3.918e-06/9.025, allocations: 0 / 3.878 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.006864/9.032, allocations: 1.761 MB / 3.88 GB, free: 22 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/9.032, allocations: 106.8 kB / 3.88 GB, free: 21.87 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005281/9.032, allocations: 361.6 kB / 3.88 GB, free: 21.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.126e-05/9.032, allocations: 29.7 kB / 3.88 GB, free: 21.47 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/9.033, allocations: 248.1 kB / 3.88 GB, free: 21.22 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/9.033, allocations: 101.6 kB / 3.88 GB, free: 21.12 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.86e-05/9.033, allocations: 8 kB / 3.88 GB, free: 21.12 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001356/9.033, allocations: 358.7 kB / 3.881 GB, free: 20.76 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003458/9.033, allocations: 163.9 kB / 3.881 GB, free: 20.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003464/9.034, allocations: 234.8 kB / 3.881 GB, free: 20.34 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006519/9.034, allocations: 386.5 kB / 3.882 GB, free: 19.95 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/9.034, allocations: 3.938 kB / 3.882 GB, free: 19.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001908/9.036, allocations: 0.7664 MB / 3.882 GB, free: 19.17 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001309/9.036, allocations: 129.4 kB / 3.882 GB, free: 19.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/9.036, allocations: 0 / 3.882 GB, free: 19.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002222/9.039, allocations: 0.5198 MB / 3.883 GB, free: 18.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/9.039, allocations: 43.92 kB / 3.883 GB, free: 18.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001396/9.04, allocations: 0.9816 MB / 3.884 GB, free: 17.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006181/9.041, allocations: 59.95 kB / 3.884 GB, free: 17.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.514e-05/9.041, allocations: 31.97 kB / 3.884 GB, free: 17.36 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/9.041, allocations: 6.031 kB / 3.884 GB, free: 17.36 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001484/9.042, allocations: 0.6188 MB / 3.885 GB, free: 16.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/9.042, allocations: 4.156 kB / 3.885 GB, free: 16.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00141/9.044, allocations: 469.6 kB / 3.885 GB, free: 16.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/9.044, allocations: 43.98 kB / 3.885 GB, free: 16.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001647/9.046, allocations: 0.9439 MB / 3.886 GB, free: 15.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005466/9.046, allocations: 59.84 kB / 3.886 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.313e-05/9.046, allocations: 24.06 kB / 3.886 GB, free: 15.18 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.0003897/9.047, allocations: 243.2 kB / 3.886 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/9.047, allocations: 47.47 kB / 3.886 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003747/9.051, allocations: 2.962 MB / 3.889 GB, free: 11.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.756e-05/9.051, allocations: 11.98 kB / 3.889 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.356e-05/9.051, allocations: 0 / 3.889 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/9.051, allocations: 3.938 kB / 3.889 GB, free: 11.88 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.005034/9.056, allocations: 4.412 MB / 3.894 GB, free: 7.324 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/9.056, allocations: 7.984 kB / 3.894 GB, free: 7.316 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005877/9.056, allocations: 75.95 kB / 3.894 GB, free: 7.242 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002335/9.059, allocations: 1.153 MB / 3.895 GB, free: 6.082 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.483e-05/9.059, allocations: 12 kB / 3.895 GB, free: 6.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003074/9.062, allocations: 2.78 MB / 3.898 GB, free: 3.109 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/9.062, allocations: 0 / 3.898 GB, free: 3.109 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004565/9.066, allocations: 3.903 MB / 3.901 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000317/9.067, allocations: 128.3 kB / 3.901 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-05/9.067, allocations: 8 kB / 3.901 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00049/9.067, allocations: 51.98 kB / 3.902 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/9.067, allocations: 23.95 kB / 3.902 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/9.068, allocations: 8 kB / 3.902 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000412/9.068, allocations: 255.2 kB / 3.902 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.61e-07/9.068, allocations: 0 / 3.902 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006438/9.074, allocations: 0.9993 MB / 3.903 GB, free: 13.7 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.009939/9.084, allocations: 1.39 MB / 3.904 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003344/9.088, allocations: 0.814 MB / 3.905 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/9.088, allocations: 320 / 3.905 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001906/9.09, allocations: 495.8 kB / 3.905 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001806/9.092, allocations: 225 kB / 3.906 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003323/9.095, allocations: 1.529 MB / 3.907 GB, free: 9.395 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007243/9.096, allocations: 0.8596 MB / 3.908 GB, free: 8.512 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005682/9.096, allocations: 99.16 kB / 3.908 GB, free: 8.414 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/9.096, allocations: 35.42 kB / 3.908 GB, free: 8.379 MB / 0.5261 GB Notification: Performance of SimCode: time 1.784e-06/9.096, allocations: 0 / 3.908 GB, free: 8.379 MB / 0.5261 GB Notification: Performance of Templates: time 0.4049/9.501, allocations: 38.7 MB / 3.946 GB, free: 76.41 MB / 0.5261 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)