Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B.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_B,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEM_B",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEM_B",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.001637/0.001637, 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.962/1.962, 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.001027/0.001027, allocations: 82.66 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.3395/0.3395, allocations: 48.77 MB / 364.3 MB, free: 6.867 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.178e-05/3.182e-05, allocations: 7.984 kB / 432.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1374, allocations: 60.24 MB / 492.8 MB, free: 4.289 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.054/8.192, allocations: 2.943 GB / 3.424 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/8.192, allocations: 85.58 kB / 3.424 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.239/9.43, allocations: 377.9 MB / 3.793 GB, free: 17.31 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.094e-06/9.431, allocations: 0 / 3.793 GB, free: 17.31 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001483/9.431, allocations: 95.94 kB / 3.793 GB, free: 17.22 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: 1387 * Number of variables: 1387 Notification: Performance of Generate backend data structure: time 0.03554/9.466, allocations: 10.09 MB / 3.803 GB, free: 7.07 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/9.466, allocations: 8.031 kB / 3.803 GB, free: 7.062 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004794/9.471, allocations: 0.7555 MB / 3.804 GB, free: 6.297 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006939/9.478, allocations: 0.7949 MB / 3.805 GB, free: 5.496 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01147/9.49, allocations: 2.974 MB / 3.807 GB, free: 2.484 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006866/9.49, allocations: 398.7 kB / 3.808 GB, free: 2.094 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004897/9.495, allocations: 0.5273 MB / 3.808 GB, free: 1.566 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4771/9.972, allocations: 12.11 MB / 3.82 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004142/9.973, allocations: 0 / 3.82 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003236/9.976, allocations: 217 kB / 3.82 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002393/9.976, allocations: 207.7 kB / 3.821 GB, free: 44.67 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05676/10.03, allocations: 14.1 MB / 3.834 GB, free: 44.62 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.06382/10.1, allocations: 24.49 MB / 3.858 GB, free: 34.12 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01445/10.11, allocations: 4.869 MB / 3.863 GB, free: 34.07 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005168/10.12, allocations: 2.156 MB / 3.865 GB, free: 34.04 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1315/10.25, allocations: 64 MB / 3.928 GB, free: 26.5 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.542e-05/10.25, allocations: 58.34 kB / 3.928 GB, free: 26.45 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=257): time 6.051e-06/10.25, allocations: 0 / 3.928 GB, free: 26.45 MB / 0.5417 GB Notification: Performance of matching and sorting (n=257): time 0.05102/10.3, allocations: 12.87 MB / 3.94 GB, free: 25.85 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.639e-05/10.3, allocations: 79.09 kB / 3.94 GB, free: 25.78 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004895/10.3, allocations: 3.54 MB / 3.944 GB, free: 25.42 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001471/10.31, allocations: 71.95 kB / 3.944 GB, free: 25.39 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001846/10.31, allocations: 3.144 MB / 3.947 GB, free: 23.39 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002087/10.31, allocations: 1.04 MB / 3.948 GB, free: 22.82 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005979/10.31, allocations: 173 kB / 3.948 GB, free: 22.82 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000493/10.31, allocations: 0.718 MB / 3.949 GB, free: 22.48 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005275/10.32, allocations: 3.8 MB / 3.953 GB, free: 22.46 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00765/10.32, allocations: 8.851 MB / 3.961 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008608/10.33, allocations: 5.471 MB / 3.967 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001894/10.33, allocations: 48.97 kB / 3.967 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1102) (initialization): time 0.0419/10.37, allocations: 17.37 MB / 3.984 GB, free: 5.598 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.4526/10.83, allocations: 70.24 MB / 4.052 GB, free: 60.83 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007332/10.83, allocations: 178.3 kB / 4.052 GB, free: 60.83 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05054/10.88, allocations: 12.35 MB / 4.064 GB, free: 60.79 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006462/10.89, allocations: 1.678 MB / 4.066 GB, free: 60.79 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02406/10.91, allocations: 10.28 MB / 4.076 GB, free: 60.21 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009807/10.92, allocations: 1.311 MB / 4.077 GB, free: 60.13 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002736/10.92, allocations: 0.6402 MB / 4.078 GB, free: 60.13 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/10.92, allocations: 6.906 kB / 4.078 GB, free: 60.13 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04013/10.96, allocations: 16.9 MB / 4.094 GB, free: 59.57 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009162/10.96, allocations: 182 kB / 4.095 GB, free: 59.57 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04664/11.01, allocations: 12.35 MB / 4.107 GB, free: 59.52 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006162/11.02, allocations: 1.67 MB / 4.108 GB, free: 59.36 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02565/11.04, allocations: 10.28 MB / 4.118 GB, free: 58.67 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01006/11.05, allocations: 0.988 MB / 4.119 GB, free: 58.34 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003188/11.06, allocations: 0.6338 MB / 4.12 GB, free: 58.34 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 (903): * Single equations (assignments): 902 * 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 187} Notification: Performance of prepare postOptimizeDAE: time 0.004434/11.06, allocations: 0.7151 MB / 4.121 GB, free: 57.96 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001426/11.06, allocations: 364.7 kB / 4.121 GB, free: 57.76 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0598/11.12, allocations: 33.22 MB / 4.153 GB, free: 54.26 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001224/11.12, allocations: 76.28 kB / 4.153 GB, free: 54.25 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.986e-05/11.12, allocations: 0 / 4.153 GB, free: 54.25 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.314e-05/11.12, allocations: 17.5 kB / 4.154 GB, free: 54.24 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07905/11.2, allocations: 44.78 MB / 4.197 GB, free: 27.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-05/11.2, allocations: 0 / 4.197 GB, free: 27.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00286/11.2, allocations: 403.7 kB / 4.198 GB, free: 27.23 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03561/11.24, allocations: 8.34 MB / 4.206 GB, free: 22.12 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001873/11.24, allocations: 126.4 kB / 4.206 GB, free: 22.03 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5046/11.75, allocations: 30.56 MB / 4.236 GB, free: 88.98 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/11.75, allocations: 0.8125 kB / 4.236 GB, free: 88.98 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0455/11.79, allocations: 15.33 MB / 4.251 GB, free: 88.35 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003114/11.79, allocations: 0.9441 MB / 4.252 GB, free: 88 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009591/11.8, allocations: 91.44 kB / 4.252 GB, free: 88 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003827/11.8, allocations: 288.8 kB / 4.252 GB, free: 87.99 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001259/11.8, allocations: 259.7 kB / 4.252 GB, free: 87.99 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003327/11.8, allocations: 99.73 kB / 4.252 GB, free: 87.99 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003548/11.8, allocations: 2.314 MB / 4.255 GB, free: 87.83 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.61e-07/11.8, allocations: 0 / 4.255 GB, free: 87.83 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01999/11.82, allocations: 3.396 MB / 4.258 GB, free: 87.63 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 (155): * Single equations (assignments): 140 * 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.04544/11.87, allocations: 17.28 MB / 4.275 GB, free: 86.3 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0386/11.91, allocations: 16.99 MB / 4.291 GB, free: 85.86 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/11.91, allocations: 0 / 4.291 GB, free: 85.86 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01355/11.92, allocations: 4.708 MB / 4.296 GB, free: 85.52 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005174/11.93, allocations: 0.6813 MB / 4.297 GB, free: 85.49 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0362/11.96, allocations: 11.71 MB / 4.308 GB, free: 83.86 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004078/11.97, allocations: 2.867 MB / 4.311 GB, free: 83.06 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01381/11.98, allocations: 5.342 MB / 4.316 GB, free: 83.01 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003509/11.99, allocations: 1.763 MB / 4.318 GB, free: 83 MB / 0.573 GB Notification: Performance of SimCode: time 1.613e-06/11.99, allocations: 0 / 4.318 GB, free: 83 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7426/12.73, allocations: 225.2 MB / 4.538 GB, free: 79.38 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/12.73, allocations: 195 kB / 4.538 GB, free: 79.15 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.427/21.15, allocations: 2.156 kB / 4.538 GB, free: 79.15 MB / 0.573 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEM_B_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEM_B.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B.pipe 2>&1)