Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.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.TestWaterFlow1DFV2ph_A,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 94.08 kB / 16.3 MB, free: 5.996 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.001403/0.001403, allocations: 183.5 kB / 17.2 MB, free: 5.914 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.535/1.535, allocations: 205.4 MB / 223.4 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3039/0.3039, allocations: 48.77 MB / 320.4 MB, free: 11.31 MB / 270.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 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.0005219/0.0005219, allocations: 16.78 kB / 391.1 MB, free: 50.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1195, allocations: 60.27 MB / 451.4 MB, free: 9.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A): time 0.03077/0.1503, allocations: 32.12 MB / 483.5 MB, free: 9.383 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01371/0.1641, allocations: 10.77 MB / 494.3 MB, free: 14.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/0.1654, allocations: 7.938 kB / 494.3 MB, free: 14.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.1664, allocations: 214.9 kB / 494.5 MB, free: 14.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001318/0.1678, allocations: 410.7 kB / 494.9 MB, free: 13.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01391/0.1817, allocations: 4.18 MB / 499.1 MB, free: 9.781 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005212/0.1869, allocations: 4.154 MB / 0.4914 GB, free: 5.617 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003926/0.1909, allocations: 2.102 MB / 0.4935 GB, free: 3.496 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005501/0.1964, allocations: 2.024 MB / 0.4955 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00606/0.2025, allocations: 2.503 MB / 0.4979 GB, free: 14.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002162/0.2047, allocations: 268 kB / 0.4982 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01458/0.2193, allocations: 6.497 MB / 0.5045 GB, free: 8.195 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003486/0.2228, allocations: 1.177 MB / 0.5057 GB, free: 7.016 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001662/0.2245, allocations: 400.8 kB / 0.506 GB, free: 6.617 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01111/0.2356, allocations: 5.578 MB / 0.5115 GB, free: 1.027 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2356, allocations: 0 / 0.5115 GB, free: 1.027 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.2357, allocations: 0 / 0.5115 GB, free: 1.027 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.764e-05/0.2358, allocations: 0 / 0.5115 GB, free: 1.027 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: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.02744/0.2632, allocations: 6.681 MB / 0.518 GB, free: 10.29 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.2633, allocations: 16.02 kB / 0.518 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004936/0.2682, allocations: 0.5445 MB / 0.5186 GB, free: 9.723 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006545/0.2748, allocations: 1.665 MB / 0.5202 GB, free: 8.012 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004207/0.279, allocations: 1.063 MB / 0.5212 GB, free: 6.898 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002175/0.2813, allocations: 179.8 kB / 0.5214 GB, free: 6.723 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2977/0.579, allocations: 12.44 MB / 0.5335 GB, free: 58.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.17e-05/0.5791, allocations: 0 / 0.5335 GB, free: 58.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007486/0.5798, allocations: 72.64 kB / 0.5336 GB, free: 58.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001452/0.58, allocations: 91.28 kB / 0.5337 GB, free: 58.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05476/0.6348, allocations: 21.03 MB / 0.5542 GB, free: 58.34 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.05261/0.6874, allocations: 33.21 MB / 0.5867 GB, free: 27.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02374/0.7112, allocations: 10.18 MB / 0.5966 GB, free: 17.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1575/0.8688, allocations: 76.61 MB / 0.6714 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.726e-05/0.8689, allocations: 56.56 kB / 0.6715 GB, free: 12.41 MB / 494.1 MB Notification: Performance of pre-optimization done (n=192): time 6.362e-06/0.8689, allocations: 3.375 kB / 0.6715 GB, free: 12.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=193): time 0.1281/0.997, allocations: 41.63 MB / 0.7121 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.31e-05/0.9971, allocations: 73.41 kB / 0.7122 GB, free: 2.617 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008324/0.998, allocations: 0.5065 MB / 0.7127 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001806/0.9998, allocations: 65.7 kB / 0.7128 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005425/1, allocations: 0.5025 MB / 0.7132 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002565/1.003, allocations: 0.6695 MB / 0.7139 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001518/1.004, allocations: 39.83 kB / 0.7139 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000284/1.005, allocations: 422.3 kB / 0.7143 GB, free: 416 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02094/1.026, allocations: 8.341 MB / 0.7225 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2416/1.267, allocations: 8.558 MB / 0.7308 GB, free: 202.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01997/1.287, allocations: 7.183 MB / 0.7379 GB, free: 202.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.695e-05/1.287, allocations: 2.312 kB / 0.7379 GB, free: 202.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.1081/1.396, allocations: 38.8 MB / 0.7758 GB, free: 179.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002765/1.396, allocations: 1.319 MB / 0.777 GB, free: 178.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/1.396, allocations: 7.984 kB / 0.7771 GB, free: 178.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1423/1.538, allocations: 57.63 MB / 0.8333 GB, free: 120.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00151/1.54, allocations: 326.2 kB / 0.8336 GB, free: 120.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05444/1.594, allocations: 24.32 MB / 0.8574 GB, free: 96.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01021/1.604, allocations: 2.007 MB / 0.8593 GB, free: 94.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00139/1.606, allocations: 316.3 kB / 0.8596 GB, free: 93.81 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/1.606, allocations: 8 kB / 0.8597 GB, free: 93.8 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1039/1.71, allocations: 38.63 MB / 0.8974 GB, free: 55.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.568e-05/1.71, allocations: 7.953 kB / 0.8974 GB, free: 55.13 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3672/2.077, allocations: 57.63 MB / 0.9537 GB, free: 187.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/2.078, allocations: 311.2 kB / 0.954 GB, free: 187 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05474/2.133, allocations: 24.32 MB / 0.9777 GB, free: 162.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009903/2.143, allocations: 1.999 MB / 0.9797 GB, free: 160.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00128/2.144, allocations: 319.4 kB / 0.98 GB, free: 160.5 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 10 (hex.fluidState[10].phase,hex.fluidState[9].phase,hex.fluidState[8].phase,hex.fluidState[7].phase,hex.fluidState[6].phase,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 (121): * Single equations (assignments): 120 * 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 {10 89} Notification: Performance of prepare postOptimizeDAE: time 0.00206/2.146, allocations: 0.552 MB / 0.9805 GB, free: 160 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007496/2.147, allocations: 116.8 kB / 0.9806 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04947/2.197, allocations: 35.12 MB / 1.015 GB, free: 124.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04758/2.244, allocations: 33.48 MB / 1.048 GB, free: 91.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.748e-05/2.244, allocations: 4 kB / 1.048 GB, free: 91.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.961e-05/2.244, allocations: 7.969 kB / 1.048 GB, free: 91.29 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06785/2.312, allocations: 54.96 MB / 1.101 GB, free: 34.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.263e-05/2.312, allocations: 4 kB / 1.101 GB, free: 34.56 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2269/2.539, allocations: 2.457 MB / 1.104 GB, free: 200 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004595/2.544, allocations: 1.149 MB / 1.105 GB, free: 200 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001974/2.546, allocations: 202.2 kB / 1.105 GB, free: 200 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01076/2.557, allocations: 6.331 MB / 1.111 GB, free: 198.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-05/2.557, allocations: 9.016 kB / 1.111 GB, free: 198.6 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06453/2.621, allocations: 25.94 MB / 1.137 GB, free: 190.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004269/2.626, allocations: 1.226 MB / 1.138 GB, free: 189.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001851/2.627, allocations: 59.98 kB / 1.138 GB, free: 189.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0105/2.638, allocations: 1.963 MB / 1.14 GB, free: 187.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002084/2.64, allocations: 328.8 kB / 1.14 GB, free: 187.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001871/2.642, allocations: 207.5 kB / 1.14 GB, free: 186.9 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004698/2.643, allocations: 350.8 kB / 1.141 GB, free: 186.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.81e-07/2.643, allocations: 0 / 1.141 GB, free: 186.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01059/2.653, allocations: 2.609 MB / 1.143 GB, free: 184 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 11 (Mbal,hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4],hex.htilde[5],hex.htilde[6],hex.htilde[7],hex.htilde[8],hex.htilde[9]) * Number of discrete variables: 22 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.region3boundary,$cse13.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * 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: 1 {(10,64.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005957/2.659, allocations: 1.029 MB / 1.144 GB, free: 183.1 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.06292/2.722, allocations: 27.51 MB / 1.171 GB, free: 155.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.547e-05/2.722, allocations: 4 kB / 1.171 GB, free: 155.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0228/2.745, allocations: 9.494 MB / 1.18 GB, free: 146.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004342/2.749, allocations: 476.2 kB / 1.181 GB, free: 145.6 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02841/2.778, allocations: 13.28 MB / 1.194 GB, free: 132.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001266/2.779, allocations: 1.641 MB / 1.195 GB, free: 130.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006851/2.786, allocations: 2.474 MB / 1.198 GB, free: 128.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004297/2.79, allocations: 398.6 kB / 1.198 GB, free: 127.7 MB / 0.5294 GB Notification: Performance of SimCode: time 1.133e-06/2.79, allocations: 0 / 1.198 GB, free: 127.7 MB / 0.5294 GB Notification: Performance of Templates: time 0.4295/3.22, allocations: 259.4 MB / 1.451 GB, free: 49.13 MB / 0.5294 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.pipe 2>&1) Environment - environmentSimulation: