Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B.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.TestWaterFlow1DFV2ph_B,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_B",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_B",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.001608/0.001608, allocations: 180.5 kB / 16.38 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.734/1.734, 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.0009311/0.0009311, allocations: 85.72 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.5595/0.5595, allocations: 48.77 MB / 367.9 MB, free: 47.42 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 0.0005068/0.0005069, allocations: 12 kB / 438.7 MB, free: 10.88 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1806, allocations: 60.24 MB / 499 MB, free: 14.51 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.341/7.521, allocations: 2.979 GB / 3.467 GB, free: 121.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/7.522, allocations: 81.59 kB / 3.467 GB, free: 121.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.9336/8.455, allocations: 301.1 MB / 3.761 GB, free: 70.72 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.515e-06/8.455, allocations: 0 / 3.761 GB, free: 70.72 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.145e-05/8.455, allocations: 32 kB / 3.761 GB, free: 70.69 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: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.02707/8.482, allocations: 5.904 MB / 3.767 GB, free: 64.96 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/8.482, allocations: 8.031 kB / 3.767 GB, free: 64.95 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003352/8.486, allocations: 300.9 kB / 3.767 GB, free: 64.79 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00558/8.491, allocations: 0.552 MB / 3.767 GB, free: 64.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006835/8.498, allocations: 1.758 MB / 3.769 GB, free: 62.91 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003859/8.502, allocations: 1.064 MB / 3.77 GB, free: 61.91 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002727/8.505, allocations: 181.6 kB / 3.77 GB, free: 61.79 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03594/8.541, allocations: 12.4 MB / 3.782 GB, free: 52.22 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.496e-05/8.541, allocations: 0 / 3.782 GB, free: 52.22 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002263/8.543, allocations: 70.97 kB / 3.782 GB, free: 52.21 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.105e-05/8.543, allocations: 90.41 kB / 3.783 GB, free: 52.12 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05343/8.597, allocations: 20.91 MB / 3.803 GB, free: 35.41 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.3278/8.925, allocations: 33.67 MB / 3.836 GB, free: 73.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02648/8.951, allocations: 10.11 MB / 3.846 GB, free: 73.27 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1345/9.086, allocations: 75.5 MB / 3.919 GB, free: 29.44 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.692e-05/9.086, allocations: 55.25 kB / 3.92 GB, free: 29.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=192): time 3.997e-06/9.086, allocations: 0 / 3.92 GB, free: 29.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=193): time 0.1247/9.211, allocations: 41.25 MB / 3.96 GB, free: 27.64 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/9.211, allocations: 76.25 kB / 3.96 GB, free: 27.58 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006755/9.211, allocations: 455.4 kB / 3.96 GB, free: 27.46 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.002334/9.214, allocations: 61.2 kB / 3.96 GB, free: 27.43 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003249/9.214, allocations: 0.5114 MB / 3.961 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002557/9.217, allocations: 0.6681 MB / 3.962 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0018/9.218, allocations: 35.12 kB / 3.962 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002146/9.219, allocations: 417.8 kB / 3.962 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01902/9.238, allocations: 8.299 MB / 3.97 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01923/9.257, allocations: 8.539 MB / 3.978 GB, free: 19.52 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01795/9.275, allocations: 7.133 MB / 3.985 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.4e-05/9.275, allocations: 4.562 kB / 3.985 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.1497/9.425, allocations: 40.79 MB / 4.025 GB, free: 388 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006196/9.425, allocations: 1.318 MB / 4.026 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/9.425, allocations: 6.625 kB / 4.027 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4319/9.857, allocations: 57.51 MB / 4.083 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00177/9.859, allocations: 315.4 kB / 4.083 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07021/9.929, allocations: 24.25 MB / 4.107 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01188/9.941, allocations: 2.001 MB / 4.109 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002647/9.944, allocations: 314.8 kB / 4.109 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/9.944, allocations: 7.406 kB / 4.109 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1152/10.06, allocations: 38.5 MB / 4.147 GB, free: 98.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.599e-05/10.06, allocations: 5.188 kB / 4.147 GB, free: 98.02 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1507/10.21, allocations: 57.52 MB / 4.203 GB, free: 51.55 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/10.21, allocations: 299.6 kB / 4.203 GB, free: 51.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06296/10.27, allocations: 24.25 MB / 4.227 GB, free: 27 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01176/10.29, allocations: 1.993 MB / 4.229 GB, free: 25.02 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002828/10.29, allocations: 307.4 kB / 4.229 GB, free: 24.71 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 10 (hex.fluidState[10].phase,hex.fluidState[9].phase,hex.fluidState[8].phase,hex.fluidState[7].phase,hex.fluidState[6].phase,hex.fluidState[5].phase,hex.fluidState[4].phase,hex.fluidState[3].phase,hex.fluidState[2].phase,hex.fluidState[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 120 * 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 89} Notification: Performance of prepare postOptimizeDAE: time 0.00489/10.29, allocations: 0.5645 MB / 4.229 GB, free: 24.16 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00209/10.3, allocations: 114.7 kB / 4.23 GB, free: 24.1 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3195/10.62, allocations: 34.61 MB / 4.263 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05673/10.67, allocations: 32.98 MB / 4.296 GB, free: 98.53 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.541e-05/10.67, allocations: 6.25 kB / 4.296 GB, free: 98.53 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.976e-05/10.67, allocations: 10.55 kB / 4.296 GB, free: 98.53 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08081/10.75, allocations: 54.28 MB / 4.349 GB, free: 72.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.781e-05/10.75, allocations: 7.219 kB / 4.349 GB, free: 72.77 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0128/10.77, allocations: 2.458 MB / 4.351 GB, free: 72.72 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004493/10.77, allocations: 1.141 MB / 4.352 GB, free: 72.57 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002385/10.77, allocations: 206.2 kB / 4.352 GB, free: 72.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008858/10.78, allocations: 6.34 MB / 4.358 GB, free: 69.53 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.167e-06/10.78, allocations: 7.812 kB / 4.358 GB, free: 69.53 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06282/10.85, allocations: 25.84 MB / 4.384 GB, free: 52.32 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004749/10.85, allocations: 1.225 MB / 4.385 GB, free: 51.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002504/10.85, allocations: 51.94 kB / 4.385 GB, free: 51.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0115/10.86, allocations: 1.962 MB / 4.387 GB, free: 50.05 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00258/10.87, allocations: 324.5 kB / 4.387 GB, free: 49.96 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002481/10.87, allocations: 204.5 kB / 4.387 GB, free: 49.87 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004932/10.87, allocations: 349.9 kB / 4.388 GB, free: 49.57 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.81e-07/10.87, allocations: 3.312 kB / 4.388 GB, free: 49.57 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01505/10.88, allocations: 2.631 MB / 4.39 GB, free: 47.09 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 11 (Mbal,hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4],hex.htilde[5],hex.htilde[6],hex.htilde[7],hex.htilde[8],hex.htilde[9]) * Number of discrete variables: 22 ($cse2.phase,$cse2.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,$cse12.region3boundary,$cse13.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * 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.07497/10.96, allocations: 28.89 MB / 4.419 GB, free: 23.35 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.3049/11.26, allocations: 28.25 MB / 4.446 GB, free: 104.1 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.406e-05/11.26, allocations: 1.188 kB / 4.446 GB, free: 104.1 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.02181/11.29, allocations: 9.453 MB / 4.455 GB, free: 104 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00358/11.29, allocations: 473.7 kB / 4.456 GB, free: 104 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1591/11.45, allocations: 63.6 MB / 4.518 GB, free: 96.95 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009867/11.45, allocations: 1.649 MB / 4.52 GB, free: 96.11 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.007217/11.46, allocations: 2.422 MB / 4.522 GB, free: 95.98 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004451/11.46, allocations: 0.9834 MB / 4.523 GB, free: 95.41 MB / 0.5417 GB Notification: Performance of SimCode: time 2.134e-06/11.46, allocations: 0 / 4.523 GB, free: 95.41 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5587/12.02, allocations: 268.2 MB / 4.785 GB, free: 34.16 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001392/12.02, allocations: 234 kB / 4.785 GB, free: 33.92 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.432/21.45, allocations: 0 / 4.785 GB, free: 33.92 MB / 0.5417 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_B_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-09 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_B.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B.pipe 2>&1)