Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.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_A,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_A",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.00131/0.001309, allocations: 176.2 kB / 8.348 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.842/1.842, 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.0008724/0.0008724, allocations: 89.42 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.5069/0.5069, 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 3.263e-05/3.266e-05, allocations: 4 kB / 425.4 MB, free: 8.137 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1434, allocations: 60.26 MB / 485.7 MB, free: 11.73 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.479/7.623, allocations: 2.978 GB / 3.453 GB, free: 87.4 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/7.623, allocations: 78.97 kB / 3.453 GB, free: 87.34 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.007/8.63, allocations: 297.7 MB / 3.744 GB, free: 1.016 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.683e-06/8.63, allocations: 0 / 3.744 GB, free: 1.016 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 0.0001176/8.63, allocations: 35.94 kB / 3.744 GB, free: 0.9805 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.3575/8.987, allocations: 5.799 MB / 3.749 GB, free: 51.95 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 5.775e-05/8.988, allocations: 9.594 kB / 3.749 GB, free: 51.95 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006507/8.994, allocations: 0.5504 MB / 3.75 GB, free: 51.87 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008783/9.003, allocations: 1.76 MB / 3.752 GB, free: 51.63 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003846/9.007, allocations: 0.9785 MB / 3.752 GB, free: 51.38 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002232/9.009, allocations: 109.6 kB / 3.753 GB, free: 51.38 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02411/9.033, allocations: 11.65 MB / 3.764 GB, free: 51.37 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01545/9.049, allocations: 6.566 MB / 3.77 GB, free: 51.18 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.685e-05/9.049, allocations: 0 / 3.77 GB, free: 51.18 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001022/9.05, allocations: 3.406 kB / 3.77 GB, free: 51.18 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.795e-05/9.05, allocations: 86.89 kB / 3.77 GB, free: 51.17 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.05794/9.108, allocations: 33.48 MB / 3.803 GB, free: 31.88 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01023/9.118, allocations: 5.449 MB / 3.808 GB, free: 31.84 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008553/9.127, allocations: 4.482 MB / 3.813 GB, free: 31.83 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1486/9.275, allocations: 75.79 MB / 3.887 GB, free: 19.88 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.633e-05/9.276, allocations: 57.25 kB / 3.887 GB, free: 19.83 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=192): time 5.08e-06/9.276, allocations: 0 / 3.887 GB, free: 19.83 MB / 0.5421 GB Notification: Performance of matching and sorting (n=193): time 0.0643/9.34, allocations: 18.66 MB / 3.905 GB, free: 16.49 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.331e-05/9.34, allocations: 71.94 kB / 3.905 GB, free: 16.43 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006647/9.341, allocations: 399.9 kB / 3.906 GB, free: 16.22 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.002273/9.343, allocations: 25.7 kB / 3.906 GB, free: 16.19 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003605/9.343, allocations: 0.5283 MB / 3.906 GB, free: 15.81 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.002546/9.346, allocations: 0.6369 MB / 3.907 GB, free: 15.31 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001976/9.348, allocations: 0 / 3.907 GB, free: 15.31 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0003718/9.348, allocations: 411.2 kB / 3.907 GB, free: 14.96 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007706/9.356, allocations: 4.798 MB / 3.912 GB, free: 12.98 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008438/9.364, allocations: 5.027 MB / 3.917 GB, free: 10.79 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01141/9.376, allocations: 4.05 MB / 3.921 GB, free: 9.312 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.592e-05/9.376, allocations: 3.844 kB / 3.921 GB, free: 9.312 MB / 0.5421 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.4313/9.807, allocations: 29.5 MB / 3.95 GB, free: 82.14 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003269/9.808, allocations: 1.317 MB / 3.951 GB, free: 80.79 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/9.808, allocations: 2.875 kB / 3.951 GB, free: 80.79 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1362/9.944, allocations: 50.25 MB / 4 GB, free: 79.48 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002263/9.946, allocations: 323 kB / 4 GB, free: 79.48 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04189/9.988, allocations: 16.42 MB / 4.016 GB, free: 78.91 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01205/10, allocations: 1.984 MB / 4.018 GB, free: 78.8 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00279/10, allocations: 321.5 kB / 4.018 GB, free: 78.8 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/10, allocations: 7.859 kB / 4.018 GB, free: 78.8 MB / 0.5421 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0875/10.09, allocations: 28.35 MB / 4.046 GB, free: 78.03 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.327e-05/10.09, allocations: 3.438 kB / 4.046 GB, free: 78.03 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1303/10.22, allocations: 50.25 MB / 4.095 GB, free: 51.77 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001619/10.22, allocations: 309.8 kB / 4.096 GB, free: 51.55 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04221/10.26, allocations: 16.44 MB / 4.112 GB, free: 39.36 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01223/10.28, allocations: 1.973 MB / 4.114 GB, free: 37.93 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002676/10.28, allocations: 313.4 kB / 4.114 GB, free: 37.77 MB / 0.5421 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.004137/10.28, allocations: 124.2 kB / 4.114 GB, free: 37.65 MB / 0.5421 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02926/10.31, allocations: 10.2 MB / 4.124 GB, free: 29.2 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002482/10.32, allocations: 108.3 kB / 4.124 GB, free: 29.14 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3574/10.67, allocations: 28.97 MB / 4.152 GB, free: 82.09 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0293/10.7, allocations: 26.78 MB / 4.178 GB, free: 81.77 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.975e-05/10.7, allocations: 6.875 kB / 4.178 GB, free: 81.77 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.964e-05/10.7, allocations: 6.984 kB / 4.178 GB, free: 81.77 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05263/10.76, allocations: 47.77 MB / 4.225 GB, free: 57.32 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-05/10.76, allocations: 7.594 kB / 4.225 GB, free: 57.32 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01241/10.77, allocations: 2.47 MB / 4.228 GB, free: 57.28 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004189/10.77, allocations: 1.119 MB / 4.229 GB, free: 57.13 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002267/10.77, allocations: 181.8 kB / 4.229 GB, free: 57.11 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008611/10.78, allocations: 5.898 MB / 4.235 GB, free: 54.29 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.225e-06/10.78, allocations: 6 kB / 4.235 GB, free: 54.29 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0274/10.81, allocations: 15.3 MB / 4.249 GB, free: 47.58 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003734/10.81, allocations: 1.219 MB / 4.251 GB, free: 47.09 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002478/10.82, allocations: 22.59 kB / 4.251 GB, free: 47.09 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01122/10.83, allocations: 1.943 MB / 4.253 GB, free: 47.08 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002117/10.83, allocations: 330.7 kB / 4.253 GB, free: 47.05 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002066/10.83, allocations: 200.6 kB / 4.253 GB, free: 47.04 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0004219/10.83, allocations: 297.4 kB / 4.253 GB, free: 46.88 MB / 0.5421 GB Notification: Performance of sort global known variables: time 2.2e-07/10.83, allocations: 0 / 4.253 GB, free: 46.88 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.01513/10.85, allocations: 2.535 MB / 4.256 GB, free: 46.84 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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.03891/10.89, allocations: 18.36 MB / 4.274 GB, free: 38.35 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.02942/10.92, allocations: 16.77 MB / 4.29 GB, free: 31.75 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 1.356e-05/10.92, allocations: 3.406 kB / 4.29 GB, free: 31.75 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.01037/10.93, allocations: 5.915 MB / 4.296 GB, free: 28.36 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003743/10.93, allocations: 403.5 kB / 4.296 GB, free: 28.11 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02245/10.95, allocations: 8.664 MB / 4.305 GB, free: 21.42 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/10.95, allocations: 1.649 MB / 4.306 GB, free: 20.06 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.006823/10.96, allocations: 2.459 MB / 4.309 GB, free: 18.57 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004984/10.97, allocations: 0.9836 MB / 4.31 GB, free: 17.85 MB / 0.5421 GB Notification: Performance of SimCode: time 1.032e-06/10.97, allocations: 0 / 4.31 GB, free: 17.85 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9086/11.87, allocations: 263.1 MB / 4.567 GB, free: 91.5 MB / 0.5577 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002075/11.87, allocations: 155.5 kB / 4.567 GB, free: 91.31 MB / 0.5577 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.149/21.02, allocations: 0 / 4.567 GB, free: 91.31 MB / 0.5577 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_A_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-09 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_A.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.pipe 2>&1)