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.001252/0.001252, allocations: 176.9 kB / 17.4 MB, free: 4.297 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.737/1.737, allocations: 205.4 MB / 223.5 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.0008093/0.0008093, allocations: 94.34 kB / 271.9 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5017/0.5017, allocations: 48.78 MB / 369 MB, free: 47.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003667/0.0003667, allocations: 12 kB / 439.9 MB, free: 10.69 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1427, allocations: 60.26 MB / 0.4884 GB, free: 14.29 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.977/7.119, allocations: 2.957 GB / 3.446 GB, free: 63.65 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/7.12, allocations: 88.78 kB / 3.446 GB, free: 63.57 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.422/8.541, allocations: 367.8 MB / 3.805 GB, free: 62.03 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.164e-06/8.541, allocations: 0 / 3.805 GB, free: 62.03 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001465/8.541, allocations: 50.91 kB / 3.805 GB, free: 62.03 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.0199/8.561, allocations: 4.584 MB / 3.809 GB, free: 60.57 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.125e-05/8.561, allocations: 7.844 kB / 3.809 GB, free: 60.57 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006385/8.568, allocations: 0.8131 MB / 3.81 GB, free: 60.31 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007052/8.575, allocations: 1.852 MB / 3.812 GB, free: 59.53 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003584/8.575, allocations: 216.4 kB / 3.812 GB, free: 59.43 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002062/8.577, allocations: 316.2 kB / 3.812 GB, free: 59.32 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02538/8.603, allocations: 8.566 MB / 3.821 GB, free: 56.32 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001613/8.603, allocations: 7.875 kB / 3.821 GB, free: 56.32 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001409/8.604, allocations: 119.2 kB / 3.821 GB, free: 56.23 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001645/8.605, allocations: 152.1 kB / 3.821 GB, free: 56.21 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02471/8.629, allocations: 10.19 MB / 3.831 GB, free: 53.09 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.0324/8.662, allocations: 19.19 MB / 3.85 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0155/8.677, allocations: 6.354 MB / 3.856 GB, free: 37.19 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003916/8.681, allocations: 1.916 MB / 3.858 GB, free: 36.38 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4905/9.172, allocations: 63.78 MB / 3.92 GB, free: 71.96 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001018/9.172, allocations: 62.84 kB / 3.92 GB, free: 71.92 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=273): time 6.763e-06/9.172, allocations: 0 / 3.92 GB, free: 71.92 MB / 0.5261 GB Notification: Performance of matching and sorting (n=273): time 0.05088/9.223, allocations: 14.9 MB / 3.935 GB, free: 71.62 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/9.223, allocations: 82.59 kB / 3.935 GB, free: 71.56 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/9.224, allocations: 0.6154 MB / 3.935 GB, free: 71.45 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001195/9.225, allocations: 76.48 kB / 3.936 GB, free: 71.41 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006072/9.226, allocations: 0.8168 MB / 3.936 GB, free: 71.16 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002025/9.228, allocations: 0.954 MB / 3.937 GB, free: 70.67 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001021/9.229, allocations: 47.94 kB / 3.937 GB, free: 70.67 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000423/9.23, allocations: 458 kB / 3.938 GB, free: 70.35 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005503/9.235, allocations: 2.841 MB / 3.941 GB, free: 70.34 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005634/9.241, allocations: 3.188 MB / 3.944 GB, free: 70.05 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01167/9.252, allocations: 5.977 MB / 3.949 GB, free: 69.77 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-05/9.252, allocations: 2.344 kB / 3.949 GB, free: 69.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=321) (initialization): time 0.02273/9.275, allocations: 9.614 MB / 3.959 GB, free: 69.55 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002287/9.275, allocations: 271.8 kB / 3.959 GB, free: 69.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.987e-05/9.275, allocations: 9.703 kB / 3.959 GB, free: 69.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02184/9.297, allocations: 8.52 MB / 3.967 GB, free: 69.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/9.299, allocations: 268.9 kB / 3.968 GB, free: 69.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01977/9.319, allocations: 9.611 MB / 3.977 GB, free: 68.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004498/9.323, allocations: 478.2 kB / 3.978 GB, free: 68.49 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001176/9.324, allocations: 330.6 kB / 3.978 GB, free: 68.49 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/9.324, allocations: 3.562 kB / 3.978 GB, free: 68.49 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01875/9.343, allocations: 9.424 MB / 3.987 GB, free: 65.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.394e-05/9.343, allocations: 7.406 kB / 3.987 GB, free: 65.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01824/9.361, allocations: 8.511 MB / 3.995 GB, free: 63.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/9.363, allocations: 260.4 kB / 3.996 GB, free: 63.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0192/9.382, allocations: 9.609 MB / 4.005 GB, free: 60.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004322/9.386, allocations: 470.1 kB / 4.005 GB, free: 60.33 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001136/9.388, allocations: 323.8 kB / 4.006 GB, free: 60.25 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 () * Number of clocked 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.003307/9.391, allocations: 0.8244 MB / 4.007 GB, free: 59.81 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001149/9.392, allocations: 145.3 kB / 4.007 GB, free: 59.74 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0465/9.439, allocations: 41.37 MB / 4.047 GB, free: 41.32 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001176/9.439, allocations: 102.1 kB / 4.047 GB, free: 41.26 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.926e-05/9.439, allocations: 20 kB / 4.047 GB, free: 41.24 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.459e-05/9.439, allocations: 13.45 kB / 4.047 GB, free: 41.24 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01723/9.456, allocations: 18.09 MB / 4.065 GB, free: 24.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.054e-05/9.456, allocations: 1 kB / 4.065 GB, free: 24.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003976/9.46, allocations: 0.6232 MB / 4.066 GB, free: 23.83 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00906/9.469, allocations: 2.649 MB / 4.068 GB, free: 22.09 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001292/9.471, allocations: 108.1 kB / 4.068 GB, free: 22.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0218/9.492, allocations: 13.95 MB / 4.082 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/9.492, allocations: 0 / 4.082 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02367/9.516, allocations: 12.4 MB / 4.094 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002559/9.519, allocations: 0.745 MB / 4.095 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008992/9.52, allocations: 78.91 kB / 4.095 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003614/9.523, allocations: 312.9 kB / 4.095 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001112/9.524, allocations: 209.8 kB / 4.095 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005361/9.525, allocations: 101.6 kB / 4.095 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000752/9.526, allocations: 422.5 kB / 4.096 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/9.526, allocations: 0 / 4.096 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01331/9.539, allocations: 2.815 MB / 4.099 GB, free: 11.62 MB / 0.5417 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 () * Number of clocked 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.009031/9.548, allocations: 1.43 MB / 4.1 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.3319/9.88, allocations: 11.46 MB / 4.111 GB, free: 91.12 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/9.88, allocations: 0.9062 kB / 4.111 GB, free: 91.12 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.008086/9.888, allocations: 4.326 MB / 4.115 GB, free: 90.91 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004528/9.893, allocations: 0.7638 MB / 4.116 GB, free: 90.91 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01727/9.91, allocations: 11.05 MB / 4.127 GB, free: 87.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001824/9.912, allocations: 2.213 MB / 4.129 GB, free: 86.75 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.003766/9.916, allocations: 1.437 MB / 4.13 GB, free: 86.72 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008408/9.917, allocations: 159.9 kB / 4.131 GB, free: 86.71 MB / 0.5417 GB Notification: Performance of SimCode: time 1.764e-06/9.917, allocations: 1.781 kB / 4.131 GB, free: 86.71 MB / 0.5417 GB Notification: Performance of Templates: time 0.5368/10.45, allocations: 180.9 MB / 4.307 GB, free: 106.5 MB / 0.5573 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)