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.001413/0.001413, 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.64/1.64, 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.0008889/0.0008888, allocations: 82.72 kB / 267.5 MB, free: 14.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2812/0.2812, allocations: 48.78 MB / 364.3 MB, free: 6.859 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.381e-05/3.384e-05, allocations: 4 kB / 432.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1157, allocations: 60.25 MB / 492.8 MB, free: 4.289 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.148/7.263, allocations: 2.961 GB / 3.442 GB, free: 52.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003208/7.264, allocations: 79.86 kB / 3.443 GB, free: 52.73 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.61/8.874, allocations: 359.5 MB / 3.794 GB, free: 68.6 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.164e-06/8.874, allocations: 0 / 3.794 GB, free: 68.6 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001565/8.874, allocations: 115 kB / 3.794 GB, free: 68.6 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.06721/8.941, allocations: 15.44 MB / 3.809 GB, free: 66.15 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.959e-05/8.941, allocations: 9.562 kB / 3.809 GB, free: 66.15 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009868/8.951, allocations: 1.009 MB / 3.81 GB, free: 66.07 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01344/8.965, allocations: 1.044 MB / 3.811 GB, free: 65.68 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04914/9.014, allocations: 11 MB / 3.822 GB, free: 56.58 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.005519/9.02, allocations: 2.173 MB / 3.824 GB, free: 54.61 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01067/9.03, allocations: 0.6455 MB / 3.824 GB, free: 54.17 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08264/9.113, allocations: 24.32 MB / 3.848 GB, free: 35.13 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004868/9.114, allocations: 34.09 kB / 3.848 GB, free: 35.11 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009515/9.123, allocations: 280 kB / 3.848 GB, free: 34.84 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001477/9.123, allocations: 168 kB / 3.849 GB, free: 34.68 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07489/9.198, allocations: 29.15 MB / 3.877 GB, free: 5.59 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.5594/9.758, allocations: 118.9 MB / 3.993 GB, free: 224 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05338/9.811, allocations: 16.22 MB / 4.009 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02344/9.835, allocations: 10.99 MB / 4.02 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1539/9.988, allocations: 75.69 MB / 4.094 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001517/9.989, allocations: 86.59 kB / 4.094 GB, free: 12.74 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=530): time 6.622e-06/9.989, allocations: 0 / 4.094 GB, free: 12.74 MB / 0.5886 GB Notification: Performance of matching and sorting (n=530): time 0.7952/10.78, allocations: 93.82 MB / 4.185 GB, free: 141.1 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.496e-05/10.78, allocations: 135.8 kB / 4.185 GB, free: 141 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005931/10.79, allocations: 3.807 MB / 4.189 GB, free: 140.7 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.008765/10.8, allocations: 117.5 kB / 4.189 GB, free: 140.7 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.003059/10.8, allocations: 3.298 MB / 4.192 GB, free: 139 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.009824/10.81, allocations: 2.09 MB / 4.194 GB, free: 137.8 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00881/10.82, allocations: 226.8 kB / 4.195 GB, free: 137.8 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.001385/10.82, allocations: 0.8433 MB / 4.195 GB, free: 137.5 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02687/10.85, allocations: 12.65 MB / 4.208 GB, free: 137.5 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04754/10.9, allocations: 18.24 MB / 4.226 GB, free: 130.3 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04153/10.94, allocations: 11.34 MB / 4.237 GB, free: 125.2 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006087/10.94, allocations: 56 kB / 4.237 GB, free: 125.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1447) (initialization): time 0.1919/11.13, allocations: 53.3 MB / 4.289 GB, free: 82.66 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.4317/11.56, allocations: 75.71 MB / 4.363 GB, free: 104 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001121/11.56, allocations: 190.2 kB / 4.363 GB, free: 104 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1732/11.74, allocations: 45.3 MB / 4.407 GB, free: 103.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1867/11.92, allocations: 40.99 MB / 4.447 GB, free: 101.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06917/11.99, allocations: 25.51 MB / 4.472 GB, free: 93.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03945/12.03, allocations: 6.868 MB / 4.479 GB, free: 88.96 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007912/12.04, allocations: 0.9666 MB / 4.48 GB, free: 88.36 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/12.04, allocations: 8.844 kB / 4.48 GB, free: 88.35 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.19/12.23, allocations: 52.76 MB / 4.531 GB, free: 47.31 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009399/12.23, allocations: 192 kB / 4.532 GB, free: 47.12 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4777/12.71, allocations: 45.3 MB / 4.576 GB, free: 120.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1395/12.85, allocations: 40.97 MB / 4.616 GB, free: 118.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06828/12.92, allocations: 25.51 MB / 4.641 GB, free: 117.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03908/12.96, allocations: 6.536 MB / 4.647 GB, free: 117.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01004/12.97, allocations: 0.9636 MB / 4.648 GB, free: 117.2 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 () * 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.01618/12.98, allocations: 0.8646 MB / 4.649 GB, free: 117 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008174/12.99, allocations: 470.5 kB / 4.649 GB, free: 116.6 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.7757/13.77, allocations: 113.5 MB / 4.76 GB, free: 109.2 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002102/13.77, allocations: 95.92 kB / 4.76 GB, free: 109.2 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.202e-05/13.77, allocations: 17.94 kB / 4.76 GB, free: 109.2 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002581/13.77, allocations: 30.56 kB / 4.76 GB, free: 109.2 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4504/14.22, allocations: 166.5 MB / 4.923 GB, free: 51.72 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-05/14.22, allocations: 5.062 kB / 4.923 GB, free: 51.72 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.5847/14.8, allocations: 50.58 MB / 4.972 GB, free: 119.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08685/14.89, allocations: 33.41 MB / 5.005 GB, free: 118.9 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.006871/14.9, allocations: 0.746 MB / 5.006 GB, free: 118.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7039/15.6, allocations: 151 MB / 5.153 GB, free: 41.75 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.401e-06/15.6, allocations: 4 kB / 5.153 GB, free: 41.74 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6957/16.3, allocations: 101.5 MB / 5.252 GB, free: 115.1 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01174/16.31, allocations: 2.974 MB / 5.255 GB, free: 114.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007173/16.31, allocations: 370.3 kB / 5.255 GB, free: 114.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03679/16.35, allocations: 6.111 MB / 5.261 GB, free: 114.4 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.01003/16.36, allocations: 0.8767 MB / 5.262 GB, free: 114.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006749/16.37, allocations: 0.519 MB / 5.263 GB, free: 114.4 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.004873/16.37, allocations: 2.486 MB / 5.265 GB, free: 114.2 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.51e-07/16.37, allocations: 0 / 5.265 GB, free: 114.2 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.04746/16.42, allocations: 5.881 MB / 5.271 GB, free: 114 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: 26 ($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.region3boundary,$cse27.region3boundary,$cse28.region3boundary,$cse29.region3boundary) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (475): * Single equations (assignments): 459 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 15 * 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.4029/16.82, allocations: 101.3 MB / 5.37 GB, free: 31.11 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 1.172/18, allocations: 176 MB / 5.542 GB, free: 66.52 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.384e-05/18, allocations: 4 kB / 5.542 GB, free: 66.52 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.728/18.72, allocations: 72.54 MB / 5.612 GB, free: 114.5 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009766/18.73, allocations: 0.7684 MB / 5.613 GB, free: 114.4 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0716/18.81, allocations: 23.86 MB / 5.637 GB, free: 112.5 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002376/18.81, allocations: 3.293 MB / 5.64 GB, free: 111.7 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.02999/18.84, allocations: 10.53 MB / 5.65 GB, free: 111.6 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008282/18.85, allocations: 2.433 MB / 5.652 GB, free: 111.6 MB / 0.5886 GB Notification: Performance of SimCode: time 1.042e-06/18.85, allocations: 0 / 5.652 GB, free: 111.6 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.356/20.2, allocations: 0.498 GB / 6.15 GB, free: 81.67 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001611/20.2, allocations: 194 kB / 6.151 GB, free: 81.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.64/35.84, allocations: 4.062 kB / 6.151 GB, free: 81.44 MB / 0.6042 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)