Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.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.TestWaterFlow1DFEM_C,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001223/0.001223, allocations: 180.4 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.837/1.837, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001034/0.001034, allocations: 96.23 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.505/0.505, allocations: 48.78 MB / 367.9 MB, free: 47.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.0003434, allocations: 8 kB / 438.6 MB, free: 11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1581, allocations: 60.25 MB / 498.9 MB, free: 14.61 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.409/7.568, allocations: 2.943 GB / 3.43 GB, free: 81.34 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003192/7.568, allocations: 83.33 kB / 3.43 GB, free: 81.29 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.838/9.406, allocations: 378 MB / 3.799 GB, free: 58.07 MB / 0.5105 GB Notification: Performance of FrontEnd: time 5.65e-06/9.406, allocations: 0 / 3.799 GB, free: 58.07 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005126/9.407, allocations: 93.12 kB / 3.799 GB, free: 58.06 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: 1363 * Number of variables: 1363 Notification: Performance of Generate backend data structure: time 0.04881/9.455, allocations: 10.12 MB / 3.809 GB, free: 56.41 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.956e-05/9.455, allocations: 18.47 kB / 3.809 GB, free: 56.41 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007169/9.463, allocations: 0.7831 MB / 3.81 GB, free: 56.18 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01227/9.475, allocations: 2.929 MB / 3.813 GB, free: 55.63 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005061/9.476, allocations: 396 kB / 3.813 GB, free: 55.62 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005421/9.481, allocations: 0.5112 MB / 3.814 GB, free: 55.61 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04723/9.528, allocations: 12 MB / 3.825 GB, free: 51.65 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004587/9.529, allocations: 3.906 kB / 3.825 GB, free: 51.65 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004804/9.534, allocations: 215.3 kB / 3.825 GB, free: 51.48 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002347/9.534, allocations: 203.7 kB / 3.826 GB, free: 51.47 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06299/9.597, allocations: 14.04 MB / 3.839 GB, free: 47.66 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.05893/9.656, allocations: 24.01 MB / 3.863 GB, free: 31.16 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01283/9.669, allocations: 4.487 MB / 3.867 GB, free: 28.76 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5272/10.2, allocations: 63.74 MB / 3.929 GB, free: 59.08 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001112/10.2, allocations: 62.78 kB / 3.929 GB, free: 59.04 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=245): time 4.819e-06/10.2, allocations: 0 / 3.929 GB, free: 59.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=245): time 0.1027/10.3, allocations: 22.57 MB / 3.952 GB, free: 58.77 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.616e-05/10.3, allocations: 81.09 kB / 3.952 GB, free: 58.71 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006567/10.31, allocations: 3.575 MB / 3.955 GB, free: 58.39 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001743/10.31, allocations: 74.72 kB / 3.955 GB, free: 58.36 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002759/10.31, allocations: 3.155 MB / 3.958 GB, free: 56.55 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002767/10.31, allocations: 0.9929 MB / 3.959 GB, free: 56.01 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008519/10.31, allocations: 173.1 kB / 3.959 GB, free: 56.01 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0008024/10.31, allocations: 0.718 MB / 3.96 GB, free: 55.68 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007618/10.32, allocations: 3.752 MB / 3.964 GB, free: 55.65 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01453/10.34, allocations: 8.879 MB / 3.972 GB, free: 49.05 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01259/10.35, allocations: 5.38 MB / 3.978 GB, free: 49 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005602/10.35, allocations: 53.53 kB / 3.978 GB, free: 49 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1102) (initialization): time 0.03585/10.39, allocations: 14.74 MB / 3.992 GB, free: 47.86 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.03124/10.42, allocations: 71.36 MB / 4.062 GB, free: 20.88 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001152/10.42, allocations: 180.2 kB / 4.062 GB, free: 20.88 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04434/10.46, allocations: 10.24 MB / 4.072 GB, free: 20.45 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008592/10.47, allocations: 1.771 MB / 4.074 GB, free: 20.28 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02673/10.5, allocations: 8.956 MB / 4.082 GB, free: 17.72 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01118/10.51, allocations: 1.306 MB / 4.084 GB, free: 16.98 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003351/10.51, allocations: 0.6483 MB / 4.084 GB, free: 16.88 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/10.51, allocations: 3.25 kB / 4.084 GB, free: 16.88 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03401/10.55, allocations: 14.26 MB / 4.098 GB, free: 11.62 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001093/10.55, allocations: 182.9 kB / 4.098 GB, free: 11.62 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03946/10.59, allocations: 10.23 MB / 4.108 GB, free: 9.918 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007626/10.6, allocations: 1.751 MB / 4.11 GB, free: 9.691 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01861/10.61, allocations: 8.953 MB / 4.119 GB, free: 5.574 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01047/10.62, allocations: 0.987 MB / 4.12 GB, free: 4.672 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002604/10.63, allocations: 0.6422 MB / 4.12 GB, free: 4.086 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 820 * Number of states: 0 () * Number of discrete variables: 14 (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 (949): * Single equations (assignments): 948 * 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 {13 141} Notification: Performance of prepare postOptimizeDAE: time 0.00812/10.64, allocations: 1.843 MB / 4.122 GB, free: 2.418 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001609/10.64, allocations: 355.5 kB / 4.123 GB, free: 2.066 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5389/11.18, allocations: 34.18 MB / 4.156 GB, free: 106 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001234/11.18, allocations: 71.31 kB / 4.156 GB, free: 106 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.94e-05/11.18, allocations: 3 kB / 4.156 GB, free: 106 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001185/11.18, allocations: 20.91 kB / 4.156 GB, free: 106 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08597/11.26, allocations: 42.43 MB / 4.198 GB, free: 97.73 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.741e-05/11.26, allocations: 0.5 kB / 4.198 GB, free: 97.73 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003466/11.27, allocations: 420 kB / 4.198 GB, free: 97.69 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02921/11.3, allocations: 6.938 MB / 4.205 GB, free: 97.04 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001894/11.3, allocations: 121.1 kB / 4.205 GB, free: 97 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05203/11.35, allocations: 28.4 MB / 4.233 GB, free: 86.87 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/11.35, allocations: 1.078 kB / 4.233 GB, free: 86.87 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03676/11.39, allocations: 13.89 MB / 4.246 GB, free: 82.48 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00423/11.39, allocations: 0.8998 MB / 4.247 GB, free: 82.04 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001423/11.39, allocations: 90.62 kB / 4.247 GB, free: 81.99 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003994/11.4, allocations: 281 kB / 4.247 GB, free: 81.95 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001434/11.4, allocations: 241.5 kB / 4.248 GB, free: 81.92 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004015/11.4, allocations: 103.9 kB / 4.248 GB, free: 81.9 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003645/11.4, allocations: 2.334 MB / 4.25 GB, free: 81.25 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.4e-07/11.4, allocations: 1.406 kB / 4.25 GB, free: 81.25 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02337/11.42, allocations: 3.315 MB / 4.253 GB, free: 80.81 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (hex.p,hex.h[1],hex.h[2],hex.h[3],hex.h[4],hex.h[5],hex.h[6],hex.h[7],hex.h[8],hex.h[9],hex.h[10],hex.h[11],hex.h[12]) * Number of discrete variables: 28 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.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,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (166): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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 {13 106} Notification: Performance of Backend phase and start with SimCode phase: time 0.009681/11.43, allocations: 1.411 MB / 4.255 GB, free: 80.66 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0369/11.47, allocations: 16.22 MB / 4.27 GB, free: 75.97 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-05/11.47, allocations: 0 / 4.27 GB, free: 75.97 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01159/11.48, allocations: 4.274 MB / 4.275 GB, free: 73.27 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004605/11.49, allocations: 0.6619 MB / 4.275 GB, free: 72.77 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02292/11.51, allocations: 13.33 MB / 4.288 GB, free: 61.4 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002673/11.51, allocations: 2.823 MB / 4.291 GB, free: 59.27 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01365/11.53, allocations: 5.875 MB / 4.297 GB, free: 55.99 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001653/11.53, allocations: 289.5 kB / 4.297 GB, free: 55.73 MB / 0.573 GB Notification: Performance of SimCode: time 2.154e-06/11.53, allocations: 0 / 4.297 GB, free: 55.73 MB / 0.573 GB Notification: Performance of Templates: time 0.6816/12.21, allocations: 170.4 MB / 4.463 GB, free: 76.45 MB / 0.573 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.pipe 2>&1)