Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_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.TestWaterFlow1DFV2ph_D,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 98.48 kB / 16.3 MB, free: 5.594 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.0009581/0.0009581, allocations: 182.3 kB / 17.19 MB, free: 5.531 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.505/1.505, allocations: 205.4 MB / 223.4 MB, free: 5.203 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3947/0.3947, allocations: 48.77 MB / 320.4 MB, free: 3.84 MB / 254.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.0005204/0.0005205, allocations: 18.97 kB / 391.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1084, allocations: 60.25 MB / 451.4 MB, free: 1.902 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D): time 0.2275/0.336, allocations: 32.1 MB / 483.5 MB, free: 30.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0136/0.3497, allocations: 10.76 MB / 494.3 MB, free: 22.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008204/0.3505, allocations: 9.75 kB / 494.3 MB, free: 22.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007544/0.3513, allocations: 211.8 kB / 494.5 MB, free: 22.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001167/0.3525, allocations: 413.8 kB / 494.9 MB, free: 22.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01424/0.3667, allocations: 4.187 MB / 499.1 MB, free: 20.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004854/0.3716, allocations: 4.154 MB / 0.4914 GB, free: 18.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00297/0.3746, allocations: 2.099 MB / 0.4935 GB, free: 16.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003494/0.3781, allocations: 2.017 MB / 0.4954 GB, free: 15.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004538/0.3827, allocations: 2.511 MB / 0.4979 GB, free: 14.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001434/0.3841, allocations: 270.5 kB / 0.4982 GB, free: 14.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01438/0.3985, allocations: 6.498 MB / 0.5045 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003417/0.402, allocations: 1.175 MB / 0.5057 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002736/0.4048, allocations: 400 kB / 0.506 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009676/0.4145, allocations: 5.577 MB / 0.5115 GB, free: 5.027 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.4145, allocations: 0 / 0.5115 GB, free: 5.027 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.4145, allocations: 3.938 kB / 0.5115 GB, free: 5.023 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.442e-05/0.4146, allocations: 4 kB / 0.5115 GB, free: 5.02 MB / 382.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.02515/0.4397, allocations: 6.678 MB / 0.518 GB, free: 14.28 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.4398, allocations: 16 kB / 0.518 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004463/0.4443, allocations: 0.5444 MB / 0.5186 GB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004979/0.4493, allocations: 1.658 MB / 0.5202 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00263/0.4519, allocations: 1.071 MB / 0.5212 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009587/0.4529, allocations: 175.9 kB / 0.5214 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03148/0.4844, allocations: 12.45 MB / 0.5335 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.525e-05/0.4844, allocations: 0 / 0.5335 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006739/0.4851, allocations: 67.95 kB / 0.5336 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000107/0.4852, allocations: 99.47 kB / 0.5337 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05241/0.5377, allocations: 21.02 MB / 0.5542 GB, free: 9.023 MB / 430.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.05639/0.5941, allocations: 33.2 MB / 0.5867 GB, free: 4.531 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02578/0.6199, allocations: 10.19 MB / 0.5966 GB, free: 10.34 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3771/0.997, allocations: 76.61 MB / 0.6714 GB, free: 128.4 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.415e-05/0.9971, allocations: 59.53 kB / 0.6715 GB, free: 128.4 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=192): time 3.968e-06/0.9971, allocations: 0 / 0.6715 GB, free: 128.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=193): time 0.108/1.105, allocations: 41.63 MB / 0.7121 GB, free: 101.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/1.105, allocations: 73.41 kB / 0.7122 GB, free: 101.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005801/1.106, allocations: 0.5016 MB / 0.7127 GB, free: 100.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001596/1.107, allocations: 61.7 kB / 0.7127 GB, free: 100.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002437/1.108, allocations: 0.5147 MB / 0.7133 GB, free: 100.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001265/1.109, allocations: 0.6678 MB / 0.7139 GB, free: 99.51 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005481/1.11, allocations: 37.97 kB / 0.7139 GB, free: 99.47 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001187/1.11, allocations: 414.7 kB / 0.7143 GB, free: 99.06 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01662/1.126, allocations: 8.345 MB / 0.7225 GB, free: 90.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01732/1.144, allocations: 8.564 MB / 0.7308 GB, free: 82.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01614/1.16, allocations: 7.176 MB / 0.7379 GB, free: 74.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.256e-05/1.16, allocations: 4 kB / 0.7379 GB, free: 74.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.102/1.262, allocations: 38.8 MB / 0.7758 GB, free: 36.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002446/1.262, allocations: 1.318 MB / 0.777 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/1.262, allocations: 4 kB / 0.777 GB, free: 34.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3297/1.592, allocations: 57.63 MB / 0.8333 GB, free: 173.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/1.593, allocations: 326.2 kB / 0.8336 GB, free: 173.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06246/1.656, allocations: 24.31 MB / 0.8574 GB, free: 169.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009986/1.666, allocations: 2.012 MB / 0.8593 GB, free: 169.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001304/1.667, allocations: 325.6 kB / 0.8596 GB, free: 169.5 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/1.667, allocations: 3.875 kB / 0.8596 GB, free: 169.5 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.09972/1.767, allocations: 38.62 MB / 0.8974 GB, free: 133.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-05/1.767, allocations: 10.3 kB / 0.8974 GB, free: 133.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1383/1.906, allocations: 57.64 MB / 0.9537 GB, free: 75.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/1.907, allocations: 313 kB / 0.954 GB, free: 75.53 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05232/1.959, allocations: 24.32 MB / 0.9777 GB, free: 51.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009585/1.969, allocations: 2.004 MB / 0.9797 GB, free: 49.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001468/1.97, allocations: 311.4 kB / 0.98 GB, free: 48.89 MB / 0.5137 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.002215/1.973, allocations: 0.5612 MB / 0.9805 GB, free: 48.32 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007807/1.973, allocations: 108.6 kB / 0.9806 GB, free: 48.27 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2145/2.188, allocations: 35.11 MB / 1.015 GB, free: 173 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05145/2.239, allocations: 33.47 MB / 1.048 GB, free: 162.6 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.249e-05/2.239, allocations: 5.719 kB / 1.048 GB, free: 162.6 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-05/2.24, allocations: 11.31 kB / 1.048 GB, free: 162.6 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06341/2.303, allocations: 54.97 MB / 1.101 GB, free: 113.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.309e-05/2.303, allocations: 4 kB / 1.101 GB, free: 113.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01087/2.314, allocations: 2.466 MB / 1.104 GB, free: 110.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003903/2.318, allocations: 1.151 MB / 1.105 GB, free: 109.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008242/2.319, allocations: 203.5 kB / 1.105 GB, free: 109.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007749/2.326, allocations: 6.32 MB / 1.111 GB, free: 103.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/2.326, allocations: 9.141 kB / 1.111 GB, free: 103.1 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05326/2.38, allocations: 25.92 MB / 1.137 GB, free: 77 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00281/2.383, allocations: 1.228 MB / 1.138 GB, free: 75.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000776/2.383, allocations: 63.94 kB / 1.138 GB, free: 75.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008668/2.392, allocations: 1.967 MB / 1.14 GB, free: 73.71 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000816/2.393, allocations: 329 kB / 1.14 GB, free: 73.39 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005376/2.393, allocations: 199.6 kB / 1.14 GB, free: 73.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003278/2.394, allocations: 362.8 kB / 1.141 GB, free: 72.84 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/2.394, allocations: 0 / 1.141 GB, free: 72.84 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.007139/2.401, allocations: 2.611 MB / 1.143 GB, free: 70.29 MB / 0.5137 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.003695/2.405, allocations: 1.026 MB / 1.144 GB, free: 69.42 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.05638/2.461, allocations: 27.51 MB / 1.171 GB, free: 41.87 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/2.461, allocations: 4.062 kB / 1.171 GB, free: 41.86 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.02009/2.481, allocations: 9.488 MB / 1.18 GB, free: 32.36 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002821/2.484, allocations: 473 kB / 1.181 GB, free: 31.91 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02301/2.507, allocations: 13.28 MB / 1.194 GB, free: 18.6 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008672/2.508, allocations: 1.643 MB / 1.195 GB, free: 16.92 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.1692/2.677, allocations: 2.453 MB / 1.198 GB, free: 169.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003555/2.681, allocations: 395.4 kB / 1.198 GB, free: 169.6 MB / 0.5137 GB Notification: Performance of SimCode: time 8.92e-07/2.681, allocations: 2.875 kB / 1.198 GB, free: 169.6 MB / 0.5137 GB Notification: Performance of Templates: time 0.4006/3.081, allocations: 259.4 MB / 1.451 GB, free: 133.5 MB / 0.5137 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D.pipe 2>&1) Environment - environmentSimulation: