Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001447/0.001447, allocations: 172.8 kB / 8.343 MB, free: 0.7422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.928/1.928, allocations: 205.3 MB / 214.1 MB, free: 1.68 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009385/0.0009389, allocations: 78.73 kB / 262.1 MB, free: 1.625 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3112/0.3112, allocations: 48.79 MB / 358.8 MB, free: 10.88 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.876e-05/1.878e-05, allocations: 4 kB / 425.3 MB, free: 22.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1546, allocations: 60.26 MB / 485.6 MB, free: 10 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.504/8.659, allocations: 2.956 GB / 3.43 GB, free: 40.31 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004641/8.659, allocations: 82.14 kB / 3.43 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.635/10.29, allocations: 363.4 MB / 3.785 GB, free: 72.98 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.857e-06/10.29, allocations: 0 / 3.785 GB, free: 72.98 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002368/10.29, allocations: 51.06 kB / 3.785 GB, free: 72.97 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: 762 * Number of variables: 762 Notification: Performance of Generate backend data structure: time 0.02144/10.32, allocations: 4.479 MB / 3.79 GB, free: 71.46 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 8.022e-05/10.32, allocations: 10.44 kB / 3.79 GB, free: 71.46 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00705/10.32, allocations: 0.8158 MB / 3.79 GB, free: 71.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007864/10.33, allocations: 1.817 MB / 3.792 GB, free: 70.41 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/10.33, allocations: 88.53 kB / 3.792 GB, free: 70.41 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001287/10.33, allocations: 163.8 kB / 3.792 GB, free: 70.41 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01144/10.34, allocations: 5.91 MB / 3.798 GB, free: 68.56 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007478/10.35, allocations: 4.09 MB / 3.802 GB, free: 67.08 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-05/10.35, allocations: 3.953 kB / 3.802 GB, free: 67.07 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002959/10.35, allocations: 3.062 kB / 3.802 GB, free: 67.07 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001915/10.35, allocations: 159.3 kB / 3.802 GB, free: 67.05 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.03031/10.38, allocations: 18.65 MB / 3.821 GB, free: 52.95 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005719/10.39, allocations: 3.858 MB / 3.824 GB, free: 49.18 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002624/10.39, allocations: 1.792 MB / 3.826 GB, free: 47.38 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5674/10.96, allocations: 64.02 MB / 3.889 GB, free: 87.13 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.201e-05/10.96, allocations: 62.72 kB / 3.889 GB, free: 87.09 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=273): time 5.44e-06/10.96, allocations: 1.312 kB / 3.889 GB, free: 87.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=273): time 0.02679/10.99, allocations: 8.096 MB / 3.897 GB, free: 86.91 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.969e-05/10.99, allocations: 87.03 kB / 3.897 GB, free: 86.84 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/10.99, allocations: 489 kB / 3.897 GB, free: 86.73 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001278/10.99, allocations: 25.7 kB / 3.897 GB, free: 86.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000593/10.99, allocations: 0.8137 MB / 3.898 GB, free: 86.41 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001627/10.99, allocations: 0.9217 MB / 3.899 GB, free: 85.93 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003723/10.99, allocations: 2.844 kB / 3.899 GB, free: 85.93 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002446/10.99, allocations: 446.9 kB / 3.899 GB, free: 85.61 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004146/11, allocations: 2.724 MB / 3.902 GB, free: 85.61 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004024/11, allocations: 3.055 MB / 3.905 GB, free: 85.32 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01228/11.01, allocations: 3.378 MB / 3.908 GB, free: 85.27 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.069e-05/11.01, allocations: 0 / 3.908 GB, free: 85.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=321) (initialization): time 0.02902/11.04, allocations: 9.722 MB / 3.918 GB, free: 85.06 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006757/11.04, allocations: 2.278 MB / 3.92 GB, free: 82.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.53e-05/11.04, allocations: 11.69 kB / 3.92 GB, free: 82.69 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01803/11.06, allocations: 8.031 MB / 3.928 GB, free: 82.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/11.06, allocations: 274.8 kB / 3.928 GB, free: 82.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03072/11.09, allocations: 11.08 MB / 3.939 GB, free: 82.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005029/11.1, allocations: 424.3 kB / 3.939 GB, free: 81.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00155/11.1, allocations: 331.9 kB / 3.94 GB, free: 81.95 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/11.1, allocations: 3.719 kB / 3.94 GB, free: 81.95 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02868/11.13, allocations: 9.475 MB / 3.949 GB, free: 81.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.409e-05/11.13, allocations: 3.938 kB / 3.949 GB, free: 81.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01811/11.15, allocations: 8.042 MB / 3.957 GB, free: 81.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/11.15, allocations: 257 kB / 3.957 GB, free: 81.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03056/11.18, allocations: 11.08 MB / 3.968 GB, free: 79.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004925/11.18, allocations: 407.1 kB / 3.968 GB, free: 79.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001419/11.18, allocations: 326.8 kB / 3.969 GB, free: 79.53 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 22 (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,T_out.fluidState.phase,T_in.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 145 * 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 {20 156} Notification: Performance of prepare postOptimizeDAE: time 0.00235/11.19, allocations: 159.9 kB / 3.969 GB, free: 79.41 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001396/11.19, allocations: 141.4 kB / 3.969 GB, free: 79.35 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05232/11.24, allocations: 42.53 MB / 4.01 GB, free: 55.38 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001224/11.24, allocations: 94.78 kB / 4.01 GB, free: 55.32 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.147e-05/11.24, allocations: 19.44 kB / 4.01 GB, free: 55.31 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001466/11.24, allocations: 13.64 kB / 4.01 GB, free: 55.31 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01844/11.26, allocations: 17.54 MB / 4.028 GB, free: 38.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-05/11.26, allocations: 0 / 4.028 GB, free: 38.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00428/11.26, allocations: 0.6211 MB / 4.028 GB, free: 38.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009929/11.27, allocations: 2.582 MB / 4.031 GB, free: 36.78 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001636/11.27, allocations: 70.89 kB / 4.031 GB, free: 36.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02494/11.3, allocations: 13.75 MB / 4.044 GB, free: 25.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/11.3, allocations: 1.219 kB / 4.044 GB, free: 25.21 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02543/11.33, allocations: 11.95 MB / 4.056 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00265/11.33, allocations: 0.7446 MB / 4.057 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005282/11.33, allocations: 23.83 kB / 4.057 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00323/11.33, allocations: 267.6 kB / 4.057 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000791/11.33, allocations: 205.1 kB / 4.057 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002614/11.33, allocations: 103.2 kB / 4.057 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005363/11.33, allocations: 353.9 kB / 4.058 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/11.33, allocations: 0 / 4.058 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01498/11.35, allocations: 2.701 MB / 4.06 GB, free: 10.74 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: 44 ($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,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (240): * Single equations (assignments): 217 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 22 * 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 {(20,57.2%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01019/11.36, allocations: 1.523 MB / 4.062 GB, free: 9.602 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02501/11.38, allocations: 10.97 MB / 4.072 GB, free: 48 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.408e-05/11.38, allocations: 5.281 kB / 4.072 GB, free: 48 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.3918/11.78, allocations: 5.146 MB / 4.077 GB, free: 87.95 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005535/11.78, allocations: 0.64 MB / 4.078 GB, free: 87.94 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0161/11.8, allocations: 8.045 MB / 4.086 GB, free: 86.79 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00308/11.8, allocations: 2.264 MB / 4.088 GB, free: 86.04 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005234/11.81, allocations: 1.486 MB / 4.09 GB, free: 86 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001059/11.81, allocations: 157.8 kB / 4.09 GB, free: 86 MB / 0.5261 GB Notification: Performance of SimCode: time 1.252e-06/11.81, allocations: 0 / 4.09 GB, free: 86 MB / 0.5261 GB Notification: Performance of Templates: time 0.2343/12.04, allocations: 170.2 MB / 4.256 GB, free: 15.21 MB / 0.5417 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.pipe 2>&1)