Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001903/0.001903, allocations: 174.7 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.898/1.898, allocations: 205.2 MB / 219.4 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009083/0.0009081, allocations: 86.66 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3616/0.3616, allocations: 48.77 MB / 364.3 MB, free: 6.871 MB / 266.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 4.022e-05/4.023e-05, allocations: 4 kB / 432.5 MB, free: 16.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1509, allocations: 60.24 MB / 492.7 MB, free: 4.391 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.807/7.958, allocations: 2.974 GB / 3.455 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/7.959, allocations: 83.03 kB / 3.455 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.039/8.998, allocations: 326 MB / 3.773 GB, free: 39.02 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.613e-06/8.998, allocations: 0 / 3.773 GB, free: 39.02 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.925e-05/8.998, allocations: 59.94 kB / 3.773 GB, free: 38.96 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 853 * Number of variables: 853 Notification: Performance of Generate backend data structure: time 0.04798/9.046, allocations: 12.15 MB / 3.785 GB, free: 27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/9.046, allocations: 12.02 kB / 3.785 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009738/9.056, allocations: 1.014 MB / 3.786 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01198/9.068, allocations: 3.35 MB / 3.79 GB, free: 23.53 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.006795/9.074, allocations: 2.342 MB / 3.792 GB, free: 21.32 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003787/9.078, allocations: 332.9 kB / 3.792 GB, free: 21.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0424/9.121, allocations: 18.72 MB / 3.81 GB, free: 5.379 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.869e-05/9.121, allocations: 0 / 3.81 GB, free: 5.379 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002822/9.124, allocations: 132 kB / 3.811 GB, free: 5.25 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001178/9.124, allocations: 182 kB / 3.811 GB, free: 5.074 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3286/9.452, allocations: 32.55 MB / 3.843 GB, free: 60.62 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.114/9.566, allocations: 72.22 MB / 3.913 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02925/9.596, allocations: 13.71 MB / 3.926 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01657/9.612, allocations: 9.995 MB / 3.936 GB, free: 5.406 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1374/9.75, allocations: 75.86 MB / 4.01 GB, free: 6.008 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.407e-05/9.75, allocations: 81.47 kB / 4.01 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=371): time 6.453e-06/9.75, allocations: 0 / 4.01 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of matching and sorting (n=373): time 0.4012/10.15, allocations: 40.11 MB / 4.05 GB, free: 107.2 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.313e-05/10.15, allocations: 88.39 kB / 4.05 GB, free: 107.2 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/10.15, allocations: 0.6737 MB / 4.05 GB, free: 107 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.003988/10.16, allocations: 91.98 kB / 4.05 GB, free: 107 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004816/10.16, allocations: 0.7924 MB / 4.051 GB, free: 106.7 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.004634/10.16, allocations: 1.278 MB / 4.052 GB, free: 106 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003572/10.16, allocations: 61.97 kB / 4.052 GB, free: 106 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000339/10.17, allocations: 497.8 kB / 4.053 GB, free: 105.7 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01677/10.18, allocations: 10.41 MB / 4.063 GB, free: 102.3 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01799/10.2, allocations: 10.8 MB / 4.074 GB, free: 97.71 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.313/10.51, allocations: 117 MB / 4.188 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.397e-05/10.51, allocations: 4 kB / 4.188 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of matching and sorting (n=419) (initialization): time 0.5147/11.03, allocations: 74.44 MB / 4.261 GB, free: 104.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004489/11.03, allocations: 2.191 MB / 4.263 GB, free: 102.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-05/11.03, allocations: 7.781 kB / 4.263 GB, free: 102.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.193/11.22, allocations: 87.9 MB / 4.349 GB, free: 84.16 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002959/11.22, allocations: 0.552 MB / 4.349 GB, free: 83.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05432/11.28, allocations: 39.31 MB / 4.387 GB, free: 52.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02296/11.3, allocations: 4.425 MB / 4.392 GB, free: 47.95 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00491/11.31, allocations: 0.6394 MB / 4.392 GB, free: 47.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/11.31, allocations: 9.25 kB / 4.392 GB, free: 47.3 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.4884/11.8, allocations: 74.14 MB / 4.465 GB, free: 103.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.752e-05/11.8, allocations: 7.094 kB / 4.465 GB, free: 103.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1939/11.99, allocations: 87.91 MB / 4.551 GB, free: 80.73 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002659/11.99, allocations: 0.534 MB / 4.551 GB, free: 80.34 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05152/12.04, allocations: 39.3 MB / 4.59 GB, free: 46.06 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02328/12.07, allocations: 4.421 MB / 4.594 GB, free: 41.66 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004478/12.07, allocations: 0.6268 MB / 4.595 GB, free: 41.04 MB / 0.5573 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.hex.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 20 (hex.fluidState[20].phase,hex.fluidState[19].phase,hex.fluidState[18].phase,hex.fluidState[17].phase,hex.fluidState[16].phase,hex.fluidState[15].phase,hex.fluidState[14].phase,hex.fluidState[13].phase,hex.fluidState[12].phase,hex.fluidState[11].phase,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (251): * Single equations (assignments): 231 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 19 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 19 {1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.006191/12.08, allocations: 295.1 kB / 4.595 GB, free: 40.78 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002804/12.08, allocations: 193.7 kB / 4.595 GB, free: 40.68 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3092/12.39, allocations: 28.44 MB / 4.623 GB, free: 102.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0435/12.43, allocations: 25.17 MB / 4.647 GB, free: 99.69 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-05/12.43, allocations: 6.094 kB / 4.647 GB, free: 99.69 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-05/12.43, allocations: 22.94 kB / 4.647 GB, free: 99.69 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1195/12.55, allocations: 66.04 MB / 4.712 GB, free: 67.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.066e-05/12.55, allocations: 10.62 kB / 4.712 GB, free: 67.41 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02485/12.58, allocations: 5.696 MB / 4.717 GB, free: 67.27 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004499/12.58, allocations: 1.67 MB / 4.719 GB, free: 66.88 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002606/12.58, allocations: 0.6323 MB / 4.72 GB, free: 66.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01872/12.6, allocations: 30.6 MB / 4.75 GB, free: 40.51 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-06/12.6, allocations: 15.58 kB / 4.75 GB, free: 40.51 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05779/12.66, allocations: 34.16 MB / 4.783 GB, free: 25.79 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005521/12.67, allocations: 2.437 MB / 4.785 GB, free: 24.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002628/12.67, allocations: 108.4 kB / 4.785 GB, free: 24.87 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02137/12.69, allocations: 4.383 MB / 4.79 GB, free: 22.79 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003192/12.69, allocations: 0.8768 MB / 4.791 GB, free: 22.48 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002832/12.7, allocations: 0.6392 MB / 4.791 GB, free: 22.15 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006139/12.7, allocations: 0.5075 MB / 4.792 GB, free: 21.68 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.81e-07/12.7, allocations: 0 / 4.792 GB, free: 21.68 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0169/12.71, allocations: 4.675 MB / 4.796 GB, free: 17.16 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * Number of states: 20 (Mbal,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],hex.htilde[10],hex.htilde[11],hex.htilde[12],hex.htilde[13],hex.htilde[14],hex.htilde[15],hex.htilde[16],hex.htilde[17],hex.htilde[18],hex.htilde[19]) * Number of discrete variables: 42 ($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.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.region3boundary,$cse23.region3boundary) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (358): * Single equations (assignments): 316 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 23 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 19 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 19 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007123/12.72, allocations: 1.337 MB / 4.798 GB, free: 16.29 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.3801/13.1, allocations: 37.86 MB / 4.835 GB, free: 97.08 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.416e-05/13.1, allocations: 0 / 4.835 GB, free: 97.08 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.02568/13.13, allocations: 14.96 MB / 4.849 GB, free: 94.07 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009087/13.14, allocations: 0.9398 MB / 4.85 GB, free: 93.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03686/13.17, allocations: 17.52 MB / 4.867 GB, free: 88.62 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002754/13.18, allocations: 2.43 MB / 4.87 GB, free: 87.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.03081/13.21, allocations: 23.03 MB / 4.892 GB, free: 87.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01298/13.22, allocations: 1.231 MB / 4.893 GB, free: 87.15 MB / 0.5573 GB Notification: Performance of SimCode: time 1.302e-06/13.22, allocations: 0 / 4.893 GB, free: 87.15 MB / 0.5573 GB Notification: Performance of Templates: time 1.342/14.56, allocations: 0.5256 GB / 5.419 GB, free: 112.3 MB / 0.573 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C.pipe 2>&1)