Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.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_C,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEM_C",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEM_C",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.002073/0.002073, allocations: 180.5 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.102/2.102, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001519/0.001519, allocations: 94.56 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5594/0.5594, allocations: 48.77 MB / 367.9 MB, free: 47.43 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003959/0.000396, allocations: 8 kB / 438.7 MB, free: 10.91 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1679, allocations: 60.25 MB / 499 MB, free: 14.53 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.203/7.371, allocations: 2.943 GB / 3.43 GB, free: 80.87 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/7.371, allocations: 87.42 kB / 3.43 GB, free: 80.82 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.495/8.866, allocations: 378 MB / 3.799 GB, free: 58.09 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.566e-06/8.866, allocations: 9.969 kB / 3.799 GB, free: 58.08 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001379/8.866, allocations: 91.34 kB / 3.799 GB, free: 58.08 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: 1363 * Number of variables: 1363 Notification: Performance of Generate backend data structure: time 0.04191/8.908, allocations: 10.13 MB / 3.809 GB, free: 56.43 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.755e-05/8.908, allocations: 8.531 kB / 3.809 GB, free: 56.43 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006553/8.915, allocations: 0.7568 MB / 3.81 GB, free: 56.36 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00766/8.922, allocations: 0.7747 MB / 3.811 GB, free: 56.13 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01339/8.936, allocations: 2.937 MB / 3.813 GB, free: 55.57 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009083/8.937, allocations: 398.9 kB / 3.814 GB, free: 55.54 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005682/8.943, allocations: 0.5124 MB / 3.814 GB, free: 55.37 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04516/8.988, allocations: 12 MB / 3.826 GB, free: 51.18 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004406/8.988, allocations: 0 / 3.826 GB, free: 51.18 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004346/8.993, allocations: 210.8 kB / 3.826 GB, free: 51.02 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002275/8.993, allocations: 209.6 kB / 3.826 GB, free: 51 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05854/9.051, allocations: 14.04 MB / 3.84 GB, free: 47.2 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.05939/9.111, allocations: 24 MB / 3.864 GB, free: 30.55 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01331/9.124, allocations: 4.481 MB / 3.868 GB, free: 28.15 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5379/9.662, allocations: 63.74 MB / 3.93 GB, free: 59.17 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001192/9.662, allocations: 59.66 kB / 3.93 GB, free: 59.13 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=245): time 5.811e-06/9.662, allocations: 3.156 kB / 3.93 GB, free: 59.13 MB / 0.5261 GB Notification: Performance of matching and sorting (n=245): time 0.105/9.767, allocations: 22.57 MB / 3.952 GB, free: 58.87 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.385e-05/9.768, allocations: 78.59 kB / 3.952 GB, free: 58.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006325/9.774, allocations: 3.576 MB / 3.956 GB, free: 58.48 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001624/9.776, allocations: 69.95 kB / 3.956 GB, free: 58.45 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002474/9.778, allocations: 3.161 MB / 3.959 GB, free: 56.64 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002216/9.78, allocations: 0.9989 MB / 3.96 GB, free: 56.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005291/9.781, allocations: 174.2 kB / 3.96 GB, free: 56.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000509/9.781, allocations: 0.714 MB / 3.961 GB, free: 55.77 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006381/9.788, allocations: 3.747 MB / 3.965 GB, free: 55.75 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01009/9.798, allocations: 8.879 MB / 3.973 GB, free: 49.14 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009654/9.808, allocations: 5.381 MB / 3.979 GB, free: 49.09 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002872/9.808, allocations: 52.03 kB / 3.979 GB, free: 49.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1102) (initialization): time 0.03318/9.841, allocations: 14.74 MB / 3.993 GB, free: 47.86 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.03471/9.876, allocations: 71.37 MB / 4.063 GB, free: 20.83 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001028/9.877, allocations: 177.8 kB / 4.063 GB, free: 20.83 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03819/9.915, allocations: 10.24 MB / 4.073 GB, free: 20.41 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006312/9.921, allocations: 1.762 MB / 4.075 GB, free: 20.24 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02199/9.944, allocations: 8.954 MB / 4.083 GB, free: 17.72 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009802/9.953, allocations: 1.307 MB / 4.085 GB, free: 16.98 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003013/9.956, allocations: 0.6449 MB / 4.085 GB, free: 16.88 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/9.956, allocations: 3.875 kB / 4.085 GB, free: 16.88 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03341/9.99, allocations: 14.26 MB / 4.099 GB, free: 11.63 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001011/9.991, allocations: 183.4 kB / 4.099 GB, free: 11.63 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0361/10.03, allocations: 10.24 MB / 4.109 GB, free: 9.918 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007509/10.03, allocations: 1.75 MB / 4.111 GB, free: 9.691 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02197/10.06, allocations: 8.965 MB / 4.12 GB, free: 4.457 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00937/10.07, allocations: 0.9812 MB / 4.121 GB, free: 3.559 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003094/10.07, allocations: 0.6411 MB / 4.121 GB, free: 2.973 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 820 * 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 (949): * Single equations (assignments): 948 * 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 141} Notification: Performance of prepare postOptimizeDAE: time 0.008142/10.08, allocations: 1.842 MB / 4.123 GB, free: 1.305 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00191/10.08, allocations: 355.5 kB / 4.123 GB, free: 0.9531 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4337/10.51, allocations: 30.73 MB / 4.153 GB, free: 106.1 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-05/10.51, allocations: 67.7 kB / 4.154 GB, free: 106.1 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.626e-05/10.51, allocations: 0 / 4.154 GB, free: 106.1 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-05/10.51, allocations: 17.59 kB / 4.154 GB, free: 106.1 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08444/10.6, allocations: 42.44 MB / 4.195 GB, free: 92.97 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-05/10.6, allocations: 4.938 kB / 4.195 GB, free: 92.96 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003131/10.6, allocations: 419.8 kB / 4.195 GB, free: 92.92 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02868/10.63, allocations: 6.927 MB / 4.202 GB, free: 92.22 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001831/10.63, allocations: 125.4 kB / 4.202 GB, free: 92.18 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06519/10.7, allocations: 28.39 MB / 4.23 GB, free: 82.05 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/10.7, allocations: 0.625 kB / 4.23 GB, free: 82.05 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0397/10.74, allocations: 13.89 MB / 4.244 GB, free: 77.66 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004186/10.74, allocations: 0.9005 MB / 4.244 GB, free: 77.22 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002127/10.74, allocations: 90.73 kB / 4.245 GB, free: 77.18 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005016/10.75, allocations: 283.8 kB / 4.245 GB, free: 77.13 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002532/10.75, allocations: 240 kB / 4.245 GB, free: 77.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001151/10.75, allocations: 98.64 kB / 4.245 GB, free: 77.09 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00481/10.76, allocations: 2.335 MB / 4.247 GB, free: 76.44 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.9e-07/10.76, allocations: 2.812 kB / 4.247 GB, free: 76.44 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0268/10.78, allocations: 3.319 MB / 4.251 GB, free: 76 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 (166): * Single equations (assignments): 151 * 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 106} Notification: Performance of Backend phase and start with SimCode phase: time 0.05134/10.83, allocations: 15.83 MB / 4.266 GB, free: 68.5 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03754/10.87, allocations: 16.22 MB / 4.282 GB, free: 55 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.338e-05/10.87, allocations: 0 / 4.282 GB, free: 55 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01151/10.88, allocations: 4.275 MB / 4.286 GB, free: 51.37 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004858/10.89, allocations: 0.6441 MB / 4.287 GB, free: 50.88 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4741/11.36, allocations: 166.2 MB / 4.449 GB, free: 41.96 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002777/11.37, allocations: 2.824 MB / 4.452 GB, free: 41.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.01488/11.38, allocations: 5.867 MB / 4.458 GB, free: 41.12 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005121/11.39, allocations: 1.76 MB / 4.459 GB, free: 41.12 MB / 0.6198 GB Notification: Performance of SimCode: time 2.745e-06/11.39, allocations: 3.094 kB / 4.459 GB, free: 41.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.724/12.11, allocations: 213.1 MB / 4.667 GB, free: 131.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000184/12.11, allocations: 236.8 kB / 4.668 GB, free: 131.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.246/20.36, allocations: 0 / 4.668 GB, free: 131.2 MB / 0.6198 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEM_C_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEM_C.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.pipe 2>&1)