Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.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_AdaptiveAverageTemp,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_AdaptiveAverageTemp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_AdaptiveAverageTemp",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.002154/0.002154, allocations: 181.7 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.795/1.795, 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.001008/0.001008, allocations: 95.11 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.5511/0.5511, allocations: 48.77 MB / 367.9 MB, free: 47.44 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004521/0.000452, allocations: 8 kB / 438.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1474, allocations: 60.25 MB / 499 MB, free: 14.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.41/6.557, allocations: 2.966 GB / 3.454 GB, free: 56.86 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/6.558, allocations: 81.33 kB / 3.454 GB, free: 56.78 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.219/7.777, allocations: 365.7 MB / 3.811 GB, free: 57.14 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.084e-06/7.777, allocations: 3.938 kB / 3.811 GB, free: 57.14 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.29e-05/7.777, allocations: 23.84 kB / 3.811 GB, free: 57.14 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.008409/7.785, allocations: 1.829 MB / 3.813 GB, free: 56.12 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/7.785, allocations: 15.36 kB / 3.813 GB, free: 56.12 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002602/7.786, allocations: 130 kB / 3.813 GB, free: 56.04 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001722/7.787, allocations: 246.2 kB / 3.813 GB, free: 55.96 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002105/7.789, allocations: 0.7099 MB / 3.814 GB, free: 55.55 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.061e-05/7.79, allocations: 62.59 kB / 3.814 GB, free: 55.53 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001956/7.79, allocations: 89.72 kB / 3.814 GB, free: 55.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006083/7.796, allocations: 2.031 MB / 3.816 GB, free: 54.71 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/7.796, allocations: 0 / 3.816 GB, free: 54.71 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/7.796, allocations: 33.78 kB / 3.816 GB, free: 54.69 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.304e-05/7.796, allocations: 40.09 kB / 3.816 GB, free: 54.68 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005294/7.801, allocations: 1.947 MB / 3.818 GB, free: 54.07 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.005484/7.807, allocations: 4.631 MB / 3.822 GB, free: 50.75 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003037/7.81, allocations: 1.324 MB / 3.824 GB, free: 50.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1295/7.939, allocations: 79.76 MB / 3.901 GB, free: 7.848 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.676e-05/7.94, allocations: 43.25 kB / 3.901 GB, free: 7.797 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=72): time 2.896e-06/7.94, allocations: 0 / 3.901 GB, free: 7.797 MB / 0.5261 GB Notification: Performance of matching and sorting (n=72): time 0.008287/7.948, allocations: 2.536 MB / 3.904 GB, free: 5.234 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/7.948, allocations: 56.06 kB / 3.904 GB, free: 5.168 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007443/7.949, allocations: 482.2 kB / 3.904 GB, free: 4.691 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001615/7.949, allocations: 41.7 kB / 3.905 GB, free: 4.645 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002176/7.949, allocations: 371.2 kB / 3.905 GB, free: 4.277 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000259/7.949, allocations: 243.5 kB / 3.905 GB, free: 4.039 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.554e-05/7.949, allocations: 16 kB / 3.905 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001691/7.95, allocations: 382.8 kB / 3.905 GB, free: 3.641 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008973/7.951, allocations: 0.5602 MB / 3.906 GB, free: 3.082 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009247/7.952, allocations: 0.7078 MB / 3.907 GB, free: 2.32 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/7.953, allocations: 0.6113 MB / 3.907 GB, free: 1.711 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/7.953, allocations: 0 / 3.907 GB, free: 1.711 MB / 0.5261 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.2453/8.198, allocations: 2.046 MB / 3.909 GB, free: 78.18 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002303/8.198, allocations: 0.8778 MB / 3.91 GB, free: 77.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/8.198, allocations: 2.844 kB / 3.91 GB, free: 77.28 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004791/8.203, allocations: 1.652 MB / 3.912 GB, free: 77.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005423/8.204, allocations: 89.16 kB / 3.912 GB, free: 77.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004152/8.208, allocations: 2.28 MB / 3.914 GB, free: 76.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/8.209, allocations: 140 kB / 3.914 GB, free: 76.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002163/8.209, allocations: 78.45 kB / 3.914 GB, free: 76.73 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/8.209, allocations: 7.719 kB / 3.914 GB, free: 76.73 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00414/8.213, allocations: 1.941 MB / 3.916 GB, free: 76.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/8.213, allocations: 3.062 kB / 3.916 GB, free: 76.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003783/8.217, allocations: 1.649 MB / 3.918 GB, free: 76.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003568/8.218, allocations: 84.53 kB / 3.918 GB, free: 76.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003181/8.221, allocations: 2.289 MB / 3.92 GB, free: 76.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/8.222, allocations: 130.5 kB / 3.92 GB, free: 76.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001628/8.222, allocations: 79.53 kB / 3.92 GB, free: 76.18 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (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 (45): * Single equations (assignments): 44 * 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 {4 41} Notification: Performance of prepare postOptimizeDAE: time 0.0007921/8.223, allocations: 348.7 kB / 3.921 GB, free: 75.99 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003156/8.223, allocations: 80.52 kB / 3.921 GB, free: 75.98 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008505/8.232, allocations: 8.56 MB / 3.929 GB, free: 75.79 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.47e-05/8.232, allocations: 28.61 kB / 3.929 GB, free: 75.79 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/8.232, allocations: 5.906 kB / 3.929 GB, free: 75.79 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/8.232, allocations: 3.797 kB / 3.929 GB, free: 75.79 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003245/8.235, allocations: 4.006 MB / 3.933 GB, free: 74.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/8.235, allocations: 1.188 kB / 3.933 GB, free: 74.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009923/8.236, allocations: 177.9 kB / 3.933 GB, free: 74.79 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001081/8.237, allocations: 296.5 kB / 3.934 GB, free: 74.78 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.937e-05/8.237, allocations: 25.91 kB / 3.934 GB, free: 74.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002785/8.24, allocations: 2.504 MB / 3.936 GB, free: 73.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/8.24, allocations: 0 / 3.936 GB, free: 73.51 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004109/8.244, allocations: 2.662 MB / 3.939 GB, free: 73.21 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007182/8.245, allocations: 275.4 kB / 3.939 GB, free: 73.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002082/8.245, allocations: 21.97 kB / 3.939 GB, free: 73.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/8.246, allocations: 80.23 kB / 3.939 GB, free: 73.07 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/8.247, allocations: 61.88 kB / 3.939 GB, free: 73.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-05/8.247, allocations: 28.41 kB / 3.939 GB, free: 73.07 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005914/8.247, allocations: 382.8 kB / 3.939 GB, free: 72.98 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.81e-07/8.247, allocations: 3.281 kB / 3.939 GB, free: 72.98 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007578/8.255, allocations: 1.438 MB / 3.941 GB, free: 72.95 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3]) * Number of discrete variables: 12 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {(4,81.2%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0133/8.268, allocations: 4.658 MB / 3.945 GB, free: 72.09 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004787/8.273, allocations: 2.348 MB / 3.948 GB, free: 72.06 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/8.273, allocations: 0 / 3.948 GB, free: 72.06 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00156/8.275, allocations: 1.002 MB / 3.949 GB, free: 71.93 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001861/8.276, allocations: 354.9 kB / 3.949 GB, free: 71.93 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01694/8.293, allocations: 9.221 MB / 3.958 GB, free: 68.83 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007912/8.294, allocations: 1.145 MB / 3.959 GB, free: 68.12 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001034/8.295, allocations: 320.2 kB / 3.959 GB, free: 68.12 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006184/8.296, allocations: 392.8 kB / 3.96 GB, free: 68.11 MB / 0.5261 GB Notification: Performance of SimCode: time 8.226e-06/8.296, allocations: 0 / 3.96 GB, free: 68.11 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1115/8.407, allocations: 74.79 MB / 4.033 GB, free: 63.91 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001673/8.408, allocations: 248.6 kB / 4.033 GB, free: 63.58 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.997/12.4, allocations: 0 / 4.033 GB, free: 63.58 MB / 0.5261 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_AdaptiveAverageTemp_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_AdaptiveAverageTemp.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.pipe 2>&1)