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.001912/0.001912, allocations: 177.1 kB / 13.64 MB, free: 1.676 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.896/1.896, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001113/0.001113, allocations: 89.92 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3808/0.3808, allocations: 48.77 MB / 364.3 MB, free: 6.875 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.891e-05/3.92e-05, allocations: 4 kB / 432.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1418, allocations: 60.25 MB / 492.8 MB, free: 4.281 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.776/8.918, allocations: 2.966 GB / 3.447 GB, free: 113.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003369/8.919, allocations: 84.09 kB / 3.447 GB, free: 113.6 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.595/10.51, allocations: 380.1 MB / 3.819 GB, free: 55.52 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.343e-06/10.51, allocations: 0 / 3.819 GB, free: 55.52 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.265e-05/10.51, allocations: 39.81 kB / 3.819 GB, free: 55.52 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: 505 * Number of variables: 505 Notification: Performance of Generate backend data structure: time 0.0114/10.52, allocations: 2.832 MB / 3.821 GB, free: 54.68 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/10.52, allocations: 10.44 kB / 3.821 GB, free: 54.68 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007842/10.53, allocations: 292.1 kB / 3.822 GB, free: 54.64 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003364/10.53, allocations: 0.58 MB / 3.822 GB, free: 54.54 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003733/10.53, allocations: 1.304 MB / 3.823 GB, free: 54.23 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001435/10.53, allocations: 147.8 kB / 3.824 GB, free: 54.23 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004941/10.53, allocations: 202.9 kB / 3.824 GB, free: 54.22 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01432/10.55, allocations: 5.23 MB / 3.829 GB, free: 54.01 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.557e-05/10.55, allocations: 4.281 kB / 3.829 GB, free: 54.01 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002505/10.55, allocations: 81.08 kB / 3.829 GB, free: 54.01 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001222/10.55, allocations: 95.52 kB / 3.829 GB, free: 54 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0128/10.56, allocations: 5.793 MB / 3.835 GB, free: 53.99 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.01382/10.57, allocations: 11.85 MB / 3.846 GB, free: 48.63 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009875/10.58, allocations: 4.378 MB / 3.851 GB, free: 48.55 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001865/10.59, allocations: 1.454 MB / 3.852 GB, free: 48.54 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2054/10.79, allocations: 112.8 MB / 3.962 GB, free: 25.21 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.88e-05/10.79, allocations: 56.44 kB / 3.962 GB, free: 25.17 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=244): time 4.468e-06/10.79, allocations: 0 / 3.962 GB, free: 25.17 MB / 0.5573 GB Notification: Performance of matching and sorting (n=244): time 0.01816/10.81, allocations: 6.069 MB / 3.968 GB, free: 24.98 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/10.81, allocations: 76.72 kB / 3.968 GB, free: 24.91 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008001/10.81, allocations: 496.7 kB / 3.969 GB, free: 24.79 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005058/10.81, allocations: 65.33 kB / 3.969 GB, free: 24.76 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003049/10.81, allocations: 0.5128 MB / 3.969 GB, free: 24.49 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008946/10.81, allocations: 0.8359 MB / 3.97 GB, free: 23.95 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002341/10.81, allocations: 44.38 kB / 3.97 GB, free: 23.95 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002621/10.81, allocations: 434.9 kB / 3.971 GB, free: 23.64 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00268/10.82, allocations: 1.815 MB / 3.972 GB, free: 23.62 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00263/10.82, allocations: 2.078 MB / 3.974 GB, free: 23.41 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002802/10.82, allocations: 1.977 MB / 3.976 GB, free: 23.35 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.769e-06/10.82, allocations: 4.812 kB / 3.976 GB, free: 23.35 MB / 0.5573 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.0105/10.83, allocations: 6.432 MB / 3.983 GB, free: 21.93 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006664/10.83, allocations: 1.407 MB / 3.984 GB, free: 20.44 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/10.83, allocations: 4 kB / 3.984 GB, free: 20.44 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0476/10.88, allocations: 8.929 MB / 3.993 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006128/10.88, allocations: 118.5 kB / 3.993 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01266/10.89, allocations: 7.495 MB / 4 GB, free: 10.53 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002993/10.9, allocations: 319.1 kB / 4 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004167/10.9, allocations: 209 kB / 4.001 GB, free: 10.19 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/10.9, allocations: 4 kB / 4.001 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01002/10.91, allocations: 6.277 MB / 4.007 GB, free: 4.754 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-05/10.91, allocations: 7.953 kB / 4.007 GB, free: 4.746 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4599/11.37, allocations: 9.582 MB / 4.016 GB, free: 99.72 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006774/11.37, allocations: 108.1 kB / 4.016 GB, free: 99.72 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01479/11.38, allocations: 7.486 MB / 4.024 GB, free: 99.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002875/11.39, allocations: 301.3 kB / 4.024 GB, free: 99.14 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004745/11.39, allocations: 210 kB / 4.024 GB, free: 99.14 MB / 0.5573 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.0008231/11.39, allocations: 217 kB / 4.024 GB, free: 99.04 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004976/11.39, allocations: 128.5 kB / 4.024 GB, free: 99.02 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02868/11.42, allocations: 22.68 MB / 4.047 GB, free: 98.62 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-05/11.42, allocations: 61.62 kB / 4.047 GB, free: 98.62 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-05/11.42, allocations: 3.281 kB / 4.047 GB, free: 98.62 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.985e-05/11.42, allocations: 18.44 kB / 4.047 GB, free: 98.62 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01045/11.43, allocations: 9.924 MB / 4.056 GB, free: 96.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.7e-05/11.43, allocations: 0 / 4.056 GB, free: 96.43 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003244/11.43, allocations: 0.5054 MB / 4.057 GB, free: 96.43 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003642/11.43, allocations: 0.9742 MB / 4.058 GB, free: 96.41 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008193/11.44, allocations: 84.88 kB / 4.058 GB, free: 96.41 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008182/11.44, allocations: 5.668 MB / 4.063 GB, free: 95.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/11.44, allocations: 2.625 kB / 4.063 GB, free: 95.07 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01239/11.46, allocations: 7.768 MB / 4.071 GB, free: 94.55 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001751/11.46, allocations: 0.6275 MB / 4.072 GB, free: 94.35 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003741/11.46, allocations: 60.28 kB / 4.072 GB, free: 94.35 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00202/11.46, allocations: 169.9 kB / 4.072 GB, free: 94.34 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005079/11.46, allocations: 179.3 kB / 4.072 GB, free: 94.33 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002155/11.46, allocations: 83.73 kB / 4.072 GB, free: 94.33 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000531/11.46, allocations: 383.9 kB / 4.072 GB, free: 94.24 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.4e-07/11.46, allocations: 0 / 4.072 GB, free: 94.24 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01032/11.47, allocations: 2.225 MB / 4.075 GB, free: 94.07 MB / 0.5573 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.02114/11.49, allocations: 9.852 MB / 4.084 GB, free: 91.06 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01525/11.51, allocations: 7.32 MB / 4.091 GB, free: 88.49 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/11.51, allocations: 0 / 4.091 GB, free: 88.49 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0053/11.51, allocations: 2.735 MB / 4.094 GB, free: 87.35 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003846/11.52, allocations: 0.6407 MB / 4.095 GB, free: 87.21 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01737/11.53, allocations: 6.01 MB / 4.101 GB, free: 85.18 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001329/11.54, allocations: 1.72 MB / 4.102 GB, free: 84.35 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002574/11.54, allocations: 0.6946 MB / 4.103 GB, free: 84.32 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001388/11.54, allocations: 0.7841 MB / 4.104 GB, free: 83.72 MB / 0.5573 GB Notification: Performance of SimCode: time 1.503e-06/11.54, allocations: 0 / 4.104 GB, free: 83.72 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6061/12.15, allocations: 153.8 MB / 4.254 GB, free: 95.82 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002364/12.15, allocations: 205.7 kB / 4.254 GB, free: 95.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.727/18.87, allocations: 0 / 4.254 GB, free: 95.6 MB / 0.5573 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)