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.0008937/0.0008938, allocations: 94.14 kB / 16.3 MB, free: 5.996 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.0008485/0.0008485, allocations: 183.6 kB / 17.2 MB, free: 5.914 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.263/1.263, allocations: 205.4 MB / 223.4 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3625/0.3625, allocations: 48.77 MB / 320.4 MB, free: 3.836 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.000814/0.0008141, allocations: 16 kB / 391.2 MB, free: 14.33 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.102, allocations: 60.26 MB / 451.4 MB, free: 1.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp): time 0.189/0.291, allocations: 43.73 MB / 495.1 MB, free: 22.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01335/0.3044, allocations: 13.49 MB / 0.4967 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006757/0.3051, allocations: 10.81 kB / 0.4967 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008502/0.306, allocations: 284.3 kB / 0.497 GB, free: 12.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009763/0.3158, allocations: 3.587 MB / 0.5005 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0033/0.3191, allocations: 1.165 MB / 0.5016 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001196/0.3203, allocations: 1.007 MB / 0.5026 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005281/0.3209, allocations: 473.9 kB / 0.5031 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005179/0.3214, allocations: 469.1 kB / 0.5035 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005166/0.3219, allocations: 474.6 kB / 0.504 GB, free: 8.121 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.21e-05/0.322, allocations: 42.03 kB / 0.504 GB, free: 8.121 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01256/0.3346, allocations: 7.056 MB / 0.5109 GB, free: 4.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000285/0.3349, allocations: 269 kB / 0.5112 GB, free: 4.656 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000347/0.3353, allocations: 210.8 kB / 0.5114 GB, free: 4.547 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005733/0.341, allocations: 3.37 MB / 0.5146 GB, free: 1.812 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.341, allocations: 4 kB / 0.5146 GB, free: 1.809 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.341, allocations: 0 / 0.5146 GB, free: 1.809 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.789e-06/0.341, allocations: 0 / 0.5146 GB, free: 1.809 MB / 382.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.004503/0.3456, allocations: 1.731 MB / 0.5163 GB, free: 28 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.3456, allocations: 12.03 kB / 0.5164 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001285/0.3469, allocations: 242.6 kB / 0.5166 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/0.3481, allocations: 0.6233 MB / 0.5172 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.42e-05/0.3482, allocations: 65.94 kB / 0.5173 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.3484, allocations: 80 kB / 0.5173 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004522/0.3529, allocations: 1.986 MB / 0.5193 GB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.3529, allocations: 4 kB / 0.5193 GB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.226e-05/0.353, allocations: 28 kB / 0.5193 GB, free: 12.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.207e-05/0.3531, allocations: 45.95 kB / 0.5193 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004681/0.3578, allocations: 1.975 MB / 0.5213 GB, free: 10.91 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.005619/0.3634, allocations: 4.66 MB / 0.5258 GB, free: 5.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003449/0.3669, allocations: 1.351 MB / 0.5271 GB, free: 4.461 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1585/0.5254, allocations: 80.86 MB / 0.6061 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.24e-05/0.5255, allocations: 43.22 kB / 0.6062 GB, free: 10 MB / 494.1 MB Notification: Performance of pre-optimization done (n=72): time 2.595e-06/0.5255, allocations: 0 / 0.6062 GB, free: 10 MB / 494.1 MB Notification: Performance of matching and sorting (n=72): time 0.008156/0.5337, allocations: 2.564 MB / 0.6087 GB, free: 7.41 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.5337, allocations: 60.06 kB / 0.6087 GB, free: 7.34 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006636/0.5344, allocations: 0.542 MB / 0.6092 GB, free: 6.789 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001109/0.5345, allocations: 41.7 kB / 0.6093 GB, free: 6.742 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002508/0.5348, allocations: 352.2 kB / 0.6096 GB, free: 6.395 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002724/0.535, allocations: 256.2 kB / 0.6099 GB, free: 6.141 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.491e-05/0.5351, allocations: 20 kB / 0.6099 GB, free: 6.121 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.5353, allocations: 378.8 kB / 0.6102 GB, free: 5.742 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009706/0.5363, allocations: 0.568 MB / 0.6108 GB, free: 5.176 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/0.5373, allocations: 0.6888 MB / 0.6115 GB, free: 4.441 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.5383, allocations: 0.6005 MB / 0.6121 GB, free: 3.844 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.5384, allocations: 4 kB / 0.6121 GB, free: 3.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004405/0.5428, allocations: 2.142 MB / 0.6142 GB, free: 1.688 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003292/0.5431, allocations: 0.8833 MB / 0.615 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.5431, allocations: 4 kB / 0.615 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004199/0.5473, allocations: 1.685 MB / 0.6167 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003834/0.5477, allocations: 85.27 kB / 0.6167 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003647/0.5514, allocations: 2.298 MB / 0.619 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009537/0.5524, allocations: 143.1 kB / 0.6191 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000142/0.5525, allocations: 75.91 kB / 0.6192 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.514e-06/0.5525, allocations: 4 kB / 0.6192 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004256/0.5568, allocations: 2.034 MB / 0.6212 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.5568, allocations: 4 kB / 0.6212 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004036/0.5609, allocations: 1.679 MB / 0.6228 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003428/0.5612, allocations: 87.89 kB / 0.6229 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003536/0.5648, allocations: 2.298 MB / 0.6252 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008731/0.5656, allocations: 127.2 kB / 0.6253 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001438/0.5658, allocations: 78.36 kB / 0.6254 GB, free: 6.078 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.0005218/0.5663, allocations: 352.9 kB / 0.6257 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/0.5665, allocations: 79.06 kB / 0.6258 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1734/0.7399, allocations: 8.726 MB / 0.6343 GB, free: 168.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.692e-05/0.7399, allocations: 29.61 kB / 0.6343 GB, free: 168.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.74, allocations: 0 / 0.6343 GB, free: 168.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.74, allocations: 8.859 kB / 0.6343 GB, free: 168.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002849/0.7428, allocations: 4.104 MB / 0.6383 GB, free: 166.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.7429, allocations: 0 / 0.6383 GB, free: 166.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008554/0.7437, allocations: 170.6 kB / 0.6385 GB, free: 166.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001098/0.7448, allocations: 296.9 kB / 0.6388 GB, free: 166.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.709e-05/0.7449, allocations: 30.69 kB / 0.6388 GB, free: 166.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002548/0.7475, allocations: 2.489 MB / 0.6412 GB, free: 165.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.7475, allocations: 1.469 kB / 0.6412 GB, free: 165.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003415/0.7509, allocations: 2.666 MB / 0.6438 GB, free: 164 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003807/0.7513, allocations: 278 kB / 0.6441 GB, free: 163.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.7514, allocations: 19.41 kB / 0.6441 GB, free: 163.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007217/0.7522, allocations: 84.39 kB / 0.6442 GB, free: 163.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/0.7523, allocations: 59.52 kB / 0.6443 GB, free: 163.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.035e-05/0.7524, allocations: 29.91 kB / 0.6443 GB, free: 163.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003571/0.7527, allocations: 385.4 kB / 0.6447 GB, free: 163.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7527, allocations: 0 / 0.6447 GB, free: 163.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00319/0.7559, allocations: 1.387 MB / 0.646 GB, free: 163.4 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.003581/0.7595, allocations: 1.143 MB / 0.6471 GB, free: 163.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004397/0.7639, allocations: 2.369 MB / 0.6494 GB, free: 162.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.764, allocations: 0 / 0.6494 GB, free: 162.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00146/0.7654, allocations: 1.007 MB / 0.6504 GB, free: 162.1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001786/0.7672, allocations: 361.7 kB / 0.6508 GB, free: 162 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00358/0.7708, allocations: 3.007 MB / 0.6537 GB, free: 160.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005914/0.7714, allocations: 1.141 MB / 0.6548 GB, free: 159.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008422/0.7723, allocations: 316.8 kB / 0.6551 GB, free: 159.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002728/0.7726, allocations: 80.56 kB / 0.6552 GB, free: 159.6 MB / 0.4981 GB Notification: Performance of SimCode: time 5.31e-07/0.7726, allocations: 0 / 0.6552 GB, free: 159.6 MB / 0.4981 GB Notification: Performance of Templates: time 0.06975/0.8423, allocations: 68.57 MB / 0.7222 GB, free: 103.6 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: