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.001055/0.001055, 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.595/1.595, 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.0009938/0.0009937, allocations: 81.81 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5209/0.5209, allocations: 48.78 MB / 358.8 MB, free: 53.13 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.273e-05/2.275e-05, allocations: 7.984 kB / 425.4 MB, free: 8.137 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1429, allocations: 60.26 MB / 485.6 MB, free: 11.73 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.951/7.094, allocations: 2.965 GB / 3.44 GB, free: 99.25 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/7.094, allocations: 78.03 kB / 3.44 GB, free: 99.19 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.274/8.368, allocations: 360.6 MB / 3.792 GB, free: 56.45 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.583e-06/8.368, allocations: 0 / 3.792 GB, free: 56.45 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 6.293e-05/8.368, allocations: 22.02 kB / 3.792 GB, free: 56.45 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.00707/8.376, allocations: 1.743 MB / 3.794 GB, free: 55.7 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/8.376, allocations: 9.375 kB / 3.794 GB, free: 55.7 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001369/8.377, allocations: 250.4 kB / 3.794 GB, free: 55.65 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001752/8.379, allocations: 0.708 MB / 3.795 GB, free: 55.38 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.385e-05/8.379, allocations: 29.94 kB / 3.795 GB, free: 55.38 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/8.379, allocations: 52.94 kB / 3.795 GB, free: 55.38 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001782/8.381, allocations: 1.013 MB / 3.796 GB, free: 55.38 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/8.382, allocations: 1.035 MB / 3.797 GB, free: 55.2 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/8.382, allocations: 1.5 kB / 3.797 GB, free: 55.2 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.839e-05/8.382, allocations: 4.812 kB / 3.797 GB, free: 55.2 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-05/8.383, allocations: 36.78 kB / 3.797 GB, free: 55.2 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.005381/8.388, allocations: 4.444 MB / 3.801 GB, free: 52.71 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/8.389, allocations: 0.8142 MB / 3.802 GB, free: 52.68 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005068/8.39, allocations: 368 kB / 3.802 GB, free: 52.67 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1473/8.537, allocations: 80.05 MB / 3.88 GB, free: 34.41 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.168e-05/8.537, allocations: 41.31 kB / 3.88 GB, free: 34.37 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=72): time 3.126e-06/8.537, allocations: 0 / 3.88 GB, free: 34.37 MB / 0.5421 GB Notification: Performance of matching and sorting (n=72): time 0.00463/8.542, allocations: 1.543 MB / 3.882 GB, free: 34.27 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/8.542, allocations: 59.97 kB / 3.882 GB, free: 34.2 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000481/8.542, allocations: 358 kB / 3.882 GB, free: 34.09 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0001191/8.542, allocations: 25.7 kB / 3.882 GB, free: 34.06 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/8.543, allocations: 363.6 kB / 3.883 GB, free: 33.86 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002339/8.543, allocations: 247.7 kB / 3.883 GB, free: 33.7 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.891e-05/8.543, allocations: 1.781 kB / 3.883 GB, free: 33.7 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001562/8.543, allocations: 371 kB / 3.883 GB, free: 33.39 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006442/8.544, allocations: 0.5266 MB / 3.884 GB, free: 33.39 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000695/8.544, allocations: 0.6562 MB / 3.884 GB, free: 33.24 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002502/8.547, allocations: 0.6987 MB / 3.885 GB, free: 33.23 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/8.547, allocations: 0 / 3.885 GB, free: 33.23 MB / 0.5421 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.004938/8.552, allocations: 2.056 MB / 3.887 GB, free: 33.12 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003373/8.552, allocations: 0.8704 MB / 3.888 GB, free: 32.21 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/8.552, allocations: 3.312 kB / 3.888 GB, free: 32.21 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003256/8.556, allocations: 1.543 MB / 3.89 GB, free: 32.14 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004521/8.556, allocations: 93.94 kB / 3.89 GB, free: 32.14 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004564/8.561, allocations: 2.521 MB / 3.892 GB, free: 31.59 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/8.562, allocations: 113.7 kB / 3.892 GB, free: 31.56 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/8.562, allocations: 79.95 kB / 3.892 GB, free: 31.56 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/8.562, allocations: 3.625 kB / 3.892 GB, free: 31.56 MB / 0.5421 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00448/8.566, allocations: 1.928 MB / 3.894 GB, free: 31.52 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/8.566, allocations: 3.688 kB / 3.894 GB, free: 31.52 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003143/8.57, allocations: 1.545 MB / 3.896 GB, free: 31.45 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003613/8.57, allocations: 87.28 kB / 3.896 GB, free: 31.45 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004623/8.575, allocations: 2.527 MB / 3.898 GB, free: 30.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/8.576, allocations: 107 kB / 3.898 GB, free: 30.87 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/8.576, allocations: 75.42 kB / 3.898 GB, free: 30.87 MB / 0.5421 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 () * 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.0003621/8.576, allocations: 125.7 kB / 3.898 GB, free: 30.76 MB / 0.5421 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004206/8.581, allocations: 1.563 MB / 3.9 GB, free: 30.66 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001827/8.581, allocations: 70.16 kB / 3.9 GB, free: 30.63 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007618/8.588, allocations: 8.774 MB / 3.909 GB, free: 28.31 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.372e-05/8.588, allocations: 21.92 kB / 3.909 GB, free: 28.3 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/8.588, allocations: 3.781 kB / 3.909 GB, free: 28.3 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/8.589, allocations: 3.75 kB / 3.909 GB, free: 28.3 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003286/8.592, allocations: 3.864 MB / 3.912 GB, free: 25.96 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.313e-06/8.592, allocations: 0 / 3.912 GB, free: 25.96 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009792/8.593, allocations: 176.5 kB / 3.913 GB, free: 25.94 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001068/8.594, allocations: 293.7 kB / 3.913 GB, free: 25.88 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.671e-05/8.594, allocations: 17.47 kB / 3.913 GB, free: 25.88 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002853/8.597, allocations: 2.348 MB / 3.915 GB, free: 24.26 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/8.597, allocations: 3.719 kB / 3.915 GB, free: 24.26 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003458/8.6, allocations: 2.539 MB / 3.918 GB, free: 23.1 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004798/8.601, allocations: 274.2 kB / 3.918 GB, free: 22.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/8.601, allocations: 2.812 kB / 3.918 GB, free: 22.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007259/8.602, allocations: 74.39 kB / 3.918 GB, free: 22.89 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/8.602, allocations: 59.75 kB / 3.918 GB, free: 22.88 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.158e-05/8.602, allocations: 24.94 kB / 3.918 GB, free: 22.88 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.000293/8.602, allocations: 274.4 kB / 3.918 GB, free: 22.73 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.6e-07/8.602, allocations: 0 / 3.918 GB, free: 22.73 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.005312/8.608, allocations: 1.404 MB / 3.92 GB, free: 22.46 MB / 0.5421 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 () * 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.01148/8.619, allocations: 4.675 MB / 3.924 GB, free: 19.18 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.003992/8.623, allocations: 2.233 MB / 3.926 GB, free: 17.24 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/8.623, allocations: 0 / 3.926 GB, free: 17.24 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.001422/8.625, allocations: 0.9361 MB / 3.927 GB, free: 16.39 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/8.626, allocations: 251.9 kB / 3.928 GB, free: 16.21 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006726/8.633, allocations: 2.494 MB / 3.93 GB, free: 14.02 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009926/8.634, allocations: 1.138 MB / 3.931 GB, free: 29 MB / 0.5577 GB Notification: Performance of simCode: alias equations: time 0.0009461/8.635, allocations: 335.5 kB / 3.932 GB, free: 28.8 MB / 0.5577 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004845/8.635, allocations: 392.4 kB / 3.932 GB, free: 28.46 MB / 0.5577 GB Notification: Performance of SimCode: time 7.02e-07/8.635, allocations: 0 / 3.932 GB, free: 28.46 MB / 0.5577 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3833/9.019, allocations: 66.03 MB / 3.996 GB, free: 95.07 MB / 0.5577 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00014/9.019, allocations: 180.3 kB / 3.997 GB, free: 94.88 MB / 0.5577 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.926/12.95, allocations: 3.344 kB / 3.997 GB, free: 94.88 MB / 0.5577 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)