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.001194/0.001194, allocations: 179.5 kB / 16.39 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.746/1.746, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.0009198/0.00092, allocations: 95.8 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.607/0.607, allocations: 48.78 MB / 367.9 MB, free: 47.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003516, allocations: 12 kB / 438.7 MB, free: 10.87 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1612, allocations: 60.23 MB / 499 MB, free: 14.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.067/8.228, allocations: 2.966 GB / 3.453 GB, free: 57.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/8.229, allocations: 87.95 kB / 3.453 GB, free: 57.11 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.539/9.768, allocations: 381.3 MB / 3.826 GB, free: 59.6 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.224e-06/9.768, allocations: 0 / 3.826 GB, free: 59.6 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.332e-05/9.768, allocations: 37.53 kB / 3.826 GB, free: 59.6 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.01423/9.782, allocations: 2.948 MB / 3.829 GB, free: 58.26 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.157e-05/9.782, allocations: 7.438 kB / 3.829 GB, free: 58.26 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009528/9.783, allocations: 286.7 kB / 3.829 GB, free: 58.09 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003388/9.786, allocations: 0.5831 MB / 3.83 GB, free: 57.91 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003743/9.79, allocations: 1.303 MB / 3.831 GB, free: 57.28 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/9.79, allocations: 142.7 kB / 3.831 GB, free: 57.22 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003796/9.791, allocations: 213.5 kB / 3.831 GB, free: 57.14 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01244/9.803, allocations: 5.182 MB / 3.836 GB, free: 55.28 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.422e-05/9.803, allocations: 0 / 3.836 GB, free: 55.28 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002533/9.804, allocations: 79.12 kB / 3.836 GB, free: 55.22 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001087/9.804, allocations: 95.45 kB / 3.836 GB, free: 55.21 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01402/9.818, allocations: 5.775 MB / 3.842 GB, free: 53.33 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.01824/9.836, allocations: 11.88 MB / 3.854 GB, free: 45.37 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01123/9.847, allocations: 4.335 MB / 3.858 GB, free: 43.84 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6618/10.51, allocations: 112.4 MB / 3.968 GB, free: 45.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.994e-05/10.51, allocations: 55.47 kB / 3.968 GB, free: 45.46 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=244): time 4.728e-06/10.51, allocations: 0 / 3.968 GB, free: 45.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=244): time 0.0261/10.54, allocations: 7.876 MB / 3.975 GB, free: 45.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.153e-05/10.54, allocations: 77.34 kB / 3.975 GB, free: 45.14 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/10.54, allocations: 0.4911 MB / 3.976 GB, free: 45.03 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007144/10.54, allocations: 67.67 kB / 3.976 GB, free: 45 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005214/10.54, allocations: 0.5153 MB / 3.977 GB, free: 44.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001378/10.54, allocations: 0.8341 MB / 3.977 GB, free: 44.37 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002621/10.54, allocations: 41.41 kB / 3.977 GB, free: 44.37 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003263/10.54, allocations: 444.8 kB / 3.978 GB, free: 44.05 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003435/10.54, allocations: 1.852 MB / 3.98 GB, free: 44.04 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004587/10.55, allocations: 2.121 MB / 3.982 GB, free: 43.82 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004507/10.55, allocations: 2.011 MB / 3.984 GB, free: 43.78 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.031e-05/10.55, allocations: 5.25 kB / 3.984 GB, free: 43.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01704/10.57, allocations: 6.536 MB / 3.99 GB, free: 43.57 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005045/10.57, allocations: 1.405 MB / 3.991 GB, free: 42.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.696e-05/10.57, allocations: 7.719 kB / 3.991 GB, free: 42.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05211/10.62, allocations: 9.143 MB / 4 GB, free: 41.72 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006954/10.62, allocations: 114.1 kB / 4 GB, free: 41.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01673/10.64, allocations: 7.538 MB / 4.008 GB, free: 41.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003362/10.64, allocations: 332.5 kB / 4.008 GB, free: 41.03 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008699/10.64, allocations: 209.5 kB / 4.008 GB, free: 41.03 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/10.64, allocations: 5.812 kB / 4.008 GB, free: 41.03 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01294/10.66, allocations: 6.381 MB / 4.015 GB, free: 40.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.65e-05/10.66, allocations: 3.281 kB / 4.015 GB, free: 40.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05014/10.71, allocations: 9.141 MB / 4.023 GB, free: 40.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006055/10.71, allocations: 111.5 kB / 4.024 GB, free: 40.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01932/10.73, allocations: 7.545 MB / 4.031 GB, free: 39.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003796/10.73, allocations: 295.6 kB / 4.031 GB, free: 39.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001044/10.73, allocations: 210.4 kB / 4.031 GB, free: 38.99 MB / 0.5261 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 () * Number of clocked 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.002677/10.74, allocations: 0.6168 MB / 4.032 GB, free: 38.62 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009741/10.74, allocations: 128.6 kB / 4.032 GB, free: 38.55 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02843/10.76, allocations: 22 MB / 4.054 GB, free: 29.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.64e-05/10.76, allocations: 66.78 kB / 4.054 GB, free: 29.19 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-05/10.76, allocations: 3.781 kB / 4.054 GB, free: 29.19 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.98e-05/10.76, allocations: 11.16 kB / 4.054 GB, free: 29.19 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01035/10.78, allocations: 9.929 MB / 4.063 GB, free: 23.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.248e-05/10.78, allocations: 0 / 4.063 GB, free: 23.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003565/10.78, allocations: 0.5002 MB / 4.064 GB, free: 23.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003919/10.78, allocations: 0.9776 MB / 4.065 GB, free: 22.54 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001089/10.78, allocations: 85.28 kB / 4.065 GB, free: 22.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008598/10.79, allocations: 5.941 MB / 4.071 GB, free: 17.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/10.79, allocations: 0.75 kB / 4.071 GB, free: 17.34 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01477/10.81, allocations: 7.857 MB / 4.078 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002/10.81, allocations: 0.6331 MB / 4.079 GB, free: 9.863 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007287/10.81, allocations: 50.36 kB / 4.079 GB, free: 9.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00251/10.81, allocations: 173.4 kB / 4.079 GB, free: 9.688 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007442/10.81, allocations: 174.7 kB / 4.079 GB, free: 9.586 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004241/10.81, allocations: 88.31 kB / 4.08 GB, free: 9.516 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005901/10.81, allocations: 393.7 kB / 4.08 GB, free: 9.188 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.8e-07/10.81, allocations: 0 / 4.08 GB, free: 9.188 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01062/10.83, allocations: 2.231 MB / 4.082 GB, free: 7.105 MB / 0.5261 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 () * Number of clocked 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.02573/10.85, allocations: 10.03 MB / 4.092 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01871/10.87, allocations: 7.412 MB / 4.099 GB, free: 8.586 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/10.87, allocations: 0.8125 kB / 4.099 GB, free: 8.586 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.006882/10.88, allocations: 2.79 MB / 4.102 GB, free: 6.141 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003964/10.88, allocations: 0.6335 MB / 4.102 GB, free: 5.699 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04586/10.93, allocations: 21.03 MB / 4.123 GB, free: 2.988 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00248/10.93, allocations: 1.717 MB / 4.125 GB, free: 1.562 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.003235/10.93, allocations: 0.6604 MB / 4.125 GB, free: 1.113 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00172/10.93, allocations: 0.7905 MB / 4.126 GB, free: 412 kB / 0.5573 GB Notification: Performance of SimCode: time 3.617e-06/10.93, allocations: 4 kB / 4.126 GB, free: 408 kB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5835/11.52, allocations: 149.8 MB / 4.272 GB, free: 60.39 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001637/11.52, allocations: 233.5 kB / 4.273 GB, free: 60.14 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.79/18.31, allocations: 1.594 kB / 4.273 GB, free: 60.14 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)