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.001279/0.001279, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.691/1.691, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001143/0.001143, allocations: 104 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5298/0.5298, allocations: 48.77 MB / 367.9 MB, free: 47.43 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 4000 Notification: Performance of FrontEnd - loaded program: time 0.0003424/0.0003424, allocations: 12 kB / 438.6 MB, free: 10.99 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1591, allocations: 60.25 MB / 498.9 MB, free: 14.61 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.196/9.356, allocations: 2.993 GB / 3.481 GB, free: 131.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003596/9.356, allocations: 86.23 kB / 3.481 GB, free: 131.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.215/10.57, allocations: 367.1 MB / 3.839 GB, free: 1.078 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.048e-06/10.57, allocations: 0 / 3.839 GB, free: 1.078 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.651e-05/10.57, allocations: 23.92 kB / 3.839 GB, free: 1.055 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.4689/11.04, allocations: 1.212 MB / 3.84 GB, free: 57.23 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.557e-05/11.04, allocations: 9.75 kB / 3.84 GB, free: 57.23 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/11.04, allocations: 115.1 kB / 3.841 GB, free: 57.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/11.04, allocations: 412.4 kB / 3.841 GB, free: 56.98 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.589e-05/11.04, allocations: 31.12 kB / 3.841 GB, free: 56.98 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/11.04, allocations: 42.45 kB / 3.841 GB, free: 56.98 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002539/11.05, allocations: 0.6813 MB / 3.842 GB, free: 56.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/11.05, allocations: 1.688 kB / 3.842 GB, free: 56.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.255e-05/11.05, allocations: 20.61 kB / 3.842 GB, free: 56.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.979e-05/11.05, allocations: 13.83 kB / 3.842 GB, free: 56.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002118/11.05, allocations: 0.4934 MB / 3.842 GB, free: 56.79 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.003843/11.05, allocations: 2.311 MB / 3.844 GB, free: 55.12 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001951/11.05, allocations: 0.5701 MB / 3.845 GB, free: 54.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08593/11.14, allocations: 31.86 MB / 3.876 GB, free: 35.57 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.763e-05/11.14, allocations: 38.47 kB / 3.876 GB, free: 35.54 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 4.028e-06/11.14, allocations: 0 / 3.876 GB, free: 35.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.007838/11.15, allocations: 1.763 MB / 3.878 GB, free: 35.09 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.815e-05/11.15, allocations: 106.4 kB / 3.878 GB, free: 34.96 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005114/11.15, allocations: 315.8 kB / 3.878 GB, free: 34.86 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.881e-05/11.15, allocations: 29.33 kB / 3.878 GB, free: 34.83 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001924/11.15, allocations: 236.5 kB / 3.879 GB, free: 34.72 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/11.15, allocations: 111.8 kB / 3.879 GB, free: 34.66 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/11.15, allocations: 2.875 kB / 3.879 GB, free: 34.66 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001631/11.15, allocations: 363.5 kB / 3.879 GB, free: 34.35 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003926/11.15, allocations: 164.7 kB / 3.879 GB, free: 34.35 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004125/11.15, allocations: 233.3 kB / 3.879 GB, free: 34.29 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003902/11.15, allocations: 179 kB / 3.88 GB, free: 34.29 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/11.15, allocations: 0 / 3.88 GB, free: 34.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002159/11.15, allocations: 0.7512 MB / 3.88 GB, free: 34.21 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000241/11.15, allocations: 0.5233 MB / 3.881 GB, free: 33.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/11.15, allocations: 3.219 kB / 3.881 GB, free: 33.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002302/11.15, allocations: 0.515 MB / 3.881 GB, free: 33.65 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/11.16, allocations: 44.44 kB / 3.881 GB, free: 33.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001606/11.16, allocations: 0.983 MB / 3.882 GB, free: 33.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007524/11.16, allocations: 55.39 kB / 3.882 GB, free: 33.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.727e-05/11.16, allocations: 29 kB / 3.882 GB, free: 33.12 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/11.16, allocations: 3 kB / 3.882 GB, free: 33.12 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001689/11.16, allocations: 0.6276 MB / 3.883 GB, free: 33.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/11.16, allocations: 0 / 3.883 GB, free: 33.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001624/11.16, allocations: 469.7 kB / 3.883 GB, free: 33.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/11.16, allocations: 45.61 kB / 3.884 GB, free: 33.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001766/11.16, allocations: 0.9372 MB / 3.884 GB, free: 32.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006327/11.16, allocations: 64.11 kB / 3.884 GB, free: 32.56 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.622e-05/11.16, allocations: 30.16 kB / 3.885 GB, free: 32.56 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.0004094/11.16, allocations: 227.9 kB / 3.885 GB, free: 32.37 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/11.16, allocations: 45.06 kB / 3.885 GB, free: 32.35 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004425/11.17, allocations: 2.974 MB / 3.888 GB, free: 32.25 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.825e-05/11.17, allocations: 6.609 kB / 3.888 GB, free: 32.25 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/11.17, allocations: 4.469 kB / 3.888 GB, free: 32.25 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/11.17, allocations: 3.953 kB / 3.888 GB, free: 32.25 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.005709/11.17, allocations: 4.414 MB / 3.892 GB, free: 31.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/11.17, allocations: 0 / 3.892 GB, free: 31.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006092/11.18, allocations: 83.72 kB / 3.892 GB, free: 31.42 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002683/11.18, allocations: 1.15 MB / 3.893 GB, free: 31.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.066e-05/11.18, allocations: 6.469 kB / 3.893 GB, free: 31.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003378/11.18, allocations: 2.794 MB / 3.896 GB, free: 28.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/11.18, allocations: 2.812 kB / 3.896 GB, free: 28.98 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005743/11.19, allocations: 3.897 MB / 3.9 GB, free: 28.79 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000431/11.19, allocations: 129.2 kB / 3.9 GB, free: 28.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/11.19, allocations: 10.84 kB / 3.9 GB, free: 28.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006054/11.19, allocations: 50.97 kB / 3.9 GB, free: 28.66 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001494/11.19, allocations: 27.97 kB / 3.9 GB, free: 28.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.603e-05/11.19, allocations: 10.84 kB / 3.9 GB, free: 28.66 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004113/11.19, allocations: 244.4 kB / 3.9 GB, free: 28.57 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.91e-07/11.19, allocations: 3.375 kB / 3.9 GB, free: 28.57 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009002/11.2, allocations: 1.008 MB / 3.901 GB, free: 28.57 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 () * 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.01235/11.21, allocations: 1.386 MB / 3.903 GB, free: 28.47 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003735/11.21, allocations: 0.8186 MB / 3.903 GB, free: 28.45 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/11.21, allocations: 0 / 3.903 GB, free: 28.45 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002149/11.22, allocations: 480.9 kB / 3.904 GB, free: 28.33 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001977/11.22, allocations: 227.9 kB / 3.904 GB, free: 28.32 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003955/11.22, allocations: 1.532 MB / 3.906 GB, free: 27.71 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007444/11.22, allocations: 0.8632 MB / 3.906 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006028/11.22, allocations: 97.77 kB / 3.906 GB, free: 27 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/11.22, allocations: 36.59 kB / 3.906 GB, free: 27 MB / 0.5105 GB Notification: Performance of SimCode: time 2.484e-06/11.22, allocations: 3.156 kB / 3.906 GB, free: 27 MB / 0.5105 GB Notification: Performance of Templates: time 0.06947/11.29, allocations: 36.87 MB / 3.943 GB, free: 25.65 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)