Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.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: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEM_D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEM_D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00138/0.00138, 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.892/1.892, 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.0008644/0.0008643, allocations: 82.72 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3144/0.3144, allocations: 48.78 MB / 364.3 MB, free: 6.871 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.849e-05/2.852e-05, allocations: 4 kB / 432.6 MB, free: 16.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1167, allocations: 60.25 MB / 492.8 MB, free: 4.293 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.677/7.794, allocations: 2.937 GB / 3.418 GB, free: 2.75 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/7.794, allocations: 78.48 kB / 3.418 GB, free: 2.715 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.43/9.224, allocations: 306.4 MB / 3.718 GB, free: 79.81 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.256e-06/9.224, allocations: 0 / 3.718 GB, free: 79.81 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001396/9.224, allocations: 94.38 kB / 3.718 GB, free: 79.81 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: 1341 * Number of variables: 1341 Notification: Performance of Generate backend data structure: time 0.03339/9.258, allocations: 9.886 MB / 3.727 GB, free: 77.85 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/9.258, allocations: 18.56 kB / 3.727 GB, free: 77.84 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004262/9.262, allocations: 0.7394 MB / 3.728 GB, free: 77.77 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00613/9.268, allocations: 0.7618 MB / 3.729 GB, free: 77.55 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01055/9.279, allocations: 2.897 MB / 3.732 GB, free: 77.06 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006425/9.279, allocations: 392.3 kB / 3.732 GB, free: 76.88 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004009/9.283, allocations: 0.5034 MB / 3.733 GB, free: 76.54 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0382/9.322, allocations: 11.85 MB / 3.744 GB, free: 70.84 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003498/9.322, allocations: 0 / 3.744 GB, free: 70.84 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003631/9.326, allocations: 209.1 kB / 3.744 GB, free: 70.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002272/9.326, allocations: 205.5 kB / 3.744 GB, free: 70.61 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05163/9.377, allocations: 13.86 MB / 3.758 GB, free: 63.77 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.04965/9.427, allocations: 24.76 MB / 3.782 GB, free: 39.22 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01054/9.438, allocations: 4.436 MB / 3.787 GB, free: 34.79 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003498/9.441, allocations: 1.942 MB / 3.788 GB, free: 32.86 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.538/9.979, allocations: 63.97 MB / 3.851 GB, free: 79.04 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001101/9.98, allocations: 62.91 kB / 3.851 GB, free: 79 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=240): time 4.769e-06/9.98, allocations: 1.406 kB / 3.851 GB, free: 79 MB / 0.5261 GB Notification: Performance of matching and sorting (n=240): time 0.04731/10.03, allocations: 11.41 MB / 3.862 GB, free: 78.82 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.01e-05/10.03, allocations: 76.31 kB / 3.862 GB, free: 78.76 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006668/10.03, allocations: 3.529 MB / 3.866 GB, free: 78.43 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0018/10.04, allocations: 69.98 kB / 3.866 GB, free: 78.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00251/10.04, allocations: 3.14 MB / 3.869 GB, free: 76.62 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002518/10.04, allocations: 0.9789 MB / 3.87 GB, free: 76.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006718/10.04, allocations: 170 kB / 3.87 GB, free: 76.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0006005/10.04, allocations: 0.715 MB / 3.871 GB, free: 75.77 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00593/10.05, allocations: 3.639 MB / 3.874 GB, free: 75.74 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01145/10.06, allocations: 8.766 MB / 3.883 GB, free: 69.14 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01098/10.07, allocations: 5.324 MB / 3.888 GB, free: 69.08 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003232/10.07, allocations: 57.14 kB / 3.888 GB, free: 69.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.04487/10.12, allocations: 14.89 MB / 3.902 GB, free: 68.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.02587/10.14, allocations: 71.37 MB / 3.972 GB, free: 9.723 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007314/10.14, allocations: 178.4 kB / 3.972 GB, free: 9.723 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03594/10.18, allocations: 9.963 MB / 3.982 GB, free: 9.469 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005516/10.18, allocations: 1.746 MB / 3.984 GB, free: 9.305 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01589/10.2, allocations: 8.929 MB / 3.992 GB, free: 7.516 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009021/10.21, allocations: 1.291 MB / 3.994 GB, free: 6.781 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00211/10.21, allocations: 0.6355 MB / 3.994 GB, free: 6.684 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/10.21, allocations: 6.969 kB / 3.994 GB, free: 6.684 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03098/10.24, allocations: 14.43 MB / 4.008 GB, free: 1.719 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008523/10.24, allocations: 179.8 kB / 4.009 GB, free: 1.719 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04372/10.29, allocations: 10.65 MB / 4.019 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006456/10.29, allocations: 1.738 MB / 4.021 GB, free: 14 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.024/10.32, allocations: 8.926 MB / 4.029 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009482/10.33, allocations: 0.9622 MB / 4.03 GB, free: 5.637 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002772/10.33, allocations: 0.6308 MB / 4.031 GB, free: 5.059 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 820 * Number of states: 0 () * Number of discrete variables: 12 (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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (943): * Single equations (assignments): 942 * 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 142} Notification: Performance of prepare postOptimizeDAE: time 0.004429/10.33, allocations: 0.7256 MB / 4.032 GB, free: 4.328 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00173/10.34, allocations: 352.9 kB / 4.032 GB, free: 3.98 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5184/10.85, allocations: 34.14 MB / 4.065 GB, free: 109.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001031/10.85, allocations: 63.03 kB / 4.065 GB, free: 109.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-05/10.85, allocations: 0 / 4.065 GB, free: 109.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.561e-05/10.85, allocations: 14.69 kB / 4.065 GB, free: 109.5 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07473/10.93, allocations: 42.65 MB / 4.107 GB, free: 100.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.153e-05/10.93, allocations: 8.203 kB / 4.107 GB, free: 100.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004027/10.93, allocations: 397.1 kB / 4.107 GB, free: 100.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04051/10.97, allocations: 6.948 MB / 4.114 GB, free: 99.71 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002295/10.98, allocations: 121 kB / 4.114 GB, free: 99.67 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05091/11.03, allocations: 28.18 MB / 4.142 GB, free: 88.89 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/11.03, allocations: 7.234 kB / 4.142 GB, free: 88.89 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03392/11.06, allocations: 13.47 MB / 4.155 GB, free: 84.75 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003247/11.06, allocations: 0.8801 MB / 4.156 GB, free: 84.31 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008239/11.07, allocations: 93.3 kB / 4.156 GB, free: 84.26 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003435/11.07, allocations: 271.3 kB / 4.156 GB, free: 84.22 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001388/11.07, allocations: 233.5 kB / 4.157 GB, free: 84.18 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003245/11.07, allocations: 102.5 kB / 4.157 GB, free: 84.16 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.003832/11.07, allocations: 2.29 MB / 4.159 GB, free: 83.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/11.07, allocations: 0 / 4.159 GB, free: 83.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02809/11.1, allocations: 3.275 MB / 4.162 GB, free: 81.78 MB / 0.5573 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: 24 ($cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 144 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {13 106} Notification: Performance of Backend phase and start with SimCode phase: time 0.04411/11.15, allocations: 15.31 MB / 4.177 GB, free: 69.88 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.03578/11.18, allocations: 15.89 MB / 4.193 GB, free: 56.31 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/11.18, allocations: 0 / 4.193 GB, free: 56.31 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01115/11.19, allocations: 4.193 MB / 4.197 GB, free: 52.63 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004362/11.2, allocations: 0.623 MB / 4.197 GB, free: 52.14 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03325/11.23, allocations: 11.1 MB / 4.208 GB, free: 43.05 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003473/11.24, allocations: 2.778 MB / 4.211 GB, free: 40.93 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01451/11.25, allocations: 5.785 MB / 4.216 GB, free: 37.45 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003454/11.25, allocations: 1.691 MB / 4.218 GB, free: 35.9 MB / 0.5573 GB Notification: Performance of SimCode: time 2.054e-06/11.25, allocations: 0 / 4.218 GB, free: 35.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.729/11.98, allocations: 212.5 MB / 4.426 GB, free: 13.11 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001853/11.98, allocations: 202.3 kB / 4.426 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.678/19.66, allocations: 0 / 4.426 GB, free: 12.89 MB / 0.5573 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEM_D_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEM_D.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.pipe 2>&1)