Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.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_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001522, allocations: 104.7 kB / 17.69 MB, free: 5.477 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.001811/0.001811, allocations: 190.9 kB / 18.63 MB, free: 4.543 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.335/1.335, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2618/0.2618, 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.001433/0.001434, allocations: 71.11 kB / 391.5 MB, free: 48.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08697/0.08842, allocations: 59.15 MB / 450.7 MB, free: 9.035 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D): time 0.03779/0.1263, allocations: 40.15 MB / 490.8 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01664/0.1429, allocations: 15.19 MB / 0.4942 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003845/0.1434, allocations: 11.94 kB / 0.4942 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006434/0.144, allocations: 226.4 kB / 0.4944 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01151/0.1556, allocations: 4.695 MB / 0.499 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003276/0.1589, allocations: 1.228 MB / 0.5002 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001567/0.1604, allocations: 1.54 MB / 0.5017 GB, free: 9.777 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006102/0.1611, allocations: 0.5293 MB / 0.5022 GB, free: 9.242 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006109/0.1617, allocations: 0.5373 MB / 0.5027 GB, free: 8.703 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007341/0.1624, allocations: 0.5994 MB / 0.5033 GB, free: 8.102 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.1626, allocations: 76 kB / 0.5034 GB, free: 8.027 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01074/0.1733, allocations: 6.278 MB / 0.5095 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003745/0.1737, allocations: 347 kB / 0.5098 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005668/0.1743, allocations: 0.525 MB / 0.5104 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008805/0.1831, allocations: 4.408 MB / 0.5147 GB, free: 12.46 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.465e-06/0.1832, allocations: 0 / 0.5147 GB, free: 12.46 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1832, allocations: 4 kB / 0.5147 GB, free: 12.45 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.83e-05/0.1832, allocations: 0 / 0.5147 GB, free: 12.45 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.004853/0.1881, allocations: 1.778 MB / 0.5164 GB, free: 10.62 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.1881, allocations: 11.89 kB / 0.5164 GB, free: 10.61 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001325/0.1895, allocations: 247.6 kB / 0.5166 GB, free: 10.37 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001166/0.1906, allocations: 0.6321 MB / 0.5173 GB, free: 9.695 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.915e-05/0.1907, allocations: 62.38 kB / 0.5173 GB, free: 9.637 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/0.1909, allocations: 92.28 kB / 0.5174 GB, free: 9.547 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004925/0.1958, allocations: 2.217 MB / 0.5196 GB, free: 7.305 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.1958, allocations: 0 / 0.5196 GB, free: 7.305 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-05/0.1959, allocations: 39.94 kB / 0.5196 GB, free: 7.266 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.652e-05/0.196, allocations: 41.98 kB / 0.5197 GB, free: 7.227 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004928/0.2009, allocations: 2.209 MB / 0.5218 GB, free: 5.016 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.1984/0.3994, allocations: 4.836 MB / 0.5265 GB, free: 84.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003833/0.4033, allocations: 1.395 MB / 0.5279 GB, free: 84.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005063/0.4038, allocations: 374.4 kB / 0.5283 GB, free: 84.37 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1096/0.5134, allocations: 64.24 MB / 0.591 GB, free: 29.01 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.5135, allocations: 39.12 kB / 0.591 GB, free: 28.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=67): time 2.755e-06/0.5135, allocations: 0 / 0.591 GB, free: 28.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=67): time 0.008201/0.5217, allocations: 2.889 MB / 0.5938 GB, free: 26.08 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/0.5217, allocations: 59.97 kB / 0.5939 GB, free: 26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004526/0.5222, allocations: 498.1 kB / 0.5944 GB, free: 25.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.469e-05/0.5223, allocations: 37.7 kB / 0.5944 GB, free: 25.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.5224, allocations: 387.1 kB / 0.5948 GB, free: 25.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/0.5226, allocations: 234.2 kB / 0.595 GB, free: 24.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003706/0.523, allocations: 279.4 kB / 0.5953 GB, free: 24.63 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.48e-05/0.5231, allocations: 374.7 kB / 0.5956 GB, free: 24.26 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007968/0.5239, allocations: 0.6332 MB / 0.5962 GB, free: 23.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008765/0.5248, allocations: 0.7525 MB / 0.597 GB, free: 22.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001675/0.5264, allocations: 1.339 MB / 0.5983 GB, free: 21.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.5265, allocations: 0 / 0.5983 GB, free: 21.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.003511/0.53, allocations: 2.254 MB / 0.6005 GB, free: 19.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.53, allocations: 8 kB / 0.6005 GB, free: 19.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.53, allocations: 3.75 kB / 0.6005 GB, free: 19.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003171/0.5332, allocations: 1.727 MB / 0.6022 GB, free: 17.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003253/0.5335, allocations: 88.02 kB / 0.6023 GB, free: 17.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003153/0.5367, allocations: 2.406 MB / 0.6046 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000684/0.5374, allocations: 87.3 kB / 0.6047 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/0.5375, allocations: 87.91 kB / 0.6048 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001063/0.5386, allocations: 0.8414 MB / 0.6056 GB, free: 13.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008381/0.5395, allocations: 0.7452 MB / 0.6063 GB, free: 13.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001617/0.5411, allocations: 1.325 MB / 0.6076 GB, free: 11.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.367e-06/0.5411, allocations: 4 kB / 0.6076 GB, free: 11.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.00317/0.5443, allocations: 2.195 MB / 0.6098 GB, free: 9.637 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.5443, allocations: 8 kB / 0.6098 GB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.5443, allocations: 0 / 0.6098 GB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003091/0.5474, allocations: 1.728 MB / 0.6115 GB, free: 7.902 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003023/0.5477, allocations: 89.2 kB / 0.6116 GB, free: 7.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003118/0.5508, allocations: 2.4 MB / 0.6139 GB, free: 5.398 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006884/0.5515, allocations: 59.58 kB / 0.614 GB, free: 5.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001326/0.5517, allocations: 87.91 kB / 0.614 GB, free: 5.254 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (hex.fluidState[5].phase,hex.fluidState[4].phase,hex.fluidState[3].phase,hex.fluidState[2].phase,hex.fluidState[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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,37)} Notification: Performance of prepare postOptimizeDAE: time 0.0002846/0.552, allocations: 226.7 kB / 0.6143 GB, free: 5.031 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001978/0.5522, allocations: 67.23 kB / 0.6143 GB, free: 4.965 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008498/0.5607, allocations: 10.15 MB / 0.6242 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.5607, allocations: 3.938 kB / 0.6242 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.5607, allocations: 3.984 kB / 0.6242 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000375/0.5611, allocations: 235.7 kB / 0.6245 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.5612, allocations: 14.11 kB / 0.6245 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007467/0.562, allocations: 91.83 kB / 0.6246 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/0.5621, allocations: 60.56 kB / 0.6246 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003291/0.5654, allocations: 1.69 MB / 0.6263 GB, free: 8.703 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002949/0.5684, allocations: 2.291 MB / 0.6285 GB, free: 6.398 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008385/0.5693, allocations: 0.689 MB / 0.6292 GB, free: 5.711 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003816/0.5697, allocations: 342.9 kB / 0.6295 GB, free: 5.375 MB / 430.1 MB Notification: Performance of Backend: time 3.51e-07/0.5697, allocations: 0 / 0.6295 GB, free: 5.375 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00831/0.578, allocations: 3.172 MB / 0.6326 GB, free: 2.434 MB / 430.1 MB Notification: Performance of SimCode: time 0.003277/0.5813, allocations: 2.457 MB / 0.635 GB, free: 15.98 MB / 446.1 MB Notification: Performance of Templates: time 0.08245/0.6637, allocations: 71.08 MB / 0.7044 GB, free: 8.691 MB / 0.4981 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe 2>&1)