Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1Dfem2ph.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.TestFlow1Dfem2ph,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1Dfem2ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestFlow1Dfem2ph,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1Dfem2ph",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.001259/0.001259, allocations: 180.4 kB / 16.38 MB, free: 5.766 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.56/1.56, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.00119/0.00119, allocations: 102.9 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5173/0.5173, allocations: 48.77 MB / 367.9 MB, free: 47.42 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.0003506, allocations: 8 kB / 438.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.15, allocations: 60.24 MB / 499 MB, free: 14.51 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.176/7.326, allocations: 2.961 GB / 3.449 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/7.326, allocations: 85.27 kB / 3.449 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.265/8.591, allocations: 360.3 MB / 3.8 GB, free: 33.52 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.894e-06/8.591, allocations: 4 kB / 3.8 GB, free: 33.52 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001541/8.592, allocations: 108 kB / 3.801 GB, free: 33.41 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: 1653 * Number of variables: 1653 Notification: Performance of Generate backend data structure: time 0.0717/8.663, allocations: 15.57 MB / 3.816 GB, free: 18.16 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.684e-05/8.663, allocations: 12.03 kB / 3.816 GB, free: 18.15 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01071/8.674, allocations: 1.022 MB / 3.817 GB, free: 17.61 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01284/8.687, allocations: 1.042 MB / 3.818 GB, free: 16.62 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0483/8.735, allocations: 11 MB / 3.829 GB, free: 6.516 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.006331/8.742, allocations: 2.173 MB / 3.831 GB, free: 4.234 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009845/8.752, allocations: 0.6444 MB / 3.831 GB, free: 3.59 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4691/9.221, allocations: 33.9 MB / 3.864 GB, free: 34.79 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003425/9.221, allocations: 36.53 kB / 3.864 GB, free: 34.79 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009204/9.23, allocations: 277.9 kB / 3.865 GB, free: 34.79 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001434/9.231, allocations: 171.6 kB / 3.865 GB, free: 34.79 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1116/9.342, allocations: 37.99 MB / 3.902 GB, free: 34.74 MB / 0.5105 GB 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.1823/9.524, allocations: 119.2 MB / 4.018 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07547/9.6, allocations: 24.46 MB / 4.042 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5/10.1, allocations: 75.39 MB / 4.116 GB, free: 84.89 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002067/10.1, allocations: 97.75 kB / 4.116 GB, free: 84.84 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=530): time 7.174e-06/10.1, allocations: 0 / 4.116 GB, free: 84.84 MB / 0.5886 GB Notification: Performance of matching and sorting (n=530): time 0.5643/10.66, allocations: 146.2 MB / 4.259 GB, free: 44.01 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.843e-05/10.66, allocations: 129.3 kB / 4.259 GB, free: 43.86 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004874/10.67, allocations: 3.835 MB / 4.263 GB, free: 40.72 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.006733/10.68, allocations: 117.7 kB / 4.263 GB, free: 40.6 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.002529/10.68, allocations: 3.297 MB / 4.266 GB, free: 37.91 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.008762/10.69, allocations: 2.09 MB / 4.268 GB, free: 36.15 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007247/10.7, allocations: 228 kB / 4.268 GB, free: 35.93 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.001482/10.7, allocations: 0.8446 MB / 4.269 GB, free: 35.23 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04927/10.75, allocations: 21.38 MB / 4.29 GB, free: 16.16 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4231/11.17, allocations: 26.97 MB / 4.316 GB, free: 105.4 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04963/11.22, allocations: 19.98 MB / 4.336 GB, free: 105.3 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002604/11.22, allocations: 54.03 kB / 4.336 GB, free: 105.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1447) (initialization): time 0.2751/11.49, allocations: 75.51 MB / 4.409 GB, free: 99.5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.01955/11.51, allocations: 75.73 MB / 4.483 GB, free: 18.51 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000836/11.51, allocations: 192 kB / 4.484 GB, free: 18.51 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5141/12.03, allocations: 57.46 MB / 4.54 GB, free: 96.04 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1405/12.17, allocations: 40.98 MB / 4.58 GB, free: 96.04 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1205/12.29, allocations: 39.73 MB / 4.619 GB, free: 95.45 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03782/12.33, allocations: 6.867 MB / 4.625 GB, free: 95.27 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008689/12.34, allocations: 0.9781 MB / 4.626 GB, free: 95.27 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/12.34, allocations: 4.531 kB / 4.626 GB, free: 95.27 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2548/12.59, allocations: 74.97 MB / 4.699 GB, free: 64.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00099/12.59, allocations: 188 kB / 4.7 GB, free: 64.25 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5153/13.11, allocations: 55.67 MB / 4.754 GB, free: 94.01 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1384/13.25, allocations: 40.97 MB / 4.794 GB, free: 94.01 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1208/13.37, allocations: 39.73 MB / 4.833 GB, free: 93.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04111/13.41, allocations: 6.528 MB / 4.839 GB, free: 92.59 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008523/13.42, allocations: 0.963 MB / 4.84 GB, free: 92.59 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 870 * Number of states: 0 () * Number of discrete variables: 13 (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,hex.dew.phase,hex.bubble.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1243): * Single equations (assignments): 1242 * 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 {12 193} Notification: Performance of prepare postOptimizeDAE: time 0.01846/13.44, allocations: 2.188 MB / 4.842 GB, free: 92.27 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008656/13.44, allocations: 469.6 kB / 4.843 GB, free: 92.02 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.7932/14.24, allocations: 136.5 MB / 4.976 GB, free: 92.39 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001209/14.24, allocations: 102.3 kB / 4.976 GB, free: 92.39 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.496e-05/14.24, allocations: 19.91 kB / 4.976 GB, free: 92.39 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001762/14.24, allocations: 26.77 kB / 4.976 GB, free: 92.39 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.8085/15.05, allocations: 191.2 MB / 5.163 GB, free: 92.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.834e-05/15.05, allocations: 0.6875 kB / 5.163 GB, free: 92.38 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1612/15.21, allocations: 50.56 MB / 5.212 GB, free: 92.38 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1037/15.31, allocations: 41.82 MB / 5.253 GB, free: 91.04 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.006724/15.32, allocations: 0.7237 MB / 5.254 GB, free: 91.04 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.069/16.39, allocations: 190.1 MB / 5.439 GB, free: 90.72 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/16.39, allocations: 0 / 5.439 GB, free: 90.72 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4557/16.84, allocations: 125.5 MB / 5.562 GB, free: 38.18 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01304/16.86, allocations: 2.997 MB / 5.565 GB, free: 35.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008577/16.86, allocations: 363.7 kB / 5.565 GB, free: 34.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03674/16.9, allocations: 6.123 MB / 5.571 GB, free: 28.67 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.008926/16.91, allocations: 0.854 MB / 5.572 GB, free: 27.82 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006753/16.92, allocations: 0.5015 MB / 5.572 GB, free: 27.32 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.3529/17.27, allocations: 2.518 MB / 5.575 GB, free: 89.98 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.694e-06/17.27, allocations: 0 / 5.575 GB, free: 89.98 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.04761/17.32, allocations: 5.875 MB / 5.581 GB, free: 89.89 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 23 (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],MetalWall.T[1],MetalWall.T[2],MetalWall.T[3],MetalWall.T[4],MetalWall.T[5],MetalWall.T[6],MetalWall.T[7],MetalWall.T[8],MetalWall.T[9],MetalWall.T[10],MetalWall.T[11]) * Number of discrete variables: 30 ($cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region,$cse28.region3boundary,$cse29.region3boundary,$cse30.region3boundary,$cse31.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (477): * Single equations (assignments): 459 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 17 * 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 {(12,68.8%) 80} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.448/17.77, allocations: 122.2 MB / 5.7 GB, free: 87.85 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 1.119/18.88, allocations: 193.9 MB / 5.889 GB, free: 92.85 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.331e-05/18.88, allocations: 0 / 5.889 GB, free: 92.85 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.3932/19.28, allocations: 78.57 MB / 5.966 GB, free: 47.66 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008925/19.29, allocations: 0.7666 MB / 5.967 GB, free: 47.17 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8986/20.19, allocations: 302.2 MB / 6.262 GB, free: 18.59 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004978/20.19, allocations: 3.323 MB / 6.265 GB, free: 16.15 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.03098/20.22, allocations: 9 MB / 6.274 GB, free: 10.41 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01109/20.23, allocations: 2.423 MB / 6.276 GB, free: 8.293 MB / 0.6667 GB Notification: Performance of SimCode: time 1.433e-06/20.23, allocations: 4 kB / 6.276 GB, free: 8.289 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.694/21.93, allocations: 0.4941 GB / 6.771 GB, free: 163.6 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001814/21.93, allocations: 226 kB / 6.771 GB, free: 163.4 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.73/36.66, allocations: 0.875 kB / 6.771 GB, free: 163.4 MB / 0.6667 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1Dfem2ph.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1Dfem2ph.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1Dfem2ph.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1Dfem2ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1Dfem2ph_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-08 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1Dfem2ph.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1Dfem2ph.pipe 2>&1)