Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB.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_DB,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_DB",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_DB",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.001702/0.001702, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.944/1.944, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009352/0.0009351, allocations: 84.05 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6719/0.6719, allocations: 48.78 MB / 358.8 MB, free: 53.13 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.502e-05/3.505e-05, allocations: 4 kB / 425.4 MB, free: 8.141 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1613, allocations: 60.28 MB / 485.7 MB, free: 11.71 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.444/8.605, allocations: 2.965 GB / 3.44 GB, free: 99.03 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/8.606, allocations: 79.06 kB / 3.44 GB, free: 98.96 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.535/10.14, allocations: 376.1 MB / 3.807 GB, free: 51.85 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.974e-06/10.14, allocations: 0 / 3.807 GB, free: 51.85 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 8.706e-05/10.14, allocations: 42.59 kB / 3.807 GB, free: 51.84 MB / 0.5108 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 505 * Number of variables: 505 Notification: Performance of Generate backend data structure: time 0.01341/10.15, allocations: 2.84 MB / 3.81 GB, free: 50.79 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 6.197e-05/10.15, allocations: 11.69 kB / 3.81 GB, free: 50.79 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00391/10.16, allocations: 0.5806 MB / 3.81 GB, free: 50.7 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004692/10.16, allocations: 1.31 MB / 3.812 GB, free: 50.37 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001281/10.16, allocations: 65.41 kB / 3.812 GB, free: 50.37 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006982/10.16, allocations: 110 kB / 3.812 GB, free: 50.37 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006312/10.17, allocations: 3.58 MB / 3.815 GB, free: 50.36 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004316/10.17, allocations: 2.854 MB / 3.818 GB, free: 50.16 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.076e-05/10.17, allocations: 4.969 kB / 3.818 GB, free: 50.16 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002126/10.17, allocations: 6.688 kB / 3.818 GB, free: 50.16 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-05/10.17, allocations: 92.16 kB / 3.818 GB, free: 50.16 MB / 0.5108 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.0143/10.19, allocations: 11.5 MB / 3.829 GB, free: 44.81 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005349/10.19, allocations: 3.026 MB / 3.832 GB, free: 44.73 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001666/10.2, allocations: 1.381 MB / 3.834 GB, free: 44.73 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2206/10.42, allocations: 112.8 MB / 3.944 GB, free: 32.51 MB / 0.5733 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001125/10.42, allocations: 60.56 kB / 3.944 GB, free: 32.45 MB / 0.5733 GB Notification: Performance of pre-optimization done (n=244): time 8.416e-06/10.42, allocations: 0 / 3.944 GB, free: 32.45 MB / 0.5733 GB Notification: Performance of matching and sorting (n=244): time 0.01879/10.44, allocations: 5.185 MB / 3.949 GB, free: 28.32 MB / 0.5733 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.657e-05/10.44, allocations: 81.41 kB / 3.949 GB, free: 28.22 MB / 0.5733 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/10.44, allocations: 406.2 kB / 3.949 GB, free: 27.86 MB / 0.5733 GB Notification: Performance of collectPreVariables (initialization): time 0.001218/10.44, allocations: 25.7 kB / 3.95 GB, free: 27.82 MB / 0.5733 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005861/10.44, allocations: 0.5137 MB / 3.95 GB, free: 27.36 MB / 0.5733 GB Notification: Performance of collectInitialBindings (initialization): time 0.002182/10.44, allocations: 0.8028 MB / 3.951 GB, free: 26.62 MB / 0.5733 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009031/10.44, allocations: 0 / 3.951 GB, free: 26.62 MB / 0.5733 GB Notification: Performance of setup shared object (initialization): time 0.0005359/10.44, allocations: 424.5 kB / 3.951 GB, free: 26.23 MB / 0.5733 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003767/10.45, allocations: 1.776 MB / 3.953 GB, free: 24.65 MB / 0.5733 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003646/10.45, allocations: 2.033 MB / 3.955 GB, free: 22.77 MB / 0.5733 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009414/10.46, allocations: 2.609 MB / 3.957 GB, free: 20.59 MB / 0.5733 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.855e-05/10.46, allocations: 0 / 3.957 GB, free: 20.59 MB / 0.5733 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01904/10.48, allocations: 6.89 MB / 3.964 GB, free: 14.63 MB / 0.5733 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006755/10.48, allocations: 1.409 MB / 3.966 GB, free: 13.11 MB / 0.5733 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.403e-05/10.48, allocations: 4 kB / 3.966 GB, free: 13.11 MB / 0.5733 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01814/10.5, allocations: 6.05 MB / 3.971 GB, free: 8.371 MB / 0.5733 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000646/10.5, allocations: 118.8 kB / 3.972 GB, free: 8.277 MB / 0.5733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02294/10.52, allocations: 8.802 MB / 3.98 GB, free: 0.7812 MB / 0.5733 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003124/10.52, allocations: 272.2 kB / 3.98 GB, free: 0.5312 MB / 0.5733 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008046/10.52, allocations: 203.8 kB / 3.981 GB, free: 340 kB / 0.5733 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/10.53, allocations: 4 kB / 3.981 GB, free: 336 kB / 0.5733 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.4279/10.95, allocations: 6.686 MB / 3.987 GB, free: 114.8 MB / 0.5733 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.76e-05/10.95, allocations: 3.812 kB / 3.987 GB, free: 114.8 MB / 0.5733 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01765/10.97, allocations: 6.056 MB / 3.993 GB, free: 114.8 MB / 0.5733 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005602/10.97, allocations: 112 kB / 3.993 GB, free: 114.8 MB / 0.5733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01919/10.99, allocations: 8.8 MB / 4.002 GB, free: 114.2 MB / 0.5733 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002697/10.99, allocations: 256 kB / 4.002 GB, free: 114.2 MB / 0.5733 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003821/10.99, allocations: 204.2 kB / 4.002 GB, free: 114.2 MB / 0.5733 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 12 (hexFV.fluidState[10].phase,hexFV.fluidState[9].phase,hexFV.fluidState[8].phase,hexFV.fluidState[7].phase,hexFV.fluidState[6].phase,hexFV.fluidState[5].phase,hexFV.fluidState[4].phase,hexFV.fluidState[3].phase,hexFV.fluidState[2].phase,hexFV.fluidState[1].phase,T_out.fluidState.phase,T_in.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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 {10 202} Notification: Performance of prepare postOptimizeDAE: time 0.0007573/10.99, allocations: 133.1 kB / 4.002 GB, free: 114.1 MB / 0.5733 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01454/11.01, allocations: 5.419 MB / 4.008 GB, free: 114 MB / 0.5733 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005978/11.01, allocations: 120.1 kB / 4.008 GB, free: 114 MB / 0.5733 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03063/11.04, allocations: 22.9 MB / 4.03 GB, free: 113.5 MB / 0.5733 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.086e-05/11.04, allocations: 60.02 kB / 4.03 GB, free: 113.5 MB / 0.5733 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.14e-05/11.04, allocations: 5.5 kB / 4.03 GB, free: 113.5 MB / 0.5733 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.375e-05/11.04, allocations: 12.38 kB / 4.03 GB, free: 113.5 MB / 0.5733 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01283/11.05, allocations: 9.583 MB / 4.04 GB, free: 111.4 MB / 0.5733 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.835e-05/11.05, allocations: 1.875 kB / 4.04 GB, free: 111.4 MB / 0.5733 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004072/11.06, allocations: 0.5034 MB / 4.04 GB, free: 111.4 MB / 0.5733 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003762/11.06, allocations: 0.9534 MB / 4.041 GB, free: 111.4 MB / 0.5733 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000931/11.06, allocations: 57.78 kB / 4.041 GB, free: 111.4 MB / 0.5733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007769/11.07, allocations: 5.535 MB / 4.046 GB, free: 110 MB / 0.5733 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/11.07, allocations: 0 / 4.046 GB, free: 110 MB / 0.5733 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01489/11.09, allocations: 8.002 MB / 4.054 GB, free: 107 MB / 0.5733 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001337/11.09, allocations: 0.6261 MB / 4.055 GB, free: 106.7 MB / 0.5733 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002958/11.09, allocations: 12.88 kB / 4.055 GB, free: 106.7 MB / 0.5733 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00175/11.09, allocations: 125.4 kB / 4.055 GB, free: 106.7 MB / 0.5733 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00043/11.09, allocations: 173.2 kB / 4.055 GB, free: 106.6 MB / 0.5733 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002103/11.09, allocations: 88.86 kB / 4.055 GB, free: 106.6 MB / 0.5733 GB Notification: Performance of sorting global known variables: time 0.0003798/11.09, allocations: 302.4 kB / 4.056 GB, free: 106.5 MB / 0.5733 GB Notification: Performance of sort global known variables: time 1.6e-07/11.09, allocations: 0 / 4.056 GB, free: 106.5 MB / 0.5733 GB Notification: Performance of remove unused functions: time 0.008633/11.1, allocations: 2.116 MB / 4.058 GB, free: 106.3 MB / 0.5733 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (hexFV.p,hexFV.htilde[1],hexFV.htilde[2],hexFV.htilde[3],hexFV.htilde[4],hexFV.htilde[5],hexFV.htilde[6],hexFV.htilde[7],hexFV.htilde[8],hexFV.htilde[9]) * Number of discrete variables: 24 ($cse1.phase,$cse1.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,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (229): * Single equations (assignments): 216 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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 {(10,64.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02194/11.12, allocations: 10.18 MB / 4.068 GB, free: 102.4 MB / 0.5733 GB Notification: Performance of simCode: created initialization part: time 0.0138/11.13, allocations: 7.112 MB / 4.075 GB, free: 99.92 MB / 0.5733 GB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/11.13, allocations: 2.734 kB / 4.075 GB, free: 99.92 MB / 0.5733 GB Notification: Performance of simCode: created simulation system equations: time 0.004573/11.14, allocations: 2.666 MB / 4.077 GB, free: 98.8 MB / 0.5733 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003121/11.14, allocations: 0.4993 MB / 4.078 GB, free: 98.73 MB / 0.5733 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.014/11.16, allocations: 5.804 MB / 4.083 GB, free: 96.85 MB / 0.5733 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001238/11.16, allocations: 1.716 MB / 4.085 GB, free: 96.01 MB / 0.5733 GB Notification: Performance of simCode: alias equations: time 0.002436/11.16, allocations: 0.6704 MB / 4.086 GB, free: 95.99 MB / 0.5733 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001285/11.16, allocations: 0.7919 MB / 4.086 GB, free: 95.38 MB / 0.5733 GB Notification: Performance of SimCode: time 1.242e-06/11.16, allocations: 0 / 4.086 GB, free: 95.38 MB / 0.5733 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5811/11.74, allocations: 140.9 MB / 4.224 GB, free: 107.8 MB / 0.5733 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001842/11.74, allocations: 159.1 kB / 4.224 GB, free: 107.6 MB / 0.5733 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.252/17.99, allocations: 3.906 kB / 4.224 GB, free: 107.6 MB / 0.5733 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_DB_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_DB.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB.pipe 2>&1)