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.001148/0.001149, allocations: 176.1 kB / 17.4 MB, free: 4.395 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.734/1.734, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.0007942/0.0007941, allocations: 85.44 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5135/0.5135, allocations: 48.78 MB / 369 MB, free: 47.35 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003919/0.000392, allocations: 12 kB / 439.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1441, allocations: 60.25 MB / 0.4884 GB, free: 14.3 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.744/7.889, allocations: 3.285 GB / 3.773 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/7.889, allocations: 89.45 kB / 3.773 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.345/11.23, allocations: 1.013 GB / 4.786 GB, free: 69.44 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.795e-06/11.23, allocations: 0 / 4.786 GB, free: 69.44 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001487/11.23, allocations: 49.98 kB / 4.786 GB, free: 69.43 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.01687/11.25, allocations: 4.11 MB / 4.79 GB, free: 67.93 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/11.25, allocations: 9.375 kB / 4.79 GB, free: 67.93 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002152/11.25, allocations: 256.8 kB / 4.79 GB, free: 67.81 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006141/11.26, allocations: 1.598 MB / 4.792 GB, free: 67.12 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002606/11.26, allocations: 175.7 kB / 4.792 GB, free: 67.04 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001741/11.26, allocations: 269.3 kB / 4.792 GB, free: 66.94 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01181/11.27, allocations: 3.923 MB / 4.796 GB, free: 65.42 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001165/11.27, allocations: 3.938 kB / 4.796 GB, free: 65.42 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001103/11.27, allocations: 93.94 kB / 4.796 GB, free: 65.35 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001721/11.28, allocations: 139.5 kB / 4.796 GB, free: 65.33 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01159/11.29, allocations: 5.664 MB / 4.802 GB, free: 63.61 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03324/11.32, allocations: 15.35 MB / 4.817 GB, free: 53.86 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01106/11.33, allocations: 4.836 MB / 4.821 GB, free: 51.72 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00427/11.34, allocations: 1.977 MB / 4.823 GB, free: 50.88 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0198/11.36, allocations: 9.581 MB / 4.833 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.971e-05/11.36, allocations: 56.5 kB / 4.833 GB, free: 44.13 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=235): time 6.612e-06/11.36, allocations: 0 / 4.833 GB, free: 44.13 MB / 0.5105 GB Notification: Performance of matching and sorting (n=235): time 0.02729/11.38, allocations: 9.135 MB / 4.842 GB, free: 41.48 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.492e-05/11.38, allocations: 76.5 kB / 4.842 GB, free: 41.42 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001488/11.38, allocations: 0.7993 MB / 4.843 GB, free: 41.07 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006766/11.39, allocations: 67.11 kB / 4.843 GB, free: 41.01 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006072/11.39, allocations: 0.8463 MB / 4.843 GB, free: 40.36 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001433/11.39, allocations: 0.845 MB / 4.844 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005152/11.39, allocations: 55.66 kB / 4.844 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003527/11.39, allocations: 457.6 kB / 4.845 GB, free: 39.29 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002799/11.39, allocations: 1.417 MB / 4.846 GB, free: 38.76 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003217/11.39, allocations: 2.092 MB / 4.848 GB, free: 37.42 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006004/11.4, allocations: 3.748 MB / 4.852 GB, free: 34.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-05/11.4, allocations: 8 kB / 4.852 GB, free: 34.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.00932/11.41, allocations: 4.514 MB / 4.856 GB, free: 30.15 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005548/11.41, allocations: 0.6301 MB / 4.857 GB, free: 29.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.537e-05/11.41, allocations: 20 kB / 4.857 GB, free: 29.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004337/11.41, allocations: 1.27 MB / 4.858 GB, free: 28.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00231/11.42, allocations: 491 kB / 4.859 GB, free: 27.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007935/11.42, allocations: 11.62 MB / 4.87 GB, free: 16.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003275/11.43, allocations: 392.3 kB / 4.87 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006794/11.43, allocations: 119.3 kB / 4.87 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/11.43, allocations: 5.875 kB / 4.87 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008835/11.44, allocations: 4.309 MB / 4.875 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001007/11.44, allocations: 23.38 kB / 4.875 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004258/11.44, allocations: 1.269 MB / 4.876 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002164/11.44, allocations: 483.3 kB / 4.876 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009148/11.45, allocations: 11.62 MB / 4.888 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003506/11.46, allocations: 353.8 kB / 4.888 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008244/11.46, allocations: 113.5 kB / 4.888 GB, free: 13.64 MB / 0.5261 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.002656/11.46, allocations: 0.7405 MB / 4.889 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008184/11.46, allocations: 146.3 kB / 4.889 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01475/11.48, allocations: 5.541 MB / 4.894 GB, free: 7.199 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.663e-05/11.48, allocations: 24 kB / 4.894 GB, free: 7.176 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.907e-05/11.48, allocations: 16 kB / 4.894 GB, free: 7.16 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-05/11.48, allocations: 11.95 kB / 4.894 GB, free: 7.148 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006002/11.48, allocations: 2.504 MB / 4.897 GB, free: 4.641 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.072e-05/11.48, allocations: 3.984 kB / 4.897 GB, free: 4.637 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001748/11.48, allocations: 339.5 kB / 4.897 GB, free: 4.305 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009063/11.49, allocations: 2.691 MB / 4.9 GB, free: 1.605 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009233/11.49, allocations: 103.6 kB / 4.9 GB, free: 1.508 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3698/11.86, allocations: 11.81 MB / 4.911 GB, free: 79.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/11.86, allocations: 0 / 4.911 GB, free: 79.16 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01761/11.88, allocations: 7.233 MB / 4.919 GB, free: 78.82 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002404/11.88, allocations: 0.5272 MB / 4.919 GB, free: 78.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004066/11.88, allocations: 64.22 kB / 4.919 GB, free: 78.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002025/11.89, allocations: 192.8 kB / 4.919 GB, free: 78.64 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009619/11.89, allocations: 183 kB / 4.919 GB, free: 78.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002348/11.89, allocations: 82.09 kB / 4.92 GB, free: 78.64 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008633/11.89, allocations: 0.522 MB / 4.92 GB, free: 78.54 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/11.89, allocations: 0 / 4.92 GB, free: 78.54 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006679/11.9, allocations: 1.616 MB / 4.922 GB, free: 78.45 MB / 0.5261 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.001307/11.9, allocations: 347 kB / 4.922 GB, free: 78.36 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01961/11.92, allocations: 7.044 MB / 4.929 GB, free: 78.28 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.916e-06/11.92, allocations: 0 / 4.929 GB, free: 78.28 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.007707/11.92, allocations: 2.705 MB / 4.932 GB, free: 78.05 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007164/11.93, allocations: 0.8951 MB / 4.932 GB, free: 78.04 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01869/11.95, allocations: 6.894 MB / 4.939 GB, free: 75.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002814/11.95, allocations: 1.644 MB / 4.941 GB, free: 75.16 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007923/11.96, allocations: 1.279 MB / 4.942 GB, free: 75.09 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001728/11.96, allocations: 165.8 kB / 4.942 GB, free: 75.09 MB / 0.5261 GB Notification: Performance of SimCode: time 1.542e-06/11.96, allocations: 1 kB / 4.942 GB, free: 75.09 MB / 0.5261 GB Notification: Performance of Templates: time 0.09359/12.06, allocations: 56.09 MB / 4.997 GB, free: 73.06 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)