Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.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.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001214, allocations: 110.9 kB / 17.75 MB, free: 5.332 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.001218/0.001218, allocations: 190.6 kB / 18.68 MB, free: 4.406 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.206/1.206, allocations: 205.1 MB / 224.5 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2442/0.2442, allocations: 48.84 MB / 320.7 MB, free: 11.02 MB / 270.1 MB 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.00149/0.00149, allocations: 67.91 kB / 451.2 MB, free: 8.512 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08625/0.08775, allocations: 59.16 MB / 0.4984 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp): time 0.2212/0.309, allocations: 52.01 MB / 0.5492 GB, free: 4.652 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01589/0.3249, allocations: 15.73 MB / 0.5646 GB, free: 10.5 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00058/0.3255, allocations: 15.72 kB / 0.5646 GB, free: 10.49 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008847/0.3264, allocations: 330.5 kB / 0.5649 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01145/0.3379, allocations: 4.738 MB / 0.5695 GB, free: 8.285 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003524/0.3415, allocations: 1.428 MB / 0.5709 GB, free: 7.191 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001816/0.3433, allocations: 1.688 MB / 0.5726 GB, free: 6.234 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007806/0.3441, allocations: 0.5865 MB / 0.5732 GB, free: 5.867 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009573/0.3451, allocations: 0.6214 MB / 0.5738 GB, free: 5.535 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009881/0.3461, allocations: 0.6719 MB / 0.5744 GB, free: 5.133 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001767/0.3462, allocations: 81.38 kB / 0.5745 GB, free: 5.133 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0127/0.3589, allocations: 7.259 MB / 0.5816 GB, free: 1.387 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000382/0.3593, allocations: 347.3 kB / 0.5819 GB, free: 1.145 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006655/0.36, allocations: 0.5254 MB / 0.5824 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00752/0.3676, allocations: 5.009 MB / 0.5873 GB, free: 13.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3676, allocations: 0 / 0.5873 GB, free: 13.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3676, allocations: 0 / 0.5873 GB, free: 13.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.904e-05/0.3676, allocations: 3.188 kB / 0.5873 GB, free: 13.62 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.005038/0.3727, allocations: 1.91 MB / 0.5892 GB, free: 12.33 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.3727, allocations: 10.25 kB / 0.5892 GB, free: 12.33 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/0.374, allocations: 241.4 kB / 0.5894 GB, free: 12.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.3752, allocations: 0.6409 MB / 0.5901 GB, free: 11.72 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.584e-05/0.3753, allocations: 60.41 kB / 0.5901 GB, free: 11.69 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.3754, allocations: 85.41 kB / 0.5902 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004682/0.3801, allocations: 2.007 MB / 0.5922 GB, free: 10.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.3802, allocations: 0 / 0.5922 GB, free: 10.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-05/0.3803, allocations: 32 kB / 0.5922 GB, free: 10.13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-05/0.3803, allocations: 45.98 kB / 0.5922 GB, free: 10.08 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004771/0.3851, allocations: 1.967 MB / 0.5942 GB, free: 8.117 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 preOpt removeSimpleEquations (simulation): time 0.005321/0.3904, allocations: 4.647 MB / 0.5987 GB, free: 3.051 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003585/0.394, allocations: 1.353 MB / 0.6 GB, free: 1.688 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006168/0.3946, allocations: 402.6 kB / 0.6004 GB, free: 1.293 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1563/0.5509, allocations: 80.41 MB / 0.6789 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.453e-05/0.551, allocations: 44.16 kB / 0.679 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=72): time 2.695e-06/0.551, allocations: 0 / 0.679 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of matching and sorting (n=72): time 0.008564/0.5596, allocations: 2.563 MB / 0.6815 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.5596, allocations: 60.06 kB / 0.6815 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006453/0.5603, allocations: 0.5459 MB / 0.6821 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001112/0.5604, allocations: 45.64 kB / 0.6821 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002232/0.5606, allocations: 344.3 kB / 0.6824 GB, free: 3.656 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002529/0.5609, allocations: 260.3 kB / 0.6827 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003929/0.5613, allocations: 242.4 kB / 0.6829 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.5614, allocations: 378.8 kB / 0.6833 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009919/0.5624, allocations: 0.5708 MB / 0.6838 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/0.5636, allocations: 0.685 MB / 0.6845 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00211/0.5657, allocations: 1.235 MB / 0.6857 GB, free: 216 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.227e-06/0.5657, allocations: 4 kB / 0.6857 GB, free: 212 kB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004162/0.5699, allocations: 2.044 MB / 0.6877 GB, free: 14.15 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.5699, allocations: 7.906 kB / 0.6877 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.5699, allocations: 4 kB / 0.6877 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004128/0.574, allocations: 1.681 MB / 0.6894 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003671/0.5744, allocations: 83.77 kB / 0.6894 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003917/0.5784, allocations: 2.306 MB / 0.6917 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007885/0.5792, allocations: 99.08 kB / 0.6918 GB, free: 9.949 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001477/0.5793, allocations: 75.92 kB / 0.6918 GB, free: 9.875 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00125/0.5806, allocations: 0.7642 MB / 0.6926 GB, free: 9.109 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001105/0.5817, allocations: 0.6858 MB / 0.6933 GB, free: 8.383 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002094/0.5838, allocations: 1.221 MB / 0.6945 GB, free: 7.125 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.938e-06/0.5838, allocations: 3.984 kB / 0.6945 GB, free: 7.121 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.003909/0.5877, allocations: 1.996 MB / 0.6964 GB, free: 5.113 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.5877, allocations: 4 kB / 0.6964 GB, free: 5.109 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.5877, allocations: 4 kB / 0.6964 GB, free: 5.105 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004015/0.5918, allocations: 1.675 MB / 0.6981 GB, free: 3.426 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003203/0.5921, allocations: 79.89 kB / 0.6981 GB, free: 3.348 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003876/0.596, allocations: 2.314 MB / 0.7004 GB, free: 1.008 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007197/0.5967, allocations: 71.48 kB / 0.7005 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/0.5969, allocations: 75.92 kB / 0.7005 GB, free: 0.8633 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (hex.fluidState[4].phase,hex.fluidState[3].phase,hex.fluidState[2].phase,hex.fluidState[1].phase,T_out.fluidState.phase,T_in.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * 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 {(4,41)} Notification: Performance of prepare postOptimizeDAE: time 0.0002985/0.5972, allocations: 216.5 kB / 0.7007 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002633/0.5974, allocations: 71.16 kB / 0.7008 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008842/0.6063, allocations: 8.731 MB / 0.7093 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.6063, allocations: 3.984 kB / 0.7093 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.6063, allocations: 0 / 0.7093 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004202/0.6068, allocations: 267.3 kB / 0.7096 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/0.6069, allocations: 16 kB / 0.7096 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008206/0.6077, allocations: 79.86 kB / 0.7097 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/0.6079, allocations: 64.55 kB / 0.7097 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003373/0.6113, allocations: 1.75 MB / 0.7115 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003347/0.6147, allocations: 2.485 MB / 0.7139 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009689/0.6156, allocations: 0.7366 MB / 0.7146 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004134/0.6161, allocations: 390.9 kB / 0.715 GB, free: 2 MB / 0.5606 GB Notification: Performance of Backend: time 4.11e-07/0.6161, allocations: 3.938 kB / 0.715 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009324/0.6254, allocations: 3.193 MB / 0.7181 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of SimCode: time 0.003328/0.6287, allocations: 2.488 MB / 0.7205 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of Templates: time 0.2495/0.8783, allocations: 74.26 MB / 0.793 GB, free: 193.2 MB / 0.5919 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.pipe 2>&1)