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.001095/0.001095, allocations: 90.61 kB / 16.3 MB, free: 6.133 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.000944/0.0009439, allocations: 187.6 kB / 17.2 MB, free: 6.016 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.542/1.542, allocations: 205.4 MB / 223.4 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2695/0.2695, allocations: 48.78 MB / 320.4 MB, free: 11.32 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.0005314/0.0005314, allocations: 15.73 kB / 391.1 MB, free: 50.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1195, allocations: 60.28 MB / 451.4 MB, free: 9.582 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D): time 0.03605/0.1556, allocations: 33.85 MB / 485.3 MB, free: 7.641 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01835/0.174, allocations: 13.01 MB / 498.3 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007734/0.1748, allocations: 7.938 kB / 498.3 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007538/0.1756, allocations: 203 kB / 498.5 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01311/0.1887, allocations: 3.534 MB / 0.4902 GB, free: 6.848 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003878/0.1926, allocations: 1.017 MB / 0.4912 GB, free: 5.828 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001835/0.1945, allocations: 0.9259 MB / 0.4921 GB, free: 4.902 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007029/0.1952, allocations: 424.6 kB / 0.4925 GB, free: 4.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000599/0.1958, allocations: 414.8 kB / 0.4929 GB, free: 4.074 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005616/0.1963, allocations: 430.5 kB / 0.4933 GB, free: 3.652 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.275e-05/0.1965, allocations: 40 kB / 0.4934 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01256/0.209, allocations: 6.134 MB / 0.4994 GB, free: 13.47 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000338/0.2094, allocations: 287.2 kB / 0.4997 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003167/0.2097, allocations: 209.3 kB / 0.4999 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006052/0.2158, allocations: 2.982 MB / 0.5028 GB, free: 9.992 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2158, allocations: 0 / 0.5028 GB, free: 9.992 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.2158, allocations: 0 / 0.5028 GB, free: 9.992 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.37e-05/0.2159, allocations: 3.938 kB / 0.5028 GB, free: 9.988 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.004689/0.2206, allocations: 1.614 MB / 0.5043 GB, free: 8.324 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.2206, allocations: 12.02 kB / 0.5044 GB, free: 8.312 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001279/0.2219, allocations: 246.7 kB / 0.5046 GB, free: 8.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/0.2232, allocations: 0.6116 MB / 0.5052 GB, free: 7.414 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.438e-05/0.2233, allocations: 73.98 kB / 0.5053 GB, free: 7.344 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.2234, allocations: 84 kB / 0.5053 GB, free: 7.262 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004987/0.2284, allocations: 2.201 MB / 0.5075 GB, free: 5.035 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.2284, allocations: 4 kB / 0.5075 GB, free: 5.031 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.621e-05/0.2285, allocations: 35.95 kB / 0.5075 GB, free: 4.996 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.544e-05/0.2286, allocations: 45.98 kB / 0.5076 GB, free: 4.953 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004862/0.2335, allocations: 2.201 MB / 0.5097 GB, free: 2.75 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.006532/0.24, allocations: 4.84 MB / 0.5144 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003593/0.2436, allocations: 1.399 MB / 0.5158 GB, free: 12.06 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3597/0.6033, allocations: 64.59 MB / 0.5789 GB, free: 42.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.702e-05/0.6034, allocations: 44.84 kB / 0.5789 GB, free: 41.99 MB / 414.1 MB Notification: Performance of pre-optimization done (n=67): time 3.987e-06/0.6035, allocations: 0 / 0.5789 GB, free: 41.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=67): time 0.00904/0.6125, allocations: 2.89 MB / 0.5817 GB, free: 39.22 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.6126, allocations: 59.97 kB / 0.5818 GB, free: 39.15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005983/0.6132, allocations: 497.9 kB / 0.5823 GB, free: 38.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001424/0.6133, allocations: 37.7 kB / 0.5823 GB, free: 38.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000218/0.6136, allocations: 382.9 kB / 0.5827 GB, free: 38.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002816/0.6139, allocations: 242.5 kB / 0.5829 GB, free: 38.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.987e-05/0.614, allocations: 16 kB / 0.5829 GB, free: 38.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.6141, allocations: 370.8 kB / 0.5833 GB, free: 37.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008525/0.615, allocations: 0.6187 MB / 0.5839 GB, free: 37.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008996/0.6159, allocations: 0.7508 MB / 0.5846 GB, free: 36.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000967/0.6168, allocations: 0.659 MB / 0.5853 GB, free: 35.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.024e-06/0.6169, allocations: 0 / 0.5853 GB, free: 35.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.003788/0.6207, allocations: 2.234 MB / 0.5874 GB, free: 33.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002341/0.6209, allocations: 0.9698 MB / 0.5884 GB, free: 32.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.6209, allocations: 8 kB / 0.5884 GB, free: 32.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003327/0.6243, allocations: 1.72 MB / 0.5901 GB, free: 30.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003861/0.6247, allocations: 91.84 kB / 0.5902 GB, free: 30.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003272/0.628, allocations: 2.394 MB / 0.5925 GB, free: 28.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.6291, allocations: 133.5 kB / 0.5926 GB, free: 27.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001599/0.6292, allocations: 91.91 kB / 0.5927 GB, free: 27.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.6292, allocations: 4 kB / 0.5927 GB, free: 27.84 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003398/0.6327, allocations: 2.14 MB / 0.5948 GB, free: 25.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.6327, allocations: 8.031 kB / 0.5948 GB, free: 25.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003217/0.6359, allocations: 1.725 MB / 0.5965 GB, free: 23.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003455/0.6363, allocations: 91.83 kB / 0.5966 GB, free: 23.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003173/0.6394, allocations: 2.399 MB / 0.5989 GB, free: 21.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009938/0.6405, allocations: 129.2 kB / 0.5991 GB, free: 21.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001524/0.6406, allocations: 87.91 kB / 0.5991 GB, free: 21.24 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 (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 37} Notification: Performance of prepare postOptimizeDAE: time 0.0006417/0.6413, allocations: 352.9 kB / 0.5995 GB, free: 20.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002483/0.6415, allocations: 65.91 kB / 0.5995 GB, free: 20.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007891/0.6494, allocations: 10.17 MB / 0.6095 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.97e-05/0.6495, allocations: 15.98 kB / 0.6095 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/0.6495, allocations: 11.94 kB / 0.6095 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.168e-06/0.6495, allocations: 0 / 0.6095 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003186/0.6527, allocations: 4.724 MB / 0.6141 GB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.6527, allocations: 0 / 0.6141 GB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007814/0.6535, allocations: 151.8 kB / 0.6143 GB, free: 5.434 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001499/0.655, allocations: 415.8 kB / 0.6147 GB, free: 5.023 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/0.6552, allocations: 27.97 kB / 0.6147 GB, free: 4.996 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003988/0.6592, allocations: 4.282 MB / 0.6189 GB, free: 476 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6592, allocations: 0 / 0.6189 GB, free: 476 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004242/0.6634, allocations: 2.572 MB / 0.6214 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005435/0.664, allocations: 259.6 kB / 0.6216 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001739/0.6642, allocations: 16 kB / 0.6216 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008009/0.665, allocations: 83.86 kB / 0.6217 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/0.6652, allocations: 56.53 kB / 0.6218 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.08e-05/0.6652, allocations: 23.97 kB / 0.6218 GB, free: 13.42 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004979/0.6657, allocations: 338.9 kB / 0.6221 GB, free: 13.09 MB / 430.1 MB Notification: Performance of sort global known variables: time 5.82e-07/0.6658, allocations: 0 / 0.6221 GB, free: 13.09 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004383/0.6701, allocations: 1.301 MB / 0.6234 GB, free: 11.85 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4]) * Number of discrete variables: 10 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,76.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004746/0.6749, allocations: 0.9769 MB / 0.6243 GB, free: 11.02 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005351/0.6803, allocations: 2.529 MB / 0.6268 GB, free: 8.492 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.6803, allocations: 4 kB / 0.6268 GB, free: 8.488 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001896/0.6822, allocations: 1.084 MB / 0.6279 GB, free: 7.383 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001733/0.6839, allocations: 300.1 kB / 0.6282 GB, free: 7.102 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004665/0.6886, allocations: 2.994 MB / 0.6311 GB, free: 4.105 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/0.6897, allocations: 1.132 MB / 0.6322 GB, free: 2.945 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00098/0.6907, allocations: 387.1 kB / 0.6326 GB, free: 2.566 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002785/0.691, allocations: 59.41 kB / 0.6326 GB, free: 2.508 MB / 430.1 MB Notification: Performance of SimCode: time 6.81e-07/0.691, allocations: 0 / 0.6326 GB, free: 2.508 MB / 430.1 MB Notification: Performance of Templates: time 0.0923/0.7833, allocations: 66.86 MB / 0.6979 GB, free: 15.36 MB / 0.4981 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: