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.001719/0.001719, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.985/1.985, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.0009325/0.0009327, allocations: 90.64 kB / 267.5 MB, free: 14.09 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3864/0.3864, allocations: 48.78 MB / 364.3 MB, free: 6.863 MB / 266.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 4000 Notification: Performance of FrontEnd - loaded program: time 3.703e-05/3.72e-05, allocations: 4 kB / 432.5 MB, free: 16.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1704, allocations: 60.24 MB / 492.7 MB, free: 4.379 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.793/9.963, allocations: 2.993 GB / 3.475 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003474/9.963, allocations: 81.75 kB / 3.475 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.633/11.6, allocations: 365.6 MB / 3.832 GB, free: 67.52 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.352e-06/11.6, allocations: 0 / 3.832 GB, free: 67.52 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.84e-05/11.6, allocations: 18.8 kB / 3.832 GB, free: 67.52 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.005473/11.6, allocations: 1.167 MB / 3.833 GB, free: 67.02 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/11.6, allocations: 9.156 kB / 3.833 GB, free: 67.02 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005799/11.6, allocations: 116.2 kB / 3.833 GB, free: 67 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008013/11.6, allocations: 414.5 kB / 3.833 GB, free: 66.77 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.468e-05/11.6, allocations: 29.12 kB / 3.833 GB, free: 66.77 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.344e-05/11.6, allocations: 43.12 kB / 3.833 GB, free: 66.77 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/11.61, allocations: 0.6787 MB / 3.834 GB, free: 66.59 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/11.61, allocations: 3.312 kB / 3.834 GB, free: 66.59 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.619e-05/11.61, allocations: 22.92 kB / 3.834 GB, free: 66.59 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.717e-05/11.61, allocations: 9.438 kB / 3.834 GB, free: 66.59 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/11.61, allocations: 488.6 kB / 3.835 GB, free: 66.59 MB / 0.5105 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.002322/11.61, allocations: 2.307 MB / 3.837 GB, free: 64.91 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/11.61, allocations: 0.5592 MB / 3.837 GB, free: 64.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000212/11.61, allocations: 123.4 kB / 3.838 GB, free: 64.69 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0593/11.67, allocations: 31.98 MB / 3.869 GB, free: 45.33 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.426e-05/11.67, allocations: 37.42 kB / 3.869 GB, free: 45.29 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 2.264e-06/11.67, allocations: 0 / 3.869 GB, free: 45.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.005273/11.67, allocations: 1.532 MB / 3.87 GB, free: 44.95 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/11.68, allocations: 110.5 kB / 3.87 GB, free: 44.82 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000368/11.68, allocations: 309.8 kB / 3.871 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.019e-05/11.68, allocations: 37.08 kB / 3.871 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/11.68, allocations: 236.1 kB / 3.871 GB, free: 44.56 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.333e-05/11.68, allocations: 117.2 kB / 3.871 GB, free: 44.51 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-05/11.68, allocations: 3.375 kB / 3.871 GB, free: 44.51 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001073/11.68, allocations: 351.1 kB / 3.871 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002315/11.68, allocations: 151.8 kB / 3.872 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002837/11.68, allocations: 205.2 kB / 3.872 GB, free: 44.13 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002801/11.68, allocations: 162.9 kB / 3.872 GB, free: 44.13 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/11.68, allocations: 3.844 kB / 3.872 GB, free: 44.13 MB / 0.5105 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001572/11.68, allocations: 0.7041 MB / 3.873 GB, free: 44.06 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001515/11.68, allocations: 0.5295 MB / 3.873 GB, free: 43.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.587e-06/11.68, allocations: 7.75 kB / 3.873 GB, free: 43.51 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001769/11.68, allocations: 491.1 kB / 3.874 GB, free: 43.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/11.68, allocations: 44.19 kB / 3.874 GB, free: 43.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/11.68, allocations: 0.9793 MB / 3.875 GB, free: 42.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005282/11.68, allocations: 56.3 kB / 3.875 GB, free: 42.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.66e-05/11.68, allocations: 28.66 kB / 3.875 GB, free: 42.96 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/11.68, allocations: 6.688 kB / 3.875 GB, free: 42.96 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001291/11.68, allocations: 0.5923 MB / 3.875 GB, free: 42.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/11.68, allocations: 0 / 3.875 GB, free: 42.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001284/11.68, allocations: 446.5 kB / 3.876 GB, free: 42.94 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/11.69, allocations: 44.06 kB / 3.876 GB, free: 42.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00158/11.69, allocations: 0.933 MB / 3.877 GB, free: 42.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005331/11.69, allocations: 53.27 kB / 3.877 GB, free: 42.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.507e-05/11.69, allocations: 28.53 kB / 3.877 GB, free: 42.4 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 () * 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.0001759/11.69, allocations: 124.4 kB / 3.877 GB, free: 42.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.569e-05/11.69, allocations: 44.5 kB / 3.877 GB, free: 42.27 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003872/11.69, allocations: 3.332 MB / 3.88 GB, free: 42.17 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/11.69, allocations: 11.44 kB / 3.88 GB, free: 42.17 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/11.69, allocations: 3.562 kB / 3.88 GB, free: 42.17 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/11.69, allocations: 0 / 3.88 GB, free: 42.17 MB / 0.5105 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.004913/11.7, allocations: 4.775 MB / 3.885 GB, free: 41.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/11.7, allocations: 0 / 3.885 GB, free: 41.35 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005789/11.7, allocations: 83.48 kB / 3.885 GB, free: 41.35 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002447/11.7, allocations: 1.473 MB / 3.886 GB, free: 41.33 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-05/11.7, allocations: 7.5 kB / 3.886 GB, free: 41.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002731/11.7, allocations: 2.779 MB / 3.889 GB, free: 38.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/11.7, allocations: 0 / 3.889 GB, free: 38.91 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004314/11.71, allocations: 4.339 MB / 3.893 GB, free: 38.71 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002889/11.71, allocations: 133.1 kB / 3.893 GB, free: 38.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.816e-05/11.71, allocations: 12.47 kB / 3.893 GB, free: 38.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003974/11.71, allocations: 49.06 kB / 3.893 GB, free: 38.58 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.493e-05/11.71, allocations: 24.67 kB / 3.894 GB, free: 38.58 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-05/11.71, allocations: 6.875 kB / 3.894 GB, free: 38.58 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002817/11.71, allocations: 243.7 kB / 3.894 GB, free: 38.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2e-07/11.71, allocations: 0 / 3.894 GB, free: 38.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005668/11.71, allocations: 1.009 MB / 3.895 GB, free: 38.37 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 () * 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.007109/11.72, allocations: 1.39 MB / 3.896 GB, free: 38.13 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002604/11.72, allocations: 0.7803 MB / 3.897 GB, free: 38.11 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/11.72, allocations: 0 / 3.897 GB, free: 38.11 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001429/11.72, allocations: 463.3 kB / 3.897 GB, free: 38 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/11.73, allocations: 234.5 kB / 3.898 GB, free: 37.99 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/11.73, allocations: 0.9545 MB / 3.898 GB, free: 37.73 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/11.73, allocations: 0.8729 MB / 3.899 GB, free: 37.02 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000403/11.73, allocations: 121.9 kB / 3.899 GB, free: 37.02 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.126e-05/11.73, allocations: 35.38 kB / 3.899 GB, free: 37.01 MB / 0.5105 GB Notification: Performance of SimCode: time 8.61e-07/11.73, allocations: 0 / 3.899 GB, free: 37.01 MB / 0.5105 GB Notification: Performance of Templates: time 0.04974/11.78, allocations: 40.25 MB / 3.939 GB, free: 35.1 MB / 0.5105 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)