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.001924/0.001924, allocations: 176.4 kB / 8.346 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.81/1.81, 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.0009131/0.0009131, allocations: 86.92 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.567/0.567, allocations: 48.77 MB / 358.8 MB, free: 53.24 MB / 299.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 2.331e-05/2.332e-05, allocations: 8.156 kB / 425.4 MB, free: 8.145 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1459, allocations: 60.26 MB / 485.7 MB, free: 11.74 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.367/7.513, allocations: 2.979 GB / 3.453 GB, free: 26.18 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/7.513, allocations: 82.53 kB / 3.453 GB, free: 26.14 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.195/8.708, allocations: 297.7 MB / 3.744 GB, free: 65.25 MB / 0.5108 GB Notification: Performance of FrontEnd: time 3.286e-06/8.708, allocations: 0 / 3.744 GB, free: 65.25 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 0.0001215/8.708, allocations: 31.47 kB / 3.744 GB, free: 65.25 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: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.02738/8.736, allocations: 5.796 MB / 3.749 GB, free: 64.08 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/8.736, allocations: 11.41 kB / 3.749 GB, free: 64.08 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005582/8.742, allocations: 0.5518 MB / 3.75 GB, free: 63.99 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006565/8.748, allocations: 1.758 MB / 3.752 GB, free: 63.67 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00318/8.751, allocations: 0.9773 MB / 3.753 GB, free: 63.39 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001545/8.753, allocations: 111.6 kB / 3.753 GB, free: 63.39 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02157/8.774, allocations: 11.65 MB / 3.764 GB, free: 63.38 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01462/8.789, allocations: 6.556 MB / 3.77 GB, free: 63.18 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-05/8.789, allocations: 3.5 kB / 3.77 GB, free: 63.18 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001785/8.791, allocations: 0 / 3.77 GB, free: 63.18 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001165/8.791, allocations: 92.38 kB / 3.771 GB, free: 63.18 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.05856/8.85, allocations: 33.47 MB / 3.803 GB, free: 43.24 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00926/8.859, allocations: 5.446 MB / 3.809 GB, free: 40.95 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00705/8.866, allocations: 4.476 MB / 3.813 GB, free: 39 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4541/9.32, allocations: 76.28 MB / 3.887 GB, free: 76.92 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.701e-05/9.32, allocations: 53.69 kB / 3.887 GB, free: 76.88 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=192): time 4.298e-06/9.32, allocations: 0 / 3.887 GB, free: 76.88 MB / 0.5265 GB Notification: Performance of matching and sorting (n=193): time 0.05314/9.374, allocations: 18.61 MB / 3.906 GB, free: 76.38 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/9.374, allocations: 72.19 kB / 3.906 GB, free: 76.31 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005827/9.374, allocations: 397.9 kB / 3.906 GB, free: 76.2 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 0.001706/9.376, allocations: 28.7 kB / 3.906 GB, free: 76.17 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002921/9.376, allocations: 0.5229 MB / 3.907 GB, free: 75.94 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.001955/9.378, allocations: 0.6325 MB / 3.907 GB, free: 75.61 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001473/9.38, allocations: 0 / 3.907 GB, free: 75.61 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0002047/9.38, allocations: 414.6 kB / 3.908 GB, free: 75.29 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006923/9.387, allocations: 4.797 MB / 3.912 GB, free: 75.29 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007692/9.395, allocations: 5.021 MB / 3.917 GB, free: 75.1 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01191/9.407, allocations: 4.047 MB / 3.921 GB, free: 75.09 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.712e-05/9.407, allocations: 1.406 kB / 3.921 GB, free: 75.09 MB / 0.5265 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.08959/9.496, allocations: 28.64 MB / 3.949 GB, free: 73.8 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004681/9.497, allocations: 1.315 MB / 3.95 GB, free: 72.41 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-05/9.497, allocations: 7.859 kB / 3.95 GB, free: 72.41 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.129/9.626, allocations: 50.24 MB / 3.999 GB, free: 63.67 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001637/9.627, allocations: 312.2 kB / 4 GB, free: 63.45 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03185/9.659, allocations: 16.43 MB / 4.016 GB, free: 49.64 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01106/9.67, allocations: 1.964 MB / 4.018 GB, free: 48.21 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002109/9.673, allocations: 315.1 kB / 4.018 GB, free: 48.04 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/9.673, allocations: 4 kB / 4.018 GB, free: 48.04 MB / 0.5265 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07553/9.748, allocations: 28.36 MB / 4.046 GB, free: 25.64 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.557e-05/9.748, allocations: 4 kB / 4.046 GB, free: 25.64 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.45/10.2, allocations: 51.56 MB / 4.096 GB, free: 78.7 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/10.2, allocations: 296 kB / 4.096 GB, free: 78.7 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03248/10.23, allocations: 16.43 MB / 4.112 GB, free: 78.14 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01239/10.24, allocations: 1.958 MB / 4.114 GB, free: 78.14 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002681/10.25, allocations: 309.2 kB / 4.115 GB, free: 78.14 MB / 0.5265 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 () * 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.002367/10.25, allocations: 131.2 kB / 4.115 GB, free: 78.04 MB / 0.5265 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02423/10.27, allocations: 10.2 MB / 4.125 GB, free: 77.97 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001319/10.28, allocations: 102.5 kB / 4.125 GB, free: 77.97 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03395/10.31, allocations: 28.32 MB / 4.152 GB, free: 72.5 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03172/10.34, allocations: 26.77 MB / 4.179 GB, free: 61.19 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.139e-05/10.34, allocations: 7.906 kB / 4.179 GB, free: 61.19 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.187e-05/10.34, allocations: 13.2 kB / 4.179 GB, free: 61.19 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05682/10.4, allocations: 47.79 MB / 4.225 GB, free: 30.54 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.469e-05/10.4, allocations: 5.031 kB / 4.225 GB, free: 30.53 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01331/10.41, allocations: 2.453 MB / 4.228 GB, free: 28.98 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004116/10.42, allocations: 1.115 MB / 4.229 GB, free: 28.29 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001712/10.42, allocations: 184.1 kB / 4.229 GB, free: 28.22 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008297/10.43, allocations: 5.896 MB / 4.235 GB, free: 23.16 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/10.43, allocations: 6.375 kB / 4.235 GB, free: 23.16 MB / 0.5265 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02911/10.46, allocations: 15.31 MB / 4.25 GB, free: 9.625 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003804/10.46, allocations: 1.217 MB / 4.251 GB, free: 8.738 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001897/10.46, allocations: 23.94 kB / 4.251 GB, free: 8.719 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01094/10.47, allocations: 1.935 MB / 4.253 GB, free: 7.414 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001812/10.47, allocations: 326.6 kB / 4.253 GB, free: 7.32 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00171/10.48, allocations: 194.1 kB / 4.253 GB, free: 7.238 MB / 0.5265 GB Notification: Performance of sorting global known variables: time 0.000447/10.48, allocations: 303.8 kB / 4.254 GB, free: 6.965 MB / 0.5265 GB Notification: Performance of sort global known variables: time 6.11e-07/10.48, allocations: 3.969 kB / 4.254 GB, free: 6.965 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.01396/10.49, allocations: 2.527 MB / 4.256 GB, free: 4.582 MB / 0.5265 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 () * 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.3377/10.83, allocations: 18.6 MB / 4.274 GB, free: 92.04 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.03007/10.86, allocations: 16.78 MB / 4.291 GB, free: 91.91 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 1.274e-05/10.86, allocations: 0 / 4.291 GB, free: 91.91 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.01003/10.87, allocations: 5.894 MB / 4.296 GB, free: 91.77 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003652/10.87, allocations: 409.6 kB / 4.297 GB, free: 91.77 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02013/10.89, allocations: 8.662 MB / 4.305 GB, free: 90.88 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/10.89, allocations: 1.645 MB / 4.307 GB, free: 90.15 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.006293/10.9, allocations: 2.452 MB / 4.309 GB, free: 90.12 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004225/10.9, allocations: 0.985 MB / 4.31 GB, free: 90.12 MB / 0.5421 GB Notification: Performance of SimCode: time 1.282e-06/10.9, allocations: 0 / 4.31 GB, free: 90.12 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6198/11.52, allocations: 262.9 MB / 4.567 GB, free: 78.71 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/11.52, allocations: 162 kB / 4.567 GB, free: 78.51 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.995/20.52, allocations: 4 kB / 4.567 GB, free: 78.51 MB / 0.5421 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)