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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 89.98 kB / 16.31 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001829/0.001829, allocations: 187 kB / 17.21 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.805/1.805, allocations: 205.4 MB / 223.4 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5088/0.5088, allocations: 48.77 MB / 320.4 MB, free: 3.82 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 4000 Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005481/0.0005482, allocations: 16 kB / 391.2 MB, free: 14.31 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1401, allocations: 60.26 MB / 451.4 MB, free: 1.906 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam): time 0.3076/0.4477, allocations: 52.27 MB / 0.4919 GB, free: 15.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01262/0.4604, allocations: 10.03 MB / 0.5017 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006598/0.4611, allocations: 18.72 kB / 0.5017 GB, free: 8.594 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008853/0.462, allocations: 214.4 kB / 0.5019 GB, free: 8.414 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008803/0.4629, allocations: 370.4 kB / 0.5023 GB, free: 8.109 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01564/0.4785, allocations: 3.831 MB / 0.506 GB, free: 5.273 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001752/0.4803, allocations: 1.131 MB / 0.5071 GB, free: 4.605 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005682/0.4809, allocations: 259.1 kB / 0.5073 GB, free: 4.449 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006225/0.4815, allocations: 303.7 kB / 0.5076 GB, free: 4.312 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004707/0.482, allocations: 352.1 kB / 0.508 GB, free: 4.109 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.686e-05/0.4821, allocations: 21.97 kB / 0.508 GB, free: 4.109 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01384/0.4959, allocations: 6.013 MB / 0.5139 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001549/0.4961, allocations: 71.25 kB / 0.5139 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003764/0.4965, allocations: 130.9 kB / 0.5141 GB, free: 1.074 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006361/0.5029, allocations: 2.598 MB / 0.5166 GB, free: 15.56 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.5029, allocations: 5.156 kB / 0.5166 GB, free: 15.56 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.39e-06/0.5029, allocations: 0 / 0.5166 GB, free: 15.56 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.617e-06/0.5029, allocations: 7.875 kB / 0.5166 GB, free: 15.55 MB / 398.1 MB 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.004452/0.5074, allocations: 1.168 MB / 0.5178 GB, free: 14.56 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.5075, allocations: 8.031 kB / 0.5178 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004688/0.5079, allocations: 107.2 kB / 0.5179 GB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005467/0.5085, allocations: 354.7 kB / 0.5182 GB, free: 14.06 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.443e-05/0.5086, allocations: 31.5 kB / 0.5182 GB, free: 14.03 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.081e-05/0.5086, allocations: 43.91 kB / 0.5183 GB, free: 13.99 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.5102, allocations: 0.6218 MB / 0.5189 GB, free: 13.33 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.5102, allocations: 3.938 kB / 0.5189 GB, free: 13.33 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.404e-05/0.5102, allocations: 20 kB / 0.5189 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.5103, allocations: 12 kB / 0.5189 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.5116, allocations: 0.4996 MB / 0.5194 GB, free: 12.8 MB / 398.1 MB 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.002507/0.5141, allocations: 2.313 MB / 0.5217 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/0.5153, allocations: 0.563 MB / 0.5222 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002469/0.5156, allocations: 140.7 kB / 0.5223 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06145/0.577, allocations: 32.29 MB / 0.5539 GB, free: 5.383 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.688e-05/0.5771, allocations: 30.56 kB / 0.5539 GB, free: 5.344 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 2.605e-06/0.5771, allocations: 0 / 0.5539 GB, free: 5.344 MB / 430.1 MB Notification: Performance of matching and sorting (n=31): time 0.005899/0.583, allocations: 1.78 MB / 0.5556 GB, free: 3.484 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.58e-05/0.5831, allocations: 110.8 kB / 0.5558 GB, free: 3.352 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004345/0.5836, allocations: 349.6 kB / 0.5561 GB, free: 3.004 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.561e-05/0.5836, allocations: 33.7 kB / 0.5561 GB, free: 2.965 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.5838, allocations: 232.2 kB / 0.5563 GB, free: 2.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.5839, allocations: 114.3 kB / 0.5564 GB, free: 2.617 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.071e-05/0.584, allocations: 12 kB / 0.5565 GB, free: 2.605 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.5842, allocations: 354.8 kB / 0.5568 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003526/0.5845, allocations: 171.9 kB / 0.557 GB, free: 2.082 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003584/0.5849, allocations: 226.8 kB / 0.5572 GB, free: 1.836 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003457/0.5852, allocations: 179.8 kB / 0.5574 GB, free: 1.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/0.5853, allocations: 4 kB / 0.5574 GB, free: 1.656 MB / 430.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001775/0.587, allocations: 0.7556 MB / 0.5581 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.5872, allocations: 125.5 kB / 0.5582 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.5872, allocations: 1.406 kB / 0.5582 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002067/0.5893, allocations: 0.5322 MB / 0.5587 GB, free: 216 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.5894, allocations: 43.88 kB / 0.5588 GB, free: 172 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001413/0.5909, allocations: 0.983 MB / 0.5597 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004713/0.5913, allocations: 59.92 kB / 0.5598 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.614e-05/0.5914, allocations: 19.98 kB / 0.5598 GB, free: 15.08 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.5914, allocations: 7.938 kB / 0.5598 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001483/0.5929, allocations: 0.6367 MB / 0.5604 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.5929, allocations: 4 kB / 0.5604 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00142/0.5944, allocations: 464.6 kB / 0.5609 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.5945, allocations: 47.91 kB / 0.5609 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/0.596, allocations: 0.9384 MB / 0.5618 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004122/0.5964, allocations: 52 kB / 0.5619 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.24e-05/0.5965, allocations: 27.97 kB / 0.5619 GB, free: 12.89 MB / 446.1 MB 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.0002407/0.5967, allocations: 237 kB / 0.5622 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.109e-05/0.5968, allocations: 43.53 kB / 0.5622 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003642/0.6005, allocations: 3.012 MB / 0.5651 GB, free: 9.578 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/0.6005, allocations: 11.98 kB / 0.5651 GB, free: 9.566 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.6005, allocations: 0 / 0.5651 GB, free: 9.566 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.6005, allocations: 11.94 kB / 0.5652 GB, free: 9.555 MB / 446.1 MB 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.004849/0.6054, allocations: 4.48 MB / 0.5695 GB, free: 4.914 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.6054, allocations: 7.938 kB / 0.5695 GB, free: 4.906 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005007/0.6059, allocations: 83.89 kB / 0.5696 GB, free: 4.824 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002258/0.6082, allocations: 1.161 MB / 0.5708 GB, free: 3.656 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.843e-05/0.6082, allocations: 7.984 kB / 0.5708 GB, free: 3.648 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003017/0.6113, allocations: 2.772 MB / 0.5735 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.6113, allocations: 9.141 kB / 0.5735 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004294/0.6156, allocations: 3.955 MB / 0.5773 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001753/0.6158, allocations: 124.4 kB / 0.5775 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.983e-05/0.6159, allocations: 15.98 kB / 0.5775 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003621/0.6162, allocations: 47.86 kB / 0.5775 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.634e-05/0.6163, allocations: 35.45 kB / 0.5776 GB, free: 12.47 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.471e-05/0.6164, allocations: 11.94 kB / 0.5776 GB, free: 12.46 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002581/0.6166, allocations: 251.2 kB / 0.5778 GB, free: 12.21 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6166, allocations: 0 / 0.5778 GB, free: 12.21 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003495/0.6201, allocations: 0.9606 MB / 0.5787 GB, free: 11.25 MB / 462.1 MB 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.005411/0.6256, allocations: 0.9679 MB / 0.5797 GB, free: 10.29 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00223/0.6278, allocations: 0.8128 MB / 0.5805 GB, free: 9.477 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.6278, allocations: 0 / 0.5805 GB, free: 9.477 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001363/0.6292, allocations: 499.8 kB / 0.581 GB, free: 8.973 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/0.6305, allocations: 235.9 kB / 0.5812 GB, free: 8.746 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.6326, allocations: 1.528 MB / 0.5827 GB, free: 7.211 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.633, allocations: 0.8518 MB / 0.5835 GB, free: 6.332 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003371/0.6334, allocations: 97.59 kB / 0.5836 GB, free: 6.234 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.124e-05/0.6335, allocations: 39.42 kB / 0.5836 GB, free: 6.199 MB / 462.1 MB Notification: Performance of SimCode: time 6.31e-07/0.6335, allocations: 0 / 0.5836 GB, free: 6.199 MB / 462.1 MB Notification: Performance of Templates: time 0.05483/0.6883, allocations: 40.36 MB / 0.623 GB, free: 13.84 MB / 0.4981 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: