Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.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_B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009557/0.0009557, allocations: 176.4 kB / 17.4 MB, free: 4.301 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.618/1.618, allocations: 205.4 MB / 223.6 MB, free: 9.008 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.0008456/0.0008458, allocations: 88.98 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.4669/0.4669, allocations: 48.78 MB / 369 MB, free: 47.37 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005262/0.0005263, allocations: 16 kB / 439.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1764, allocations: 60.24 MB / 0.4884 GB, free: 14.3 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.112/7.288, allocations: 2.966 GB / 3.455 GB, free: 54.86 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003528/7.288, allocations: 87.81 kB / 3.455 GB, free: 54.77 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.45/8.738, allocations: 375.9 MB / 3.822 GB, free: 59.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.314e-06/8.738, allocations: 0 / 3.822 GB, free: 59.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.418e-05/8.738, allocations: 34.03 kB / 3.822 GB, free: 59.8 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: 420 * Number of variables: 420 Notification: Performance of Generate backend data structure: time 0.01037/8.749, allocations: 2.66 MB / 3.824 GB, free: 58.59 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/8.749, allocations: 10.94 kB / 3.824 GB, free: 58.59 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002546/8.751, allocations: 467.7 kB / 3.825 GB, free: 58.45 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002676/8.754, allocations: 1.165 MB / 3.826 GB, free: 57.87 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.738e-05/8.754, allocations: 126.3 kB / 3.826 GB, free: 57.81 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003585/8.755, allocations: 168.4 kB / 3.826 GB, free: 57.75 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009419/8.764, allocations: 4.547 MB / 3.831 GB, free: 56.13 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.799e-05/8.764, allocations: 3.938 kB / 3.831 GB, free: 56.13 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001833/8.764, allocations: 63.25 kB / 3.831 GB, free: 56.08 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.059e-05/8.764, allocations: 81.55 kB / 3.831 GB, free: 56.07 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00987/8.774, allocations: 4.842 MB / 3.836 GB, free: 54.54 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.01175/8.786, allocations: 10.38 MB / 3.846 GB, free: 47.22 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007054/8.793, allocations: 3.409 MB / 3.849 GB, free: 45.96 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001344/8.794, allocations: 0.9985 MB / 3.85 GB, free: 45.57 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4964/9.291, allocations: 79.67 MB / 3.928 GB, free: 69.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.54e-05/9.291, allocations: 46.62 kB / 3.928 GB, free: 69.66 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=158): time 3.416e-06/9.291, allocations: 0 / 3.928 GB, free: 69.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=158): time 0.01985/9.311, allocations: 6.546 MB / 3.934 GB, free: 69.48 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.434e-05/9.311, allocations: 70.38 kB / 3.934 GB, free: 69.41 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008713/9.312, allocations: 0.5622 MB / 3.935 GB, free: 69.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003131/9.312, allocations: 54.98 kB / 3.935 GB, free: 69.27 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003809/9.313, allocations: 0.5117 MB / 3.935 GB, free: 69.11 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007102/9.313, allocations: 0.5449 MB / 3.936 GB, free: 68.83 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002325/9.314, allocations: 31.09 kB / 3.936 GB, free: 68.83 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002117/9.314, allocations: 413 kB / 3.936 GB, free: 68.52 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002261/9.316, allocations: 1.46 MB / 3.938 GB, free: 68.52 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002197/9.318, allocations: 1.69 MB / 3.939 GB, free: 68.31 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004359/9.323, allocations: 3.115 MB / 3.942 GB, free: 68.16 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/9.323, allocations: 2.531 kB / 3.942 GB, free: 68.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.008929/9.332, allocations: 5.131 MB / 3.948 GB, free: 68.01 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001333/9.332, allocations: 199.9 kB / 3.948 GB, free: 67.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/9.332, allocations: 3.062 kB / 3.948 GB, free: 67.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01049/9.342, allocations: 4.691 MB / 3.952 GB, free: 67.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006945/9.343, allocations: 120.8 kB / 3.952 GB, free: 67.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0113/9.354, allocations: 5.561 MB / 3.958 GB, free: 67.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00298/9.357, allocations: 280.2 kB / 3.958 GB, free: 67.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008874/9.358, allocations: 181.1 kB / 3.958 GB, free: 67.16 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/9.358, allocations: 3.844 kB / 3.958 GB, free: 67.16 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01167/9.37, allocations: 4.986 MB / 3.963 GB, free: 67.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.352e-05/9.37, allocations: 4.469 kB / 3.963 GB, free: 67.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01448/9.385, allocations: 4.722 MB / 3.968 GB, free: 67.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000717/9.385, allocations: 114.2 kB / 3.968 GB, free: 67.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01318/9.399, allocations: 5.564 MB / 3.973 GB, free: 66.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002768/9.401, allocations: 262.8 kB / 3.974 GB, free: 66.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006299/9.402, allocations: 180.9 kB / 3.974 GB, free: 66.46 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 12 (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 (67): * Single equations (assignments): 66 * 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 {10 113} Notification: Performance of prepare postOptimizeDAE: time 0.001929/9.404, allocations: 0.5284 MB / 3.974 GB, free: 66.27 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006668/9.405, allocations: 98.72 kB / 3.974 GB, free: 66.22 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02349/9.428, allocations: 20.76 MB / 3.995 GB, free: 61.63 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.423e-05/9.428, allocations: 55.39 kB / 3.995 GB, free: 61.62 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-05/9.428, allocations: 9.781 kB / 3.995 GB, free: 61.62 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.16e-05/9.428, allocations: 7.078 kB / 3.995 GB, free: 61.62 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01109/9.439, allocations: 9.351 MB / 4.004 GB, free: 56.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.658e-05/9.44, allocations: 0 / 4.004 GB, free: 56.08 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002769/9.442, allocations: 372.4 kB / 4.004 GB, free: 56.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004054/9.446, allocations: 0.9785 MB / 4.005 GB, free: 55.89 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007272/9.447, allocations: 60.3 kB / 4.005 GB, free: 55.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009164/9.456, allocations: 5.679 MB / 4.011 GB, free: 53.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/9.456, allocations: 4.688 kB / 4.011 GB, free: 53.04 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01151/9.468, allocations: 6.21 MB / 4.017 GB, free: 50.37 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001276/9.469, allocations: 491.5 kB / 4.017 GB, free: 50.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000508/9.47, allocations: 41.61 kB / 4.017 GB, free: 50.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001994/9.472, allocations: 155.2 kB / 4.017 GB, free: 50 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000542/9.472, allocations: 126.9 kB / 4.018 GB, free: 49.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002522/9.473, allocations: 64.77 kB / 4.018 GB, free: 49.97 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006917/9.473, allocations: 392.1 kB / 4.018 GB, free: 49.79 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.483e-06/9.473, allocations: 3.281 kB / 4.018 GB, free: 49.79 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009322/9.483, allocations: 1.903 MB / 4.02 GB, free: 49.52 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (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]) * Number of discrete variables: 24 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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 {(10,64.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009097/9.492, allocations: 1.426 MB / 4.021 GB, free: 49.34 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01305/9.505, allocations: 5.877 MB / 4.027 GB, free: 47.36 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/9.505, allocations: 0 / 4.027 GB, free: 47.36 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004821/9.51, allocations: 2.251 MB / 4.029 GB, free: 46.38 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004467/9.514, allocations: 0.5348 MB / 4.03 GB, free: 46.28 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/9.525, allocations: 6.082 MB / 4.036 GB, free: 43.42 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001689/9.527, allocations: 1.529 MB / 4.037 GB, free: 42.61 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002188/9.529, allocations: 496.5 kB / 4.038 GB, free: 42.56 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008183/9.53, allocations: 113.3 kB / 4.038 GB, free: 42.55 MB / 0.5261 GB Notification: Performance of SimCode: time 1.062e-06/9.53, allocations: 0 / 4.038 GB, free: 42.55 MB / 0.5261 GB Notification: Performance of Templates: time 0.4789/10.01, allocations: 112.2 MB / 4.147 GB, free: 87.03 MB / 0.5417 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.pipe 2>&1)