Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_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.TestWaterFlow1DFV_A,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_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.001154/0.001154, allocations: 180.8 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 1.753/1.753, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.00107/0.00107, allocations: 100.1 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5539/0.5539, allocations: 48.78 MB / 367.9 MB, free: 47.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003741/0.0003742, allocations: 8 kB / 438.7 MB, free: 10.88 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1698, allocations: 60.24 MB / 499 MB, free: 14.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.128/8.298, allocations: 2.957 GB / 3.444 GB, free: 67.27 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004211/8.298, allocations: 87.95 kB / 3.444 GB, free: 67.18 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.577/9.875, allocations: 367.8 MB / 3.803 GB, free: 61.59 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.563e-06/9.875, allocations: 0 / 3.803 GB, free: 61.59 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.527e-05/9.875, allocations: 52.7 kB / 3.803 GB, free: 61.58 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: 762 * Number of variables: 762 Notification: Performance of Generate backend data structure: time 0.01626/9.891, allocations: 4.62 MB / 3.808 GB, free: 60.12 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/9.891, allocations: 10.44 kB / 3.808 GB, free: 60.12 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001206/9.892, allocations: 421.5 kB / 3.808 GB, free: 59.89 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004779/9.897, allocations: 0.816 MB / 3.809 GB, free: 59.63 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006736/9.904, allocations: 1.824 MB / 3.811 GB, free: 58.88 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001844/9.904, allocations: 206.9 kB / 3.811 GB, free: 58.79 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008214/9.905, allocations: 319.2 kB / 3.811 GB, free: 58.67 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02184/9.927, allocations: 8.548 MB / 3.82 GB, free: 55.67 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.025e-05/9.927, allocations: 0 / 3.82 GB, free: 55.67 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003743/9.927, allocations: 118.8 kB / 3.82 GB, free: 55.58 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001811/9.928, allocations: 158.3 kB / 3.82 GB, free: 55.56 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02209/9.95, allocations: 10.19 MB / 3.83 GB, free: 52.43 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.02974/9.98, allocations: 19.19 MB / 3.849 GB, free: 39.16 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01568/9.995, allocations: 6.356 MB / 3.855 GB, free: 36.71 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5296/10.52, allocations: 63.77 MB / 3.917 GB, free: 73.62 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001144/10.53, allocations: 63.92 kB / 3.917 GB, free: 73.58 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=273): time 5.109e-06/10.53, allocations: 0 / 3.917 GB, free: 73.58 MB / 0.5261 GB Notification: Performance of matching and sorting (n=273): time 0.05078/10.58, allocations: 14.84 MB / 3.932 GB, free: 73.28 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.309e-05/10.58, allocations: 87.12 kB / 3.932 GB, free: 73.21 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/10.58, allocations: 0.5499 MB / 3.932 GB, free: 73.11 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001208/10.58, allocations: 73.55 kB / 3.932 GB, free: 73.08 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000636/10.58, allocations: 0.8142 MB / 3.933 GB, free: 72.79 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001869/10.58, allocations: 0.9496 MB / 3.934 GB, free: 72.31 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003804/10.58, allocations: 49.25 kB / 3.934 GB, free: 72.31 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002443/10.58, allocations: 456 kB / 3.935 GB, free: 72 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00448/10.59, allocations: 2.839 MB / 3.937 GB, free: 71.99 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00605/10.59, allocations: 3.183 MB / 3.941 GB, free: 71.69 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005631/10.6, allocations: 2.966 MB / 3.943 GB, free: 71.65 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.808e-05/10.6, allocations: 7.031 kB / 3.943 GB, free: 71.65 MB / 0.5261 GB Notification: Performance of matching and sorting (n=321) (initialization): time 0.02096/10.62, allocations: 9.615 MB / 3.953 GB, free: 71.43 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007741/10.62, allocations: 2.273 MB / 3.955 GB, free: 69.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.598e-05/10.62, allocations: 11.88 kB / 3.955 GB, free: 69.06 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02426/10.64, allocations: 8.511 MB / 3.963 GB, free: 69.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001727/10.65, allocations: 274.9 kB / 3.964 GB, free: 69.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02841/10.67, allocations: 9.612 MB / 3.973 GB, free: 68.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00583/10.68, allocations: 480.6 kB / 3.974 GB, free: 68.31 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001706/10.68, allocations: 334.5 kB / 3.974 GB, free: 68.31 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.965e-05/10.68, allocations: 6.688 kB / 3.974 GB, free: 68.31 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02353/10.71, allocations: 9.418 MB / 3.983 GB, free: 66.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-05/10.71, allocations: 7.031 kB / 3.983 GB, free: 66.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02021/10.73, allocations: 8.516 MB / 3.991 GB, free: 64.58 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/10.73, allocations: 259.6 kB / 3.992 GB, free: 64.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02456/10.75, allocations: 9.61 MB / 4.001 GB, free: 61.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005269/10.76, allocations: 455.1 kB / 4.001 GB, free: 61.08 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00145/10.76, allocations: 330.9 kB / 4.002 GB, free: 61.01 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 22 (hex.fluidState[20].phase,hex.fluidState[19].phase,hex.fluidState[18].phase,hex.fluidState[17].phase,hex.fluidState[16].phase,hex.fluidState[15].phase,hex.fluidState[14].phase,hex.fluidState[13].phase,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 (146): * Single equations (assignments): 145 * 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 {20 156} Notification: Performance of prepare postOptimizeDAE: time 0.004144/10.76, allocations: 0.8249 MB / 4.003 GB, free: 60.56 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001522/10.76, allocations: 143.5 kB / 4.003 GB, free: 60.49 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05095/10.82, allocations: 41.37 MB / 4.043 GB, free: 42.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001599/10.82, allocations: 100.3 kB / 4.043 GB, free: 42.77 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.903e-05/10.82, allocations: 16.84 kB / 4.043 GB, free: 42.77 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001322/10.82, allocations: 14.44 kB / 4.043 GB, free: 42.77 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02178/10.84, allocations: 18.09 MB / 4.061 GB, free: 28.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.465e-05/10.84, allocations: 3.953 kB / 4.061 GB, free: 28.78 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004561/10.84, allocations: 0.6193 MB / 4.061 GB, free: 28.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01032/10.85, allocations: 2.64 MB / 4.064 GB, free: 26.65 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001918/10.85, allocations: 112.7 kB / 4.064 GB, free: 26.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02641/10.88, allocations: 14.66 MB / 4.078 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/10.88, allocations: 0.5 kB / 4.078 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02879/10.91, allocations: 12.32 MB / 4.091 GB, free: 3.598 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003319/10.91, allocations: 0.7563 MB / 4.091 GB, free: 2.938 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001476/10.91, allocations: 78.94 kB / 4.091 GB, free: 2.867 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004487/10.92, allocations: 305.2 kB / 4.092 GB, free: 2.645 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001648/10.92, allocations: 205.1 kB / 4.092 GB, free: 2.527 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000926/10.92, allocations: 101.1 kB / 4.092 GB, free: 2.453 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008408/10.92, allocations: 410.4 kB / 4.092 GB, free: 2.109 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.81e-07/10.92, allocations: 4 kB / 4.092 GB, free: 2.105 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01735/10.94, allocations: 2.927 MB / 4.095 GB, free: 15.63 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4],hex.htilde[5],hex.htilde[6],hex.htilde[7],hex.htilde[8],hex.htilde[9],hex.htilde[10],hex.htilde[11],hex.htilde[12],hex.htilde[13],hex.htilde[14],hex.htilde[15],hex.htilde[16],hex.htilde[17],hex.htilde[18],hex.htilde[19]) * Number of discrete variables: 44 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.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,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (240): * Single equations (assignments): 217 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 22 * 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 {(20,57.2%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.5017/11.44, allocations: 14.52 MB / 4.109 GB, free: 89.78 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.03754/11.48, allocations: 11.4 MB / 4.12 GB, free: 89.58 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.207e-05/11.48, allocations: 0 / 4.12 GB, free: 89.58 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01338/11.49, allocations: 4.319 MB / 4.125 GB, free: 89.37 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006626/11.5, allocations: 0.7293 MB / 4.125 GB, free: 89.36 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0692/11.57, allocations: 32.48 MB / 4.157 GB, free: 80.98 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003879/11.57, allocations: 2.266 MB / 4.159 GB, free: 80.22 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00582/11.58, allocations: 1.44 MB / 4.161 GB, free: 80.19 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003234/11.58, allocations: 1.18 MB / 4.162 GB, free: 80.18 MB / 0.5417 GB Notification: Performance of SimCode: time 2.304e-06/11.58, allocations: 3.094 kB / 4.162 GB, free: 80.18 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.668/12.25, allocations: 202.9 MB / 4.36 GB, free: 74.57 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001724/12.25, allocations: 231.4 kB / 4.36 GB, free: 74.32 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.635/19.89, allocations: 4 kB / 4.36 GB, free: 74.32 MB / 0.5417 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_A_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_A.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.pipe 2>&1)