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.001235/0.001235, allocations: 181.3 kB / 8.346 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.251/2.251, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 92.22 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6721/0.6721, allocations: 48.77 MB / 358.8 MB, free: 53.13 MB / 299.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 4000 Notification: Performance of FrontEnd - loaded program: time 1.993e-05/2.003e-05, allocations: 0 / 425.3 MB, free: 8.23 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1836, allocations: 60.24 MB / 485.5 MB, free: 11.84 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.672/9.856, allocations: 2.993 GB / 3.467 GB, free: 77.88 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000356/9.856, allocations: 75.27 kB / 3.467 GB, free: 77.82 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.855/11.71, allocations: 362.5 MB / 3.821 GB, free: 60.18 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.513e-06/11.71, allocations: 0 / 3.821 GB, free: 60.18 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 8.101e-05/11.71, allocations: 19.14 kB / 3.821 GB, free: 60.18 MB / 0.5108 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.006344/11.72, allocations: 1.168 MB / 3.822 GB, free: 59.59 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/11.72, allocations: 7.906 kB / 3.822 GB, free: 59.59 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007211/11.72, allocations: 124.1 kB / 3.822 GB, free: 59.55 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/11.72, allocations: 409.6 kB / 3.823 GB, free: 59.31 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.929e-05/11.72, allocations: 13.84 kB / 3.823 GB, free: 59.31 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/11.72, allocations: 30.5 kB / 3.823 GB, free: 59.3 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006294/11.72, allocations: 284.7 kB / 3.823 GB, free: 59.3 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007481/11.72, allocations: 459.6 kB / 3.823 GB, free: 59.11 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/11.72, allocations: 3.75 kB / 3.823 GB, free: 59.11 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.472e-05/11.72, allocations: 3.953 kB / 3.823 GB, free: 59.11 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/11.72, allocations: 11.19 kB / 3.823 GB, free: 59.11 MB / 0.5108 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.002663/11.72, allocations: 2.415 MB / 3.826 GB, free: 57.19 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005336/11.72, allocations: 417.8 kB / 3.826 GB, free: 56.98 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/11.73, allocations: 121.7 kB / 3.826 GB, free: 56.97 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06056/11.79, allocations: 31.98 MB / 3.857 GB, free: 37.6 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.804e-05/11.79, allocations: 34.16 kB / 3.858 GB, free: 37.56 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=28): time 4.518e-06/11.79, allocations: 7.656 kB / 3.858 GB, free: 37.56 MB / 0.5108 GB Notification: Performance of matching and sorting (n=31): time 0.006336/11.79, allocations: 1.415 MB / 3.859 GB, free: 37.2 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/11.79, allocations: 110.4 kB / 3.859 GB, free: 37.08 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000373/11.79, allocations: 245.2 kB / 3.859 GB, free: 36.96 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 5.666e-05/11.79, allocations: 32.3 kB / 3.859 GB, free: 36.93 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/11.79, allocations: 245.8 kB / 3.86 GB, free: 36.79 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/11.79, allocations: 97.94 kB / 3.86 GB, free: 36.73 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/11.79, allocations: 3.781 kB / 3.86 GB, free: 36.73 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 0.0001142/11.79, allocations: 347.5 kB / 3.86 GB, free: 36.41 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000236/11.79, allocations: 149 kB / 3.86 GB, free: 36.41 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000282/11.79, allocations: 211.2 kB / 3.86 GB, free: 36.34 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007283/11.79, allocations: 192.8 kB / 3.86 GB, free: 36.33 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/11.79, allocations: 0 / 3.86 GB, free: 36.33 MB / 0.5108 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002061/11.8, allocations: 0.7111 MB / 3.861 GB, free: 36.07 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002115/11.8, allocations: 0.5278 MB / 3.862 GB, free: 35.52 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/11.8, allocations: 3.422 kB / 3.862 GB, free: 35.52 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001474/11.8, allocations: 469.5 kB / 3.862 GB, free: 35.4 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/11.8, allocations: 35.66 kB / 3.862 GB, free: 35.4 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001807/11.8, allocations: 1.081 MB / 3.863 GB, free: 34.66 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005663/11.8, allocations: 47.12 kB / 3.863 GB, free: 34.66 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.587e-05/11.8, allocations: 26.61 kB / 3.863 GB, free: 34.65 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/11.8, allocations: 3.938 kB / 3.863 GB, free: 34.65 MB / 0.5108 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001676/11.8, allocations: 0.5823 MB / 3.864 GB, free: 34.45 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/11.8, allocations: 7.656 kB / 3.864 GB, free: 34.45 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001217/11.8, allocations: 420.4 kB / 3.864 GB, free: 34.35 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/11.8, allocations: 43.31 kB / 3.864 GB, free: 34.34 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00195/11.81, allocations: 1.012 MB / 3.865 GB, free: 33.64 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005166/11.81, allocations: 46.56 kB / 3.865 GB, free: 33.63 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.507e-05/11.81, allocations: 25.69 kB / 3.865 GB, free: 33.63 MB / 0.5108 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 () * 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.0001934/11.81, allocations: 122.8 kB / 3.865 GB, free: 33.5 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/11.81, allocations: 41.03 kB / 3.866 GB, free: 33.48 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003978/11.81, allocations: 3.294 MB / 3.869 GB, free: 32.13 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/11.81, allocations: 10.92 kB / 3.869 GB, free: 32.13 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/11.81, allocations: 3.875 kB / 3.869 GB, free: 32.13 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/11.81, allocations: 2.766 kB / 3.869 GB, free: 32.13 MB / 0.5108 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.005285/11.82, allocations: 4.68 MB / 3.873 GB, free: 29.72 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/11.82, allocations: 3.938 kB / 3.873 GB, free: 29.72 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005721/11.82, allocations: 81.2 kB / 3.873 GB, free: 29.71 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002516/11.82, allocations: 1.467 MB / 3.875 GB, free: 29.22 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.66e-05/11.82, allocations: 7.422 kB / 3.875 GB, free: 29.21 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002919/11.82, allocations: 2.782 MB / 3.878 GB, free: 26.62 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/11.82, allocations: 3.375 kB / 3.878 GB, free: 26.62 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00461/11.83, allocations: 4.308 MB / 3.882 GB, free: 24.8 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002775/11.83, allocations: 122.9 kB / 3.882 GB, free: 24.68 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/11.83, allocations: 0 / 3.882 GB, free: 24.68 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004751/11.83, allocations: 48 kB / 3.882 GB, free: 24.67 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/11.83, allocations: 30.3 kB / 3.882 GB, free: 24.66 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.291e-05/11.83, allocations: 13.97 kB / 3.882 GB, free: 24.66 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0002405/11.83, allocations: 184.5 kB / 3.882 GB, free: 24.54 MB / 0.5108 GB Notification: Performance of sort global known variables: time 3.4e-07/11.83, allocations: 0 / 3.882 GB, free: 24.54 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.006151/11.83, allocations: 0.9594 MB / 3.883 GB, free: 24.38 MB / 0.5108 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 () * 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.009871/11.84, allocations: 1.522 MB / 3.885 GB, free: 24.01 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.002734/11.85, allocations: 0.7423 MB / 3.885 GB, free: 23.74 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/11.85, allocations: 0 / 3.885 GB, free: 23.74 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.001611/11.85, allocations: 462 kB / 3.886 GB, free: 23.49 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/11.85, allocations: 175.6 kB / 3.886 GB, free: 23.45 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002265/11.85, allocations: 0.9293 MB / 3.887 GB, free: 22.95 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004749/11.85, allocations: 0.865 MB / 3.888 GB, free: 22.24 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.0005114/11.85, allocations: 113.2 kB / 3.888 GB, free: 22.22 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/11.85, allocations: 34.09 kB / 3.888 GB, free: 22.21 MB / 0.5108 GB Notification: Performance of SimCode: time 1.242e-06/11.85, allocations: 0 / 3.888 GB, free: 22.21 MB / 0.5108 GB Notification: Performance of Templates: time 0.05594/11.91, allocations: 31.42 MB / 3.918 GB, free: 17.29 MB / 0.5108 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)