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.002536/0.002536, allocations: 180.6 kB / 8.344 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.243/2.243, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.0009502/0.0009501, allocations: 80.81 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.7277/0.7277, allocations: 48.78 MB / 358.8 MB, free: 53.21 MB / 299.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 4000 Notification: Performance of FrontEnd - loaded program: time 2.107e-05/2.097e-05, allocations: 4 kB / 425.3 MB, free: 8.234 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2009, allocations: 60.25 MB / 485.5 MB, free: 11.84 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.826/10.03, allocations: 2.993 GB / 3.467 GB, free: 78.81 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003717/10.03, allocations: 80.42 kB / 3.467 GB, free: 78.74 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.818/11.84, allocations: 362.6 MB / 3.821 GB, free: 60.54 MB / 0.5108 GB Notification: Performance of FrontEnd: time 3.006e-06/11.84, allocations: 0 / 3.821 GB, free: 60.54 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 8.965e-05/11.84, allocations: 13.97 kB / 3.821 GB, free: 60.53 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.007506/11.85, allocations: 1.162 MB / 3.822 GB, free: 59.94 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/11.85, allocations: 11.75 kB / 3.822 GB, free: 59.94 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007763/11.85, allocations: 108.2 kB / 3.822 GB, free: 59.91 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/11.85, allocations: 420.6 kB / 3.823 GB, free: 59.67 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.15e-05/11.85, allocations: 13.94 kB / 3.823 GB, free: 59.67 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/11.85, allocations: 29.31 kB / 3.823 GB, free: 59.66 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006832/11.86, allocations: 288.8 kB / 3.823 GB, free: 59.66 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007322/11.86, allocations: 451.9 kB / 3.823 GB, free: 59.47 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/11.86, allocations: 0 / 3.823 GB, free: 59.47 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.801e-05/11.86, allocations: 10.98 kB / 3.823 GB, free: 59.46 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/11.86, allocations: 9.406 kB / 3.823 GB, free: 59.46 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.002664/11.86, allocations: 2.212 MB / 3.826 GB, free: 57.8 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005328/11.86, allocations: 421 kB / 3.826 GB, free: 57.58 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/11.86, allocations: 119.9 kB / 3.826 GB, free: 57.57 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06607/11.93, allocations: 31.98 MB / 3.857 GB, free: 38.21 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.071e-05/11.93, allocations: 41.59 kB / 3.857 GB, free: 38.16 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=28): time 3.807e-06/11.93, allocations: 0 / 3.857 GB, free: 38.16 MB / 0.5108 GB Notification: Performance of matching and sorting (n=31): time 0.006345/11.93, allocations: 1.418 MB / 3.859 GB, free: 37.81 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/11.93, allocations: 109.7 kB / 3.859 GB, free: 37.68 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004146/11.93, allocations: 240.5 kB / 3.859 GB, free: 37.57 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 6.083e-05/11.93, allocations: 25.7 kB / 3.859 GB, free: 37.54 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.000171/11.93, allocations: 242.4 kB / 3.859 GB, free: 37.41 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/11.93, allocations: 107.7 kB / 3.86 GB, free: 37.34 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/11.93, allocations: 4 kB / 3.86 GB, free: 37.33 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 0.0001296/11.93, allocations: 355.9 kB / 3.86 GB, free: 37.02 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002459/11.93, allocations: 142.4 kB / 3.86 GB, free: 37.02 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002721/11.93, allocations: 209.1 kB / 3.86 GB, free: 36.95 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007214/11.93, allocations: 193.5 kB / 3.86 GB, free: 36.94 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/11.93, allocations: 0 / 3.86 GB, free: 36.94 MB / 0.5108 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002103/11.94, allocations: 0.7159 MB / 3.861 GB, free: 36.86 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002316/11.94, allocations: 0.5235 MB / 3.862 GB, free: 36.31 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/11.94, allocations: 2.766 kB / 3.862 GB, free: 36.31 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001491/11.94, allocations: 465.9 kB / 3.862 GB, free: 36.28 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/11.94, allocations: 48.53 kB / 3.862 GB, free: 36.27 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001867/11.94, allocations: 1.074 MB / 3.863 GB, free: 35.7 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006137/11.94, allocations: 55.83 kB / 3.863 GB, free: 35.69 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.005e-05/11.94, allocations: 25.88 kB / 3.863 GB, free: 35.68 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/11.94, allocations: 3.969 kB / 3.863 GB, free: 35.68 MB / 0.5108 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001699/11.94, allocations: 0.5772 MB / 3.864 GB, free: 35.49 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/11.94, allocations: 0 / 3.864 GB, free: 35.49 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001233/11.94, allocations: 430.7 kB / 3.864 GB, free: 35.38 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/11.94, allocations: 44.28 kB / 3.864 GB, free: 35.38 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/11.95, allocations: 1.016 MB / 3.865 GB, free: 34.66 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005681/11.95, allocations: 47.86 kB / 3.865 GB, free: 34.66 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-05/11.95, allocations: 22.97 kB / 3.865 GB, free: 34.66 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.0001967/11.95, allocations: 122.9 kB / 3.865 GB, free: 34.54 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/11.95, allocations: 37.78 kB / 3.865 GB, free: 34.52 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004125/11.95, allocations: 3.302 MB / 3.869 GB, free: 33.16 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/11.95, allocations: 11.48 kB / 3.869 GB, free: 33.15 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/11.95, allocations: 0 / 3.869 GB, free: 33.15 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/11.95, allocations: 0 / 3.869 GB, free: 33.15 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.005388/11.96, allocations: 4.683 MB / 3.873 GB, free: 30.75 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/11.96, allocations: 0 / 3.873 GB, free: 30.75 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005747/11.96, allocations: 82.27 kB / 3.873 GB, free: 30.74 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002577/11.96, allocations: 1.467 MB / 3.875 GB, free: 30.25 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.613e-05/11.96, allocations: 11.66 kB / 3.875 GB, free: 30.24 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002984/11.96, allocations: 2.776 MB / 3.877 GB, free: 27.66 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/11.96, allocations: 0 / 3.877 GB, free: 27.66 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004825/11.97, allocations: 4.317 MB / 3.882 GB, free: 25.83 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003094/11.97, allocations: 115.8 kB / 3.882 GB, free: 25.71 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/11.97, allocations: 0 / 3.882 GB, free: 25.71 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004886/11.97, allocations: 48.23 kB / 3.882 GB, free: 25.7 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/11.97, allocations: 27.14 kB / 3.882 GB, free: 25.7 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-05/11.97, allocations: 14.73 kB / 3.882 GB, free: 25.69 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0002627/11.97, allocations: 180.7 kB / 3.882 GB, free: 25.58 MB / 0.5108 GB Notification: Performance of sort global known variables: time 4.6e-07/11.97, allocations: 0 / 3.882 GB, free: 25.58 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.007228/11.98, allocations: 0.9644 MB / 3.883 GB, free: 25.41 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.0107/11.99, allocations: 1.525 MB / 3.884 GB, free: 25.04 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.002832/11.99, allocations: 0.7514 MB / 3.885 GB, free: 24.77 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/11.99, allocations: 4 kB / 3.885 GB, free: 24.77 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.001625/11.99, allocations: 453.1 kB / 3.886 GB, free: 24.52 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001445/11.99, allocations: 177 kB / 3.886 GB, free: 24.48 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00216/12, allocations: 0.9333 MB / 3.887 GB, free: 23.97 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004782/12, allocations: 0.8698 MB / 3.888 GB, free: 23.27 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.0005475/12, allocations: 113 kB / 3.888 GB, free: 23.25 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/12, allocations: 28.72 kB / 3.888 GB, free: 23.24 MB / 0.5108 GB Notification: Performance of SimCode: time 1.272e-06/12, allocations: 0 / 3.888 GB, free: 23.24 MB / 0.5108 GB Notification: Performance of Templates: time 0.05154/12.05, allocations: 31.45 MB / 3.918 GB, free: 18.69 MB / 0.5108 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)