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.0008228/0.0008229, allocations: 92.12 kB / 16.65 MB, free: 6.59 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.0008354/0.0008354, allocations: 182.1 kB / 17.56 MB, free: 6.203 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.405/1.405, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2816/0.2816, allocations: 48.78 MB / 320.8 MB, free: 11.12 MB / 270.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.0005252/0.0005252, allocations: 17.92 kB / 391.8 MB, free: 50.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09573/0.09627, allocations: 60.26 MB / 452.1 MB, free: 9.176 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam): time 0.05433/0.1506, allocations: 56.02 MB / 0.4962 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01392/0.1646, allocations: 11.33 MB / 0.5073 GB, free: 5.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004864/0.1651, allocations: 11.88 kB / 0.5073 GB, free: 5.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008433/0.166, allocations: 234.7 kB / 0.5075 GB, free: 5.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007258/0.1667, allocations: 337.9 kB / 0.5078 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01253/0.1793, allocations: 4.026 MB / 0.5117 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001761/0.1811, allocations: 1.324 MB / 0.513 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004516/0.1815, allocations: 271.9 kB / 0.5133 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005132/0.182, allocations: 310.7 kB / 0.5136 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004354/0.1825, allocations: 362.3 kB / 0.5139 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.946e-05/0.1826, allocations: 20 kB / 0.514 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01117/0.1937, allocations: 6.259 MB / 0.5201 GB, free: 8.449 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.1939, allocations: 83.61 kB / 0.5201 GB, free: 8.367 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003743/0.1943, allocations: 292.4 kB / 0.5204 GB, free: 8.074 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009561/0.2039, allocations: 3.89 MB / 0.5242 GB, free: 4.176 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.2039, allocations: 4 kB / 0.5242 GB, free: 4.172 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.2039, allocations: 0 / 0.5242 GB, free: 4.172 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.2039, allocations: 0 / 0.5242 GB, free: 4.172 MB / 414.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.003141/0.2071, allocations: 1.166 MB / 0.5254 GB, free: 2.957 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/0.2072, allocations: 12.02 kB / 0.5254 GB, free: 2.945 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004638/0.2076, allocations: 104.2 kB / 0.5255 GB, free: 2.844 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000467/0.2081, allocations: 367.7 kB / 0.5258 GB, free: 2.445 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/0.2081, allocations: 29.38 kB / 0.5259 GB, free: 2.418 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.783e-05/0.2082, allocations: 48.03 kB / 0.5259 GB, free: 2.371 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.2098, allocations: 0.628 MB / 0.5265 GB, free: 1.707 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.2098, allocations: 0 / 0.5265 GB, free: 1.707 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.373e-05/0.2098, allocations: 16 kB / 0.5265 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.2099, allocations: 8 kB / 0.5265 GB, free: 1.684 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.2112, allocations: 0.5074 MB / 0.527 GB, free: 1.18 MB / 414.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.215/0.4262, allocations: 2.308 MB / 0.5293 GB, free: 85.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.4276, allocations: 0.5662 MB / 0.5298 GB, free: 85.31 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002463/0.4279, allocations: 139 kB / 0.53 GB, free: 85.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0612/0.4891, allocations: 32.29 MB / 0.5615 GB, free: 62.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.4892, allocations: 30.56 kB / 0.5615 GB, free: 62.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 2.965e-06/0.4892, allocations: 1.031 kB / 0.5615 GB, free: 62.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.005353/0.4945, allocations: 1.786 MB / 0.5633 GB, free: 61.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.4946, allocations: 106.8 kB / 0.5634 GB, free: 61.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002907/0.4949, allocations: 355.7 kB / 0.5637 GB, free: 61.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.595e-05/0.4949, allocations: 33.67 kB / 0.5638 GB, free: 61.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.4951, allocations: 233 kB / 0.564 GB, free: 61.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.59e-05/0.4951, allocations: 116.5 kB / 0.5641 GB, free: 61.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.458e-05/0.4952, allocations: 42.47 kB / 0.5641 GB, free: 61.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.179e-05/0.4953, allocations: 350.6 kB / 0.5645 GB, free: 60.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002937/0.4956, allocations: 166 kB / 0.5646 GB, free: 60.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003108/0.4959, allocations: 241 kB / 0.5649 GB, free: 60.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006213/0.4965, allocations: 384.9 kB / 0.5652 GB, free: 60.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4966, allocations: 0 / 0.5652 GB, free: 60.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00182/0.4984, allocations: 0.7688 MB / 0.566 GB, free: 60 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.082e-05/0.4985, allocations: 123.3 kB / 0.5661 GB, free: 59.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.4985, allocations: 2.469 kB / 0.5661 GB, free: 59.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002211/0.5007, allocations: 0.5361 MB / 0.5666 GB, free: 59.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.5009, allocations: 44.31 kB / 0.5667 GB, free: 59.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/0.5021, allocations: 0.9826 MB / 0.5676 GB, free: 58.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004093/0.5025, allocations: 59.86 kB / 0.5677 GB, free: 58.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.594e-05/0.5026, allocations: 31.97 kB / 0.5677 GB, free: 58.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.237e-06/0.5026, allocations: 4 kB / 0.5677 GB, free: 58.64 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001459/0.5041, allocations: 0.63 MB / 0.5683 GB, free: 58.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.5041, allocations: 3.938 kB / 0.5683 GB, free: 58.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001417/0.5055, allocations: 482.1 kB / 0.5688 GB, free: 57.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.5057, allocations: 39.98 kB / 0.5688 GB, free: 57.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/0.5071, allocations: 0.9738 MB / 0.5698 GB, free: 56.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004025/0.5076, allocations: 56.89 kB / 0.5698 GB, free: 56.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.313e-05/0.5076, allocations: 27.97 kB / 0.5699 GB, free: 56.42 MB / 414.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0002567/0.5079, allocations: 240.8 kB / 0.5701 GB, free: 56.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.049e-05/0.508, allocations: 39.53 kB / 0.5701 GB, free: 56.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003523/0.5115, allocations: 3.016 MB / 0.5731 GB, free: 53.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/0.5115, allocations: 11.98 kB / 0.5731 GB, free: 53.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/0.5115, allocations: 0 / 0.5731 GB, free: 53.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.5116, allocations: 4 kB / 0.5731 GB, free: 53.11 MB / 414.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.004386/0.516, allocations: 4.491 MB / 0.5775 GB, free: 48.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.516, allocations: 0 / 0.5775 GB, free: 48.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005365/0.5165, allocations: 79.14 kB / 0.5775 GB, free: 48.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002252/0.5188, allocations: 1.168 MB / 0.5787 GB, free: 47.22 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.673e-05/0.5189, allocations: 7.984 kB / 0.5787 GB, free: 47.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002885/0.5218, allocations: 2.772 MB / 0.5814 GB, free: 44.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5219, allocations: 0 / 0.5814 GB, free: 44.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003711/0.5256, allocations: 3.966 MB / 0.5853 GB, free: 40.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001896/0.5258, allocations: 124.4 kB / 0.5854 GB, free: 40.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.8e-05/0.5259, allocations: 4 kB / 0.5854 GB, free: 40.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003979/0.5263, allocations: 61.67 kB / 0.5855 GB, free: 40.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.5264, allocations: 23.95 kB / 0.5855 GB, free: 40.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/0.5264, allocations: 12 kB / 0.5855 GB, free: 40.03 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002365/0.5267, allocations: 255.2 kB / 0.5857 GB, free: 39.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5267, allocations: 0 / 0.5857 GB, free: 39.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002501/0.5292, allocations: 0.9615 MB / 0.5867 GB, free: 38.89 MB / 414.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 (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003693/0.5329, allocations: 0.9696 MB / 0.5876 GB, free: 38.06 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002227/0.5351, allocations: 0.8185 MB / 0.5884 GB, free: 37.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.5351, allocations: 0 / 0.5884 GB, free: 37.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001385/0.5365, allocations: 0.4922 MB / 0.5889 GB, free: 36.74 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/0.5379, allocations: 236.8 kB / 0.5891 GB, free: 36.51 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.5396, allocations: 1.57 MB / 0.5907 GB, free: 34.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.5399, allocations: 0.8518 MB / 0.5915 GB, free: 34.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003138/0.5402, allocations: 106.6 kB / 0.5916 GB, free: 33.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.792e-05/0.5403, allocations: 31.44 kB / 0.5916 GB, free: 33.92 MB / 414.1 MB Notification: Performance of SimCode: time 7.31e-07/0.5403, allocations: 0 / 0.5916 GB, free: 33.92 MB / 414.1 MB Notification: Performance of Templates: time 0.04431/0.5846, allocations: 40.12 MB / 0.6308 GB, free: 9.766 MB / 430.1 MB 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: