Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.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_A_Fast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001991/0.001991, allocations: 180.3 kB / 16.38 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.851/1.851, 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.0009647/0.0009655, allocations: 92.14 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5769/0.5769, allocations: 48.78 MB / 367.9 MB, free: 47.42 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003352/0.0003354, allocations: 8 kB / 438.6 MB, free: 10.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1604, allocations: 60.25 MB / 498.9 MB, free: 14.6 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.403/8.564, allocations: 3.284 GB / 3.771 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/8.564, allocations: 84.08 kB / 3.772 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.55/13.11, allocations: 1.342 GB / 5.114 GB, free: 63.25 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.425e-06/13.11, allocations: 0 / 5.114 GB, free: 63.25 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.832e-05/13.11, allocations: 46.44 kB / 5.114 GB, free: 63.25 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: 636 * Number of variables: 636 Notification: Performance of Generate backend data structure: time 0.01719/13.13, allocations: 4.154 MB / 5.118 GB, free: 62.02 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.712e-05/13.13, allocations: 15.3 kB / 5.118 GB, free: 62.02 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002342/13.13, allocations: 250.1 kB / 5.118 GB, free: 61.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006153/13.14, allocations: 1.574 MB / 5.119 GB, free: 61.56 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001978/13.14, allocations: 176.7 kB / 5.12 GB, free: 61.55 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00127/13.14, allocations: 267 kB / 5.12 GB, free: 61.54 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006632/13.15, allocations: 3.906 MB / 5.124 GB, free: 61.28 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.886e-05/13.15, allocations: 2.969 kB / 5.124 GB, free: 61.28 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00029/13.15, allocations: 99.42 kB / 5.124 GB, free: 61.28 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001364/13.15, allocations: 141.4 kB / 5.124 GB, free: 61.27 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008773/13.16, allocations: 5.663 MB / 5.129 GB, free: 61.24 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03014/13.19, allocations: 15.5 MB / 5.145 GB, free: 54.57 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01018/13.2, allocations: 4.826 MB / 5.149 GB, free: 54.27 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01902/13.22, allocations: 9.691 MB / 5.159 GB, free: 49.53 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.126e-05/13.22, allocations: 62.31 kB / 5.159 GB, free: 49.49 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=235): time 7.334e-06/13.22, allocations: 0 / 5.159 GB, free: 49.49 MB / 0.5105 GB Notification: Performance of matching and sorting (n=235): time 0.02919/13.25, allocations: 9.066 MB / 5.168 GB, free: 49.15 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.874e-05/13.25, allocations: 80.25 kB / 5.168 GB, free: 49.09 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001602/13.25, allocations: 0.7055 MB / 5.168 GB, free: 48.95 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007031/13.25, allocations: 66.7 kB / 5.169 GB, free: 48.91 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007036/13.25, allocations: 0.8488 MB / 5.169 GB, free: 48.42 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001317/13.25, allocations: 0.8433 MB / 5.17 GB, free: 47.88 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/13.25, allocations: 54.62 kB / 5.17 GB, free: 47.88 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002609/13.25, allocations: 455.1 kB / 5.171 GB, free: 47.57 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002522/13.25, allocations: 1.421 MB / 5.172 GB, free: 47.56 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002525/13.26, allocations: 2.074 MB / 5.174 GB, free: 46.83 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002333/13.26, allocations: 1.741 MB / 5.176 GB, free: 46.79 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.711e-05/13.26, allocations: 9.516 kB / 5.176 GB, free: 46.78 MB / 0.5105 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007766/13.27, allocations: 4.509 MB / 5.18 GB, free: 45.08 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002133/13.27, allocations: 7.149 MB / 5.187 GB, free: 37.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.203e-05/13.27, allocations: 18.44 kB / 5.187 GB, free: 37.51 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004664/13.27, allocations: 1.27 MB / 5.188 GB, free: 37.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003051/13.28, allocations: 492 kB / 5.189 GB, free: 37.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007952/13.28, allocations: 11.61 MB / 5.2 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003967/13.29, allocations: 394.6 kB / 5.201 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001018/13.29, allocations: 120.9 kB / 5.201 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/13.29, allocations: 6.281 kB / 5.201 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01199/13.3, allocations: 4.306 MB / 5.205 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001563/13.3, allocations: 22.3 kB / 5.205 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004854/13.31, allocations: 1.264 MB / 5.206 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002715/13.31, allocations: 484.5 kB / 5.207 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008443/13.32, allocations: 11.62 MB / 5.218 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004937/13.32, allocations: 340.5 kB / 5.218 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001266/13.32, allocations: 114.7 kB / 5.218 GB, free: 13.96 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (282): * Single equations (assignments): 263 * 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: 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 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.003383/13.33, allocations: 0.7381 MB / 5.219 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001056/13.33, allocations: 151.6 kB / 5.219 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0151/13.34, allocations: 5.561 MB / 5.225 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.272e-05/13.34, allocations: 22.72 kB / 5.225 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.394e-05/13.34, allocations: 12.56 kB / 5.225 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.935e-05/13.34, allocations: 11.16 kB / 5.225 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00653/13.35, allocations: 2.507 MB / 5.227 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.873e-05/13.35, allocations: 0 / 5.227 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001949/13.35, allocations: 335.5 kB / 5.228 GB, free: 10.49 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009027/13.36, allocations: 2.687 MB / 5.23 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001003/13.36, allocations: 93.52 kB / 5.23 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02283/13.39, allocations: 12.4 MB / 5.242 GB, free: 5.352 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/13.39, allocations: 3.938 kB / 5.242 GB, free: 5.348 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01632/13.4, allocations: 7.213 MB / 5.249 GB, free: 2.711 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002193/13.4, allocations: 0.5659 MB / 5.25 GB, free: 2.398 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008809/13.41, allocations: 70.19 kB / 5.25 GB, free: 2.359 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002879/13.41, allocations: 188.2 kB / 5.25 GB, free: 2.312 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009576/13.41, allocations: 184.4 kB / 5.25 GB, free: 2.293 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004973/13.41, allocations: 82.39 kB / 5.25 GB, free: 2.281 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000962/13.41, allocations: 0.5218 MB / 5.251 GB, free: 2.055 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.51e-07/13.41, allocations: 0 / 5.251 GB, free: 2.055 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008653/13.42, allocations: 1.617 MB / 5.253 GB, free: 1.742 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (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],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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (180): * Single equations (assignments): 179 * 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: 1 {(19,57.6%) 39} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001097/13.42, allocations: 350.3 kB / 5.253 GB, free: 1.582 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02133/13.44, allocations: 7.137 MB / 5.26 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/13.44, allocations: 2.344 kB / 5.26 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.007144/13.45, allocations: 2.702 MB / 5.263 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004838/13.45, allocations: 0.8782 MB / 5.263 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/13.47, allocations: 6.857 MB / 5.27 GB, free: 11 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001396/13.47, allocations: 1.69 MB / 5.272 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004243/13.47, allocations: 1.281 MB / 5.273 GB, free: 9.895 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006237/13.47, allocations: 162.5 kB / 5.273 GB, free: 9.871 MB / 0.5261 GB Notification: Performance of SimCode: time 1.322e-06/13.47, allocations: 0 / 5.273 GB, free: 9.871 MB / 0.5261 GB Notification: Performance of Templates: time 0.4458/13.92, allocations: 55.44 MB / 5.327 GB, free: 70.91 MB / 0.5261 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.pipe 2>&1)