Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_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.TestWaterFlow1DFEM_A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001751/0.001751, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.848/1.848, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.0009114/0.0009115, allocations: 86.66 kB / 267.5 MB, free: 14.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3359/0.3359, allocations: 48.78 MB / 364.3 MB, free: 6.867 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.812e-05/3.814e-05, allocations: 4 kB / 432.5 MB, free: 16.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1558, allocations: 60.25 MB / 492.7 MB, free: 4.379 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.51/7.665, allocations: 2.943 GB / 3.424 GB, free: 72.43 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/7.666, allocations: 79.95 kB / 3.424 GB, free: 72.35 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.578/9.244, allocations: 378.1 MB / 3.793 GB, free: 65.62 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.124e-06/9.244, allocations: 0 / 3.793 GB, free: 65.62 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001406/9.244, allocations: 94.97 kB / 3.793 GB, free: 65.62 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: 1391 * Number of variables: 1391 Notification: Performance of Generate backend data structure: time 0.03876/9.283, allocations: 10.14 MB / 3.803 GB, free: 63.69 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.552e-05/9.283, allocations: 11.88 kB / 3.803 GB, free: 63.69 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008007/9.291, allocations: 0.7909 MB / 3.804 GB, free: 63.39 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01271/9.304, allocations: 3.016 MB / 3.807 GB, free: 62.38 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006787/9.305, allocations: 406.4 kB / 3.807 GB, free: 62.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005043/9.31, allocations: 0.5245 MB / 3.808 GB, free: 62.02 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04695/9.357, allocations: 12.11 MB / 3.82 GB, free: 57.57 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000664/9.358, allocations: 0 / 3.82 GB, free: 57.57 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005467/9.363, allocations: 226.2 kB / 3.82 GB, free: 57.39 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003361/9.363, allocations: 219.9 kB / 3.82 GB, free: 57.37 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05631/9.42, allocations: 14.1 MB / 3.834 GB, free: 50.17 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.05978/9.48, allocations: 24.32 MB / 3.858 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01462/9.494, allocations: 4.637 MB / 3.862 GB, free: 20.98 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004637/9.499, allocations: 2.052 MB / 3.864 GB, free: 18.94 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6299/10.13, allocations: 63.99 MB / 3.927 GB, free: 59.45 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001412/10.13, allocations: 59.16 kB / 3.927 GB, free: 59.41 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=249): time 7.103e-06/10.13, allocations: 0 / 3.927 GB, free: 59.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=249): time 0.05927/10.19, allocations: 12.76 MB / 3.939 GB, free: 59.23 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001423/10.19, allocations: 78.78 kB / 3.939 GB, free: 59.17 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009811/10.2, allocations: 3.529 MB / 3.943 GB, free: 58.84 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001936/10.2, allocations: 70.42 kB / 3.943 GB, free: 58.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003287/10.2, allocations: 3.171 MB / 3.946 GB, free: 57.03 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.003211/10.21, allocations: 1.01 MB / 3.947 GB, free: 56.48 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002306/10.21, allocations: 173.6 kB / 3.947 GB, free: 56.48 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.00117/10.21, allocations: 0.7189 MB / 3.948 GB, free: 56.15 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008673/10.22, allocations: 3.712 MB / 3.951 GB, free: 56.13 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01349/10.23, allocations: 8.761 MB / 3.96 GB, free: 49.63 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01177/10.24, allocations: 5.378 MB / 3.965 GB, free: 49.55 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000498/10.25, allocations: 49.47 kB / 3.965 GB, free: 49.55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1093) (initialization): time 0.04562/10.29, allocations: 14.73 MB / 3.98 GB, free: 48.25 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.03601/10.33, allocations: 70.23 MB / 4.048 GB, free: 6.414 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009603/10.33, allocations: 180 kB / 4.048 GB, free: 6.414 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07007/10.4, allocations: 11.34 MB / 4.059 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009662/10.41, allocations: 1.715 MB / 4.061 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03017/10.44, allocations: 9.731 MB / 4.071 GB, free: 4.266 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01498/10.45, allocations: 1.315 MB / 4.072 GB, free: 3.539 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00471/10.46, allocations: 0.6412 MB / 4.072 GB, free: 3.438 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.16e-05/10.46, allocations: 3.906 kB / 4.072 GB, free: 3.438 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05007/10.51, allocations: 14.42 MB / 4.087 GB, free: 15.09 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001264/10.51, allocations: 177 kB / 4.087 GB, free: 15.09 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05755/10.57, allocations: 11.34 MB / 4.098 GB, free: 11.78 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009712/10.58, allocations: 1.7 MB / 4.099 GB, free: 10.29 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02397/10.6, allocations: 9.732 MB / 4.109 GB, free: 2.16 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009238/10.61, allocations: 0.9953 MB / 4.11 GB, free: 1.258 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002674/10.61, allocations: 0.6305 MB / 4.111 GB, free: 0.6836 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 807 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (918): * Single equations (assignments): 917 * 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 163} Notification: Performance of prepare postOptimizeDAE: time 0.00399/10.62, allocations: 0.7222 MB / 4.111 GB, free: 0 / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.4834/11.1, allocations: 362 kB / 4.112 GB, free: 112.9 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06851/11.17, allocations: 33.09 MB / 4.144 GB, free: 112.4 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001649/11.17, allocations: 75.08 kB / 4.144 GB, free: 112.4 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.5e-05/11.17, allocations: 0 / 4.144 GB, free: 112.4 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001312/11.17, allocations: 14.06 kB / 4.144 GB, free: 112.4 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09562/11.27, allocations: 44.63 MB / 4.188 GB, free: 98.25 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.717e-05/11.27, allocations: 1.031 kB / 4.188 GB, free: 98.25 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003041/11.27, allocations: 397 kB / 4.188 GB, free: 98.21 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0361/11.3, allocations: 8.4 MB / 4.196 GB, free: 97.43 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002191/11.31, allocations: 123.5 kB / 4.196 GB, free: 97.39 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.076/11.38, allocations: 29.92 MB / 4.226 GB, free: 87 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/11.38, allocations: 0 / 4.226 GB, free: 87 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04518/11.43, allocations: 15.09 MB / 4.24 GB, free: 82.54 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004418/11.43, allocations: 0.9165 MB / 4.241 GB, free: 82.09 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002275/11.43, allocations: 92.05 kB / 4.241 GB, free: 82.04 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005274/11.44, allocations: 302.5 kB / 4.242 GB, free: 82 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003083/11.44, allocations: 259.3 kB / 4.242 GB, free: 81.96 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001373/11.44, allocations: 107.2 kB / 4.242 GB, free: 81.9 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.005704/11.45, allocations: 2.288 MB / 4.244 GB, free: 79.91 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.192e-06/11.45, allocations: 0 / 4.244 GB, free: 79.91 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02976/11.48, allocations: 3.399 MB / 4.247 GB, free: 76.73 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (150): * Single equations (assignments): 135 * 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 126} Notification: Performance of Backend phase and start with SimCode phase: time 0.01175/11.49, allocations: 1.417 MB / 4.249 GB, free: 75.84 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.04269/11.53, allocations: 16.62 MB / 4.265 GB, free: 61.61 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.772e-05/11.53, allocations: 4 kB / 4.265 GB, free: 61.61 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01479/11.55, allocations: 4.597 MB / 4.27 GB, free: 57.68 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005831/11.56, allocations: 0.6631 MB / 4.27 GB, free: 57.16 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0288/11.58, allocations: 10.15 MB / 4.28 GB, free: 48.67 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006395/11.59, allocations: 2.878 MB / 4.283 GB, free: 46.5 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01667/11.61, allocations: 5.69 MB / 4.288 GB, free: 43.22 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001891/11.61, allocations: 278.1 kB / 4.289 GB, free: 42.98 MB / 0.573 GB Notification: Performance of SimCode: time 1.322e-06/11.61, allocations: 0 / 4.289 GB, free: 42.98 MB / 0.573 GB Notification: Performance of Templates: time 0.7223/12.33, allocations: 177.4 MB / 4.462 GB, free: 57.62 MB / 0.573 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A.pipe 2>&1)