Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.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_D,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_D",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.001836/0.001836, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.936/1.936, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001331/0.001331, allocations: 82.66 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.389/0.389, allocations: 48.77 MB / 364.3 MB, free: 6.867 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 5.125e-05/5.146e-05, allocations: 4 kB / 432.6 MB, free: 16.67 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.163, allocations: 60.25 MB / 492.8 MB, free: 4.289 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.165/8.328, allocations: 2.96 GB / 3.441 GB, free: 55.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000361/8.329, allocations: 79.84 kB / 3.441 GB, free: 55.42 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.467/9.796, allocations: 293.4 MB / 3.728 GB, free: 72.18 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.264e-06/9.796, allocations: 0 / 3.728 GB, free: 72.18 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.833e-05/9.796, allocations: 21.59 kB / 3.728 GB, free: 72.18 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.009366/9.805, allocations: 1.694 MB / 3.73 GB, free: 71.52 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.321e-05/9.805, allocations: 11.59 kB / 3.73 GB, free: 71.52 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00023/9.806, allocations: 137.5 kB / 3.73 GB, free: 71.48 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001521/9.807, allocations: 261.1 kB / 3.73 GB, free: 71.43 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001785/9.809, allocations: 0.6887 MB / 3.731 GB, free: 71.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.429e-05/9.809, allocations: 63.75 kB / 3.731 GB, free: 71.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001965/9.809, allocations: 96.83 kB / 3.731 GB, free: 71.19 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00491/9.814, allocations: 2.244 MB / 3.733 GB, free: 71.01 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/9.814, allocations: 3.938 kB / 3.733 GB, free: 71.01 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-05/9.814, allocations: 41.55 kB / 3.733 GB, free: 71.01 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.524e-05/9.814, allocations: 41.91 kB / 3.733 GB, free: 71.01 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004657/9.819, allocations: 2.176 MB / 3.735 GB, free: 71 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.007128/9.826, allocations: 5.034 MB / 3.74 GB, free: 68.13 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003724/9.83, allocations: 1.397 MB / 3.742 GB, free: 68.1 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005298/9.831, allocations: 363.7 kB / 3.742 GB, free: 68.09 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1182/9.949, allocations: 63.96 MB / 3.804 GB, free: 28.42 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.768e-05/9.949, allocations: 47.8 kB / 3.804 GB, free: 28.37 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=67): time 3.697e-06/9.949, allocations: 2.062 kB / 3.804 GB, free: 28.37 MB / 0.5105 GB Notification: Performance of matching and sorting (n=67): time 0.008146/9.957, allocations: 2.239 MB / 3.807 GB, free: 28.27 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/9.957, allocations: 59.72 kB / 3.807 GB, free: 28.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000779/9.958, allocations: 440.6 kB / 3.807 GB, free: 28.09 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001968/9.958, allocations: 36.98 kB / 3.807 GB, free: 28.05 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002829/9.958, allocations: 380.9 kB / 3.807 GB, free: 27.85 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003667/9.959, allocations: 241.2 kB / 3.808 GB, free: 27.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/9.959, allocations: 15.59 kB / 3.808 GB, free: 27.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001563/9.959, allocations: 376 kB / 3.808 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009831/9.96, allocations: 0.5927 MB / 3.809 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/9.961, allocations: 0.7448 MB / 3.809 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/9.962, allocations: 0.6403 MB / 3.81 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/9.962, allocations: 0 / 3.81 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.004067/9.966, allocations: 2.193 MB / 3.812 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002889/9.967, allocations: 0.9714 MB / 3.813 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/9.967, allocations: 11.81 kB / 3.813 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003676/9.97, allocations: 1.595 MB / 3.815 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004429/9.971, allocations: 92.34 kB / 3.815 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003915/9.975, allocations: 2.367 MB / 3.817 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/9.976, allocations: 137 kB / 3.817 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002241/9.977, allocations: 89.69 kB / 3.817 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/9.977, allocations: 2.812 kB / 3.817 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003857/9.98, allocations: 2.099 MB / 3.819 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/9.98, allocations: 3.969 kB / 3.819 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003444/9.984, allocations: 1.602 MB / 3.821 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003934/9.984, allocations: 88.2 kB / 3.821 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003689/9.988, allocations: 2.356 MB / 3.823 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/9.989, allocations: 135.3 kB / 3.823 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002037/9.99, allocations: 86.22 kB / 3.824 GB, free: 24.73 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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 {5 37} Notification: Performance of prepare postOptimizeDAE: time 0.000467/9.99, allocations: 158.2 kB / 3.824 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003357/9.99, allocations: 65.17 kB / 3.824 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01314/10, allocations: 10.29 MB / 3.834 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.961e-05/10, allocations: 32.52 kB / 3.834 GB, free: 23.72 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.439e-05/10, allocations: 0 / 3.834 GB, free: 23.72 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.616e-05/10, allocations: 3.797 kB / 3.834 GB, free: 23.72 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004497/10.01, allocations: 4.613 MB / 3.838 GB, free: 20.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.457e-05/10.01, allocations: 3.75 kB / 3.838 GB, free: 20.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001175/10.01, allocations: 157 kB / 3.838 GB, free: 20.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001595/10.01, allocations: 424.9 kB / 3.839 GB, free: 20.79 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001381/10.01, allocations: 23.14 kB / 3.839 GB, free: 20.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005733/10.02, allocations: 4.157 MB / 3.843 GB, free: 33.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/10.02, allocations: 0 / 3.843 GB, free: 33.62 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00433/10.02, allocations: 2.523 MB / 3.845 GB, free: 32.49 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006518/10.02, allocations: 258.5 kB / 3.846 GB, free: 32.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002227/10.02, allocations: 27.06 kB / 3.846 GB, free: 32.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009781/10.02, allocations: 76.72 kB / 3.846 GB, free: 32.26 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/10.02, allocations: 49.75 kB / 3.846 GB, free: 32.26 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.598e-05/10.02, allocations: 30.92 kB / 3.846 GB, free: 32.25 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005049/10.02, allocations: 331.2 kB / 3.846 GB, free: 32.08 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.293e-06/10.02, allocations: 0 / 3.846 GB, free: 32.08 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006258/10.03, allocations: 1.343 MB / 3.847 GB, free: 31.82 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4]) * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,76.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01233/10.04, allocations: 4.256 MB / 3.852 GB, free: 28.96 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005637/10.05, allocations: 2.476 MB / 3.854 GB, free: 26.82 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/10.05, allocations: 0 / 3.854 GB, free: 26.82 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002138/10.05, allocations: 1.079 MB / 3.855 GB, free: 25.81 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002045/10.05, allocations: 290.1 kB / 3.855 GB, free: 25.61 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007445/10.06, allocations: 2.521 MB / 3.858 GB, free: 23.38 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008498/10.06, allocations: 1.139 MB / 3.859 GB, free: 22.37 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001204/10.06, allocations: 421 kB / 3.859 GB, free: 22.12 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005519/10.06, allocations: 360.6 kB / 3.86 GB, free: 21.8 MB / 0.5261 GB Notification: Performance of SimCode: time 2.204e-06/10.06, allocations: 5.406 kB / 3.86 GB, free: 21.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.465/10.53, allocations: 73.95 MB / 3.932 GB, free: 79.68 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/10.53, allocations: 201.2 kB / 3.932 GB, free: 79.45 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.085/14.61, allocations: 3 kB / 3.932 GB, free: 79.45 MB / 0.5261 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_D_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_D.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe 2>&1)