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/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.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/Complex 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 181 kB / 16.39 MB, free: 5.762 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.629/1.629, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.000908/0.000908, allocations: 98.91 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6033/0.6033, allocations: 48.78 MB / 367.9 MB, free: 47.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003492, allocations: 12 kB / 438.6 MB, free: 10.99 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1533, allocations: 60.26 MB / 498.9 MB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.215/8.369, allocations: 2.96 GB / 3.447 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00038/8.369, allocations: 85.09 kB / 3.447 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.9569/9.326, allocations: 294.5 MB / 3.735 GB, free: 74.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.286e-06/9.326, allocations: 2.625 kB / 3.735 GB, free: 74.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.913e-05/9.326, allocations: 22.7 kB / 3.735 GB, free: 74.79 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.007885/9.334, allocations: 1.771 MB / 3.737 GB, free: 73.89 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/9.334, allocations: 11.92 kB / 3.737 GB, free: 73.88 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001562/9.336, allocations: 257.5 kB / 3.737 GB, free: 73.83 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001678/9.337, allocations: 0.6859 MB / 3.738 GB, free: 73.55 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.583e-05/9.338, allocations: 66.44 kB / 3.738 GB, free: 73.55 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/9.338, allocations: 95.69 kB / 3.738 GB, free: 73.55 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004847/9.343, allocations: 2.239 MB / 3.74 GB, free: 73.35 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/9.343, allocations: 0 / 3.74 GB, free: 73.35 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.008e-05/9.343, allocations: 31.59 kB / 3.74 GB, free: 73.35 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-05/9.343, allocations: 43.25 kB / 3.74 GB, free: 73.35 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004533/9.347, allocations: 2.16 MB / 3.742 GB, free: 73.34 MB / 0.5105 GB 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.005704/9.353, allocations: 5.037 MB / 3.747 GB, free: 70.36 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0034/9.356, allocations: 1.37 MB / 3.748 GB, free: 70.33 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1064/9.463, allocations: 63.73 MB / 3.811 GB, free: 9.484 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.584e-05/9.463, allocations: 38.31 kB / 3.811 GB, free: 9.445 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=67): time 2.084e-06/9.463, allocations: 0 / 3.811 GB, free: 9.445 MB / 0.5105 GB Notification: Performance of matching and sorting (n=67): time 0.008876/9.472, allocations: 2.828 MB / 3.813 GB, free: 7.855 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/9.472, allocations: 59.97 kB / 3.813 GB, free: 7.781 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005699/9.472, allocations: 438.8 kB / 3.814 GB, free: 7.492 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000128/9.473, allocations: 36.7 kB / 3.814 GB, free: 7.457 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/9.473, allocations: 387.2 kB / 3.814 GB, free: 7.203 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/9.473, allocations: 235.8 kB / 3.815 GB, free: 7.023 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.635e-05/9.473, allocations: 14.12 kB / 3.815 GB, free: 7.02 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.943e-05/9.473, allocations: 370.2 kB / 3.815 GB, free: 6.691 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008872/9.474, allocations: 0.6177 MB / 3.816 GB, free: 6.391 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00094/9.475, allocations: 0.7605 MB / 3.816 GB, free: 5.91 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009405/9.476, allocations: 0.6583 MB / 3.817 GB, free: 5.586 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/9.476, allocations: 7.938 kB / 3.817 GB, free: 5.578 MB / 0.5105 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.003824/9.48, allocations: 2.233 MB / 3.819 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000222/9.48, allocations: 0.9654 MB / 3.82 GB, free: 3.402 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/9.48, allocations: 4 kB / 3.82 GB, free: 3.398 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003417/9.483, allocations: 1.696 MB / 3.822 GB, free: 2.438 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004515/9.484, allocations: 94.22 kB / 3.822 GB, free: 2.371 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003321/9.487, allocations: 2.364 MB / 3.824 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/9.489, allocations: 140.2 kB / 3.824 GB, free: 0.7969 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/9.489, allocations: 89.19 kB / 3.824 GB, free: 0.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/9.489, allocations: 4 kB / 3.824 GB, free: 0.7461 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003895/9.493, allocations: 2.132 MB / 3.826 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/9.493, allocations: 4 kB / 3.826 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003839/9.497, allocations: 1.697 MB / 3.828 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004192/9.497, allocations: 94.98 kB / 3.828 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00391/9.501, allocations: 2.372 MB / 3.83 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/9.502, allocations: 129.4 kB / 3.831 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001701/9.502, allocations: 87.34 kB / 3.831 GB, free: 11.88 MB / 0.5261 GB 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.0008679/9.503, allocations: 354.6 kB / 3.831 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002683/9.504, allocations: 67.2 kB / 3.831 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01118/9.515, allocations: 9.952 MB / 3.841 GB, free: 2.73 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.308e-05/9.515, allocations: 19.97 kB / 3.841 GB, free: 2.711 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.73e-05/9.515, allocations: 14.03 kB / 3.841 GB, free: 2.703 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.605e-05/9.515, allocations: 3.984 kB / 3.841 GB, free: 2.699 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3709/9.886, allocations: 4.598 MB / 3.845 GB, free: 91.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/9.886, allocations: 0.75 kB / 3.845 GB, free: 91.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/9.887, allocations: 158.9 kB / 3.845 GB, free: 91.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001889/9.889, allocations: 427.1 kB / 3.846 GB, free: 91.71 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002381/9.889, allocations: 28.59 kB / 3.846 GB, free: 91.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005674/9.895, allocations: 4.272 MB / 3.85 GB, free: 89.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/9.895, allocations: 7.812 kB / 3.85 GB, free: 89.23 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005498/9.9, allocations: 2.553 MB / 3.853 GB, free: 88.97 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007357/9.901, allocations: 267 kB / 3.853 GB, free: 88.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/9.901, allocations: 16.73 kB / 3.853 GB, free: 88.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00079/9.902, allocations: 78.8 kB / 3.853 GB, free: 88.83 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002448/9.902, allocations: 52.62 kB / 3.853 GB, free: 88.83 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.213e-05/9.902, allocations: 27.22 kB / 3.853 GB, free: 88.83 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005022/9.903, allocations: 341.6 kB / 3.853 GB, free: 88.74 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.7e-07/9.903, allocations: 0 / 3.853 GB, free: 88.74 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006881/9.91, allocations: 1.34 MB / 3.855 GB, free: 88.7 MB / 0.5261 GB 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 ($cse1.phase,$cse1.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.008837/9.919, allocations: 1.291 MB / 3.856 GB, free: 88.61 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005419/9.924, allocations: 2.511 MB / 3.858 GB, free: 88.58 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/9.924, allocations: 0 / 3.858 GB, free: 88.58 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001926/9.926, allocations: 1.089 MB / 3.859 GB, free: 88.33 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001641/9.928, allocations: 296 kB / 3.86 GB, free: 88.33 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004257/9.932, allocations: 2.987 MB / 3.863 GB, free: 87.26 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006606/9.933, allocations: 1.138 MB / 3.864 GB, free: 86.56 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001187/9.934, allocations: 385.9 kB / 3.864 GB, free: 86.55 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002798/9.934, allocations: 62.17 kB / 3.864 GB, free: 86.54 MB / 0.5261 GB Notification: Performance of SimCode: time 1.704e-06/9.934, allocations: 0 / 3.864 GB, free: 86.54 MB / 0.5261 GB Notification: Performance of Templates: time 0.09433/10.03, allocations: 61.3 MB / 3.924 GB, free: 84.2 MB / 0.5261 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)