Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009182/0.0009182, allocations: 88.53 kB / 16.31 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 183.1 kB / 17.21 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.352/1.352, allocations: 205.4 MB / 223.4 MB, free: 5.289 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.364/0.364, allocations: 48.78 MB / 320.4 MB, free: 3.863 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004926/0.0004927, allocations: 22.97 kB / 391.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09888/0.09938, allocations: 60.27 MB / 451.4 MB, free: 1.891 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp): time 0.2076/0.307, allocations: 48.39 MB / 499.8 MB, free: 18.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01639/0.3235, allocations: 14.66 MB / 0.5024 GB, free: 7.867 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00095/0.3245, allocations: 11.31 kB / 0.5025 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008109/0.3253, allocations: 256.3 kB / 0.5027 GB, free: 7.648 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0106/0.3359, allocations: 3.713 MB / 0.5063 GB, free: 4.891 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003575/0.3395, allocations: 1.104 MB / 0.5074 GB, free: 4.055 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002013/0.3415, allocations: 2.005 MB / 0.5094 GB, free: 2.871 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006195/0.3422, allocations: 469.5 kB / 0.5098 GB, free: 2.574 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007735/0.3429, allocations: 0.5348 MB / 0.5103 GB, free: 2.324 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00086/0.3438, allocations: 0.6812 MB / 0.511 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.3439, allocations: 42.16 kB / 0.511 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01398/0.3579, allocations: 6.846 MB / 0.5177 GB, free: 14.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003894/0.3583, allocations: 303.1 kB / 0.518 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004062/0.3588, allocations: 221.2 kB / 0.5182 GB, free: 14.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006371/0.3651, allocations: 3.376 MB / 0.5215 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3652, allocations: 0 / 0.5215 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3652, allocations: 0 / 0.5215 GB, free: 10.72 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.3652, allocations: 0 / 0.5215 GB, free: 10.72 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.004652/0.3698, allocations: 1.739 MB / 0.5232 GB, free: 8.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.3699, allocations: 8.031 kB / 0.5232 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001216/0.3711, allocations: 255.1 kB / 0.5235 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.3722, allocations: 0.6154 MB / 0.5241 GB, free: 8.016 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.438e-05/0.3723, allocations: 62 kB / 0.5241 GB, free: 7.953 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.3724, allocations: 87.98 kB / 0.5242 GB, free: 7.867 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004331/0.3767, allocations: 1.99 MB / 0.5262 GB, free: 5.855 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.3768, allocations: 0 / 0.5262 GB, free: 5.855 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.302e-05/0.3769, allocations: 32.69 kB / 0.5262 GB, free: 5.824 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.225e-05/0.3769, allocations: 49.98 kB / 0.5262 GB, free: 5.773 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004423/0.3814, allocations: 1.975 MB / 0.5282 GB, free: 3.801 MB / 398.1 MB 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.005014/0.3864, allocations: 4.645 MB / 0.5327 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003216/0.3896, allocations: 1.36 MB / 0.534 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006044/0.3902, allocations: 414.6 kB / 0.5344 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1362/0.5265, allocations: 80.86 MB / 0.6134 GB, free: 2.547 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.518e-05/0.5266, allocations: 43.25 kB / 0.6134 GB, free: 2.496 MB / 494.1 MB Notification: Performance of pre-optimization done (n=72): time 3.918e-06/0.5266, allocations: 0 / 0.6134 GB, free: 2.496 MB / 494.1 MB Notification: Performance of matching and sorting (n=72): time 0.008249/0.5348, allocations: 2.591 MB / 0.616 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.5349, allocations: 60.06 kB / 0.616 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007298/0.5357, allocations: 0.5458 MB / 0.6165 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001279/0.5358, allocations: 41.7 kB / 0.6166 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002433/0.536, allocations: 348.2 kB / 0.6169 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003108/0.5364, allocations: 256.3 kB / 0.6172 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.752e-05/0.5365, allocations: 20 kB / 0.6172 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.5366, allocations: 374.8 kB / 0.6175 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009826/0.5376, allocations: 0.568 MB / 0.6181 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/0.5387, allocations: 0.6889 MB / 0.6188 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.5397, allocations: 0.6005 MB / 0.6193 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.5398, allocations: 0 / 0.6193 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0044/0.5442, allocations: 2.145 MB / 0.6214 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.512e-05/0.5443, allocations: 155.4 kB / 0.6216 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.5443, allocations: 7.984 kB / 0.6216 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004006/0.5483, allocations: 1.688 MB / 0.6232 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000383/0.5487, allocations: 79.89 kB / 0.6233 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003666/0.5524, allocations: 2.31 MB / 0.6256 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009495/0.5533, allocations: 135.1 kB / 0.6257 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001532/0.5535, allocations: 77.3 kB / 0.6258 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.5535, allocations: 4 kB / 0.6258 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004178/0.5577, allocations: 2.042 MB / 0.6278 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.5577, allocations: 0 / 0.6278 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0039/0.5616, allocations: 1.679 MB / 0.6294 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003389/0.562, allocations: 87.92 kB / 0.6295 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1901/0.7522, allocations: 2.301 MB / 0.6318 GB, free: 167.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009416/0.7531, allocations: 127.2 kB / 0.6319 GB, free: 167.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.7533, allocations: 77.06 kB / 0.6319 GB, free: 167.4 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (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 (44): * Single equations (assignments): 43 * 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 {4 41} Notification: Performance of prepare postOptimizeDAE: time 0.0004648/0.7537, allocations: 337.6 kB / 0.6323 GB, free: 167.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.7539, allocations: 76.77 kB / 0.6323 GB, free: 167.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007198/0.7611, allocations: 8.738 MB / 0.6409 GB, free: 165.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.895e-05/0.7611, allocations: 26.22 kB / 0.6409 GB, free: 165.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.7611, allocations: 3.062 kB / 0.6409 GB, free: 165.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.7612, allocations: 7.078 kB / 0.6409 GB, free: 165.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002669/0.7638, allocations: 4.097 MB / 0.6449 GB, free: 162.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.7638, allocations: 5.281 kB / 0.6449 GB, free: 162.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008103/0.7647, allocations: 175.8 kB / 0.6451 GB, free: 162.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009665/0.7656, allocations: 293.1 kB / 0.6454 GB, free: 162.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.034e-05/0.7657, allocations: 28.09 kB / 0.6454 GB, free: 162.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002474/0.7682, allocations: 2.42 MB / 0.6478 GB, free: 161.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.7682, allocations: 1.094 kB / 0.6478 GB, free: 161.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003766/0.772, allocations: 2.664 MB / 0.6504 GB, free: 159.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004102/0.7724, allocations: 283.8 kB / 0.6506 GB, free: 159.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.7725, allocations: 21.22 kB / 0.6506 GB, free: 159.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006649/0.7732, allocations: 82.66 kB / 0.6507 GB, free: 159.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/0.7734, allocations: 58.81 kB / 0.6508 GB, free: 159.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.851e-05/0.7735, allocations: 30.34 kB / 0.6508 GB, free: 159.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004888/0.774, allocations: 383.5 kB / 0.6512 GB, free: 159.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.774, allocations: 0 / 0.6512 GB, free: 159.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003748/0.7777, allocations: 1.388 MB / 0.6525 GB, free: 159.3 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3]) * Number of discrete variables: 12 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {(4,81.2%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003889/0.7816, allocations: 1.149 MB / 0.6537 GB, free: 159.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004569/0.7862, allocations: 2.366 MB / 0.656 GB, free: 158.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.7862, allocations: 1.219 kB / 0.656 GB, free: 158.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001592/0.7878, allocations: 1.006 MB / 0.6569 GB, free: 158 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001932/0.7898, allocations: 380.7 kB / 0.6573 GB, free: 157.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003894/0.7937, allocations: 3 MB / 0.6602 GB, free: 156.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005886/0.7943, allocations: 1.121 MB / 0.6613 GB, free: 155.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009322/0.7952, allocations: 328.8 kB / 0.6616 GB, free: 155.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002987/0.7955, allocations: 72.05 kB / 0.6617 GB, free: 155.5 MB / 0.4981 GB Notification: Performance of SimCode: time 7.02e-07/0.7955, allocations: 0 / 0.6617 GB, free: 155.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.06921/0.8648, allocations: 68.58 MB / 0.7287 GB, free: 96.51 MB / 0.4981 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.pipe 2>&1) Environment - environmentSimulation: