Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A.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_A,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEM_A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEM_A",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.001631/0.001631, allocations: 180.2 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.959/1.959, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001022/0.001021, allocations: 90.58 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6256/0.6256, allocations: 48.77 MB / 367.9 MB, free: 47.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000441/0.0004416, allocations: 12 kB / 438.7 MB, free: 10.9 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1852, allocations: 60.25 MB / 499 MB, free: 14.51 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.55/7.736, allocations: 2.943 GB / 3.43 GB, free: 78.09 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002993/7.736, allocations: 82 kB / 3.43 GB, free: 78.05 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.504/9.24, allocations: 379.3 MB / 3.801 GB, free: 58.27 MB / 0.5105 GB Notification: Performance of FrontEnd: time 7.985e-06/9.24, allocations: 0 / 3.801 GB, free: 58.27 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002238/9.24, allocations: 95.7 kB / 3.801 GB, free: 58.27 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: 1391 * Number of variables: 1391 Notification: Performance of Generate backend data structure: time 0.04908/9.289, allocations: 10.26 MB / 3.811 GB, free: 56.29 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.062e-05/9.289, allocations: 7.75 kB / 3.811 GB, free: 56.29 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006434/9.296, allocations: 0.7644 MB / 3.811 GB, free: 55.88 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0108/9.307, allocations: 0.8003 MB / 3.812 GB, free: 55.57 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02044/9.327, allocations: 3.016 MB / 3.815 GB, free: 54.55 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009358/9.328, allocations: 404.9 kB / 3.816 GB, free: 54.37 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006245/9.334, allocations: 0.5195 MB / 3.816 GB, free: 54.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05923/9.394, allocations: 12.14 MB / 3.828 GB, free: 49.96 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002041/9.394, allocations: 0 / 3.828 GB, free: 49.96 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004772/9.399, allocations: 219 kB / 3.828 GB, free: 49.79 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002962/9.399, allocations: 215.8 kB / 3.828 GB, free: 49.77 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07321/9.472, allocations: 14.18 MB / 3.842 GB, free: 45.87 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.06564/9.538, allocations: 24.33 MB / 3.866 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01116/9.549, allocations: 4.588 MB / 3.87 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5182/10.07, allocations: 63.74 MB / 3.933 GB, free: 56.83 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001238/10.07, allocations: 61 kB / 3.933 GB, free: 56.79 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=249): time 7.344e-06/10.07, allocations: 0 / 3.933 GB, free: 56.79 MB / 0.5261 GB Notification: Performance of matching and sorting (n=249): time 0.1254/10.19, allocations: 25.8 MB / 3.958 GB, free: 56.52 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.595e-05/10.19, allocations: 84.14 kB / 3.958 GB, free: 56.45 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007525/10.2, allocations: 3.56 MB / 3.961 GB, free: 56.13 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.002195/10.2, allocations: 73.86 kB / 3.962 GB, free: 56.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00316/10.21, allocations: 3.175 MB / 3.965 GB, free: 54.34 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.003303/10.21, allocations: 1.006 MB / 3.966 GB, free: 53.79 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009261/10.21, allocations: 172.6 kB / 3.966 GB, free: 53.79 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0007369/10.21, allocations: 0.7196 MB / 3.966 GB, free: 53.46 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008579/10.22, allocations: 3.807 MB / 3.97 GB, free: 53.44 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01326/10.23, allocations: 8.86 MB / 3.979 GB, free: 46.94 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01092/10.24, allocations: 5.421 MB / 3.984 GB, free: 46.67 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00038/10.24, allocations: 50.28 kB / 3.984 GB, free: 46.67 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1093) (initialization): time 0.04103/10.29, allocations: 14.95 MB / 3.999 GB, free: 45.36 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.02747/10.31, allocations: 70.23 MB / 4.067 GB, free: 19.53 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007232/10.31, allocations: 178.1 kB / 4.068 GB, free: 19.53 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0421/10.36, allocations: 11.57 MB / 4.079 GB, free: 18.75 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005538/10.36, allocations: 1.711 MB / 4.081 GB, free: 18.54 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02025/10.38, allocations: 9.788 MB / 4.09 GB, free: 15.26 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01016/10.39, allocations: 1.326 MB / 4.091 GB, free: 14.52 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002904/10.39, allocations: 0.6343 MB / 4.092 GB, free: 14.43 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/10.39, allocations: 3.25 kB / 4.092 GB, free: 14.43 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03461/10.43, allocations: 14.47 MB / 4.106 GB, free: 9.098 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008785/10.43, allocations: 179.3 kB / 4.106 GB, free: 9.094 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04315/10.47, allocations: 11.57 MB / 4.118 GB, free: 6.723 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005969/10.48, allocations: 1.702 MB / 4.119 GB, free: 5.227 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3961/10.88, allocations: 9.908 MB / 4.129 GB, free: 103.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01082/10.89, allocations: 0.9893 MB / 4.13 GB, free: 103.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003695/10.89, allocations: 0.6338 MB / 4.131 GB, free: 103.4 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (918): * Single equations (assignments): 917 * 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 163} Notification: Performance of prepare postOptimizeDAE: time 0.007983/10.9, allocations: 1.857 MB / 4.132 GB, free: 103.3 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001426/10.9, allocations: 358.7 kB / 4.133 GB, free: 103.2 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05727/10.96, allocations: 31.97 MB / 4.164 GB, free: 102.6 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000108/10.96, allocations: 69.28 kB / 4.164 GB, free: 102.6 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/10.96, allocations: 0 / 4.164 GB, free: 102.6 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.962e-05/10.96, allocations: 19.28 kB / 4.164 GB, free: 102.6 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08103/11.04, allocations: 43.81 MB / 4.207 GB, free: 86.99 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-05/11.04, allocations: 2.906 kB / 4.207 GB, free: 86.99 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003199/11.04, allocations: 391.5 kB / 4.207 GB, free: 86.95 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03578/11.08, allocations: 8.42 MB / 4.215 GB, free: 86.17 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002032/11.08, allocations: 122.8 kB / 4.215 GB, free: 86.12 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05662/11.14, allocations: 31.53 MB / 4.246 GB, free: 75.03 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/11.14, allocations: 0 / 4.246 GB, free: 75.03 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04136/11.18, allocations: 15.25 MB / 4.261 GB, free: 70.45 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003576/11.18, allocations: 0.9243 MB / 4.262 GB, free: 69.92 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009314/11.18, allocations: 92.73 kB / 4.262 GB, free: 69.88 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003435/11.19, allocations: 308.3 kB / 4.262 GB, free: 69.82 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001248/11.19, allocations: 251.9 kB / 4.263 GB, free: 69.79 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000315/11.19, allocations: 98.19 kB / 4.263 GB, free: 69.77 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003259/11.19, allocations: 2.327 MB / 4.265 GB, free: 69.12 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.8e-07/11.19, allocations: 0 / 4.265 GB, free: 69.12 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02127/11.21, allocations: 3.392 MB / 4.268 GB, free: 68.28 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (150): * Single equations (assignments): 135 * 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.0457/11.26, allocations: 17.19 MB / 4.285 GB, free: 55.22 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03993/11.3, allocations: 16.86 MB / 4.302 GB, free: 41.15 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.398e-05/11.3, allocations: 0 / 4.302 GB, free: 41.15 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01477/11.31, allocations: 4.693 MB / 4.306 GB, free: 37.24 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005613/11.32, allocations: 0.6574 MB / 4.307 GB, free: 36.74 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5162/11.83, allocations: 164.9 MB / 4.468 GB, free: 41.29 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003438/11.84, allocations: 2.882 MB / 4.471 GB, free: 40.5 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.01282/11.85, allocations: 5.643 MB / 4.476 GB, free: 40.45 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003685/11.85, allocations: 1.789 MB / 4.478 GB, free: 40.45 MB / 0.6355 GB Notification: Performance of SimCode: time 1.543e-06/11.85, allocations: 0 / 4.478 GB, free: 40.45 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7588/12.61, allocations: 217.6 MB / 4.69 GB, free: 148.9 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002134/12.61, allocations: 222 kB / 4.691 GB, free: 148.7 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.527/21.14, allocations: 7.688 kB / 4.691 GB, free: 148.7 MB / 0.6355 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEM_A_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEM_A.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A.pipe 2>&1)