Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.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.CheckFlow1DFV2phMassBalance,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_CheckFlow1DFV2phMassBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_CheckFlow1DFV2phMassBalance",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.0009606/0.0009606, 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.424/1.424, 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.0009583/0.0009583, allocations: 93.17 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.3865/0.3865, allocations: 48.78 MB / 358.8 MB, free: 53.12 MB / 299.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 2.323e-05/2.323e-05, allocations: 11.94 kB / 425.4 MB, free: 8.133 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.113, allocations: 60.26 MB / 485.7 MB, free: 11.73 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.478/6.592, allocations: 2.831 GB / 3.305 GB, free: 38.63 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/6.592, allocations: 71.97 kB / 3.305 GB, free: 38.56 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 0.6278/7.22, allocations: 121.1 MB / 3.423 GB, free: 123.9 MB / 0.5108 GB Notification: Performance of FrontEnd: time 4.459e-06/7.22, allocations: 0 / 3.423 GB, free: 123.9 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 2.473e-05/7.22, allocations: 11.94 kB / 3.423 GB, free: 123.9 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.007891/7.228, allocations: 1.401 MB / 3.425 GB, free: 122.7 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/7.228, allocations: 8.031 kB / 3.425 GB, free: 122.7 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/7.229, allocations: 168.9 kB / 3.425 GB, free: 122.5 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005774/7.23, allocations: 344.1 kB / 3.425 GB, free: 122.2 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003562/7.23, allocations: 128.9 kB / 3.425 GB, free: 122.1 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/7.23, allocations: 23.91 kB / 3.425 GB, free: 122.1 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001946/7.232, allocations: 1.404 MB / 3.427 GB, free: 120.9 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/7.234, allocations: 0.9945 MB / 3.428 GB, free: 120.2 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/7.234, allocations: 11.89 kB / 3.428 GB, free: 120.2 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-05/7.234, allocations: 0 / 3.428 GB, free: 120.2 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.172e-05/7.234, allocations: 12.56 kB / 3.428 GB, free: 120.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.004017/7.238, allocations: 4.807 MB / 3.432 GB, free: 115.3 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008531/7.239, allocations: 0.6844 MB / 3.433 GB, free: 114.7 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006688/7.239, allocations: 0.5789 MB / 3.433 GB, free: 114.2 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1491/7.388, allocations: 75.91 MB / 3.508 GB, free: 32.72 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.47e-05/7.389, allocations: 42.5 kB / 3.508 GB, free: 32.67 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=38): time 2.444e-06/7.389, allocations: 0 / 3.508 GB, free: 32.67 MB / 0.5108 GB Notification: Performance of matching and sorting (n=41): time 0.01284/7.401, allocations: 3.14 MB / 3.511 GB, free: 29.47 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/7.402, allocations: 55.73 kB / 3.511 GB, free: 29.41 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/7.402, allocations: 148.8 kB / 3.511 GB, free: 29.25 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 0.0001275/7.402, allocations: 25.7 kB / 3.511 GB, free: 29.22 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 7.183e-05/7.402, allocations: 160.4 kB / 3.511 GB, free: 29.06 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/7.402, allocations: 138 kB / 3.511 GB, free: 28.93 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/7.402, allocations: 0 / 3.511 GB, free: 28.93 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 7.573e-05/7.402, allocations: 330.8 kB / 3.512 GB, free: 28.59 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000761/7.403, allocations: 0.6489 MB / 3.512 GB, free: 27.95 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000785/7.404, allocations: 0.7349 MB / 3.513 GB, free: 27.18 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002395/7.406, allocations: 0.6557 MB / 3.514 GB, free: 26.52 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/7.406, allocations: 0 / 3.514 GB, free: 26.52 MB / 0.5108 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.003836/7.41, allocations: 1.524 MB / 3.515 GB, free: 24.99 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/7.41, allocations: 8 kB / 3.515 GB, free: 24.98 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/7.41, allocations: 4 kB / 3.515 GB, free: 24.98 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.582e-05/7.41, allocations: 4 kB / 3.515 GB, free: 24.97 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002637/7.413, allocations: 0.5968 MB / 3.516 GB, free: 24.38 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.844e-05/7.413, allocations: 4 kB / 3.516 GB, free: 24.37 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001985/7.415, allocations: 347.5 kB / 3.516 GB, free: 24.03 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001684/7.415, allocations: 83.86 kB / 3.516 GB, free: 23.95 MB / 0.5108 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 4 (fluid[2].phase,fluid[1].phase,dew.phase,bubble.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002953/7.415, allocations: 116.9 kB / 3.516 GB, free: 23.83 MB / 0.5108 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003784/7.419, allocations: 1.423 MB / 3.518 GB, free: 22.4 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001796/7.419, allocations: 19.81 kB / 3.518 GB, free: 22.38 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005784/7.425, allocations: 5.511 MB / 3.523 GB, free: 16.86 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004337/7.429, allocations: 5.026 MB / 3.528 GB, free: 11.82 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/7.43, allocations: 0 / 3.528 GB, free: 11.82 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/7.43, allocations: 7.969 kB / 3.528 GB, free: 11.81 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00717/7.437, allocations: 8.459 MB / 3.536 GB, free: 3.066 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/7.437, allocations: 0 / 3.536 GB, free: 3.066 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002478/7.439, allocations: 0.5851 MB / 3.537 GB, free: 2.48 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.252e-05/7.439, allocations: 7.984 kB / 3.537 GB, free: 2.473 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001328/7.439, allocations: 31.92 kB / 3.537 GB, free: 2.441 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.045e-06/7.439, allocations: 4 kB / 3.537 GB, free: 2.438 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/7.439, allocations: 3.938 kB / 3.537 GB, free: 2.434 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.337/7.776, allocations: 2.826 MB / 3.539 GB, free: 125 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001043/7.778, allocations: 263.5 kB / 3.54 GB, free: 124.9 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003692/7.778, allocations: 1.656 kB / 3.54 GB, free: 124.9 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002403/7.78, allocations: 352.5 kB / 3.54 GB, free: 124.9 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003449/7.781, allocations: 75.56 kB / 3.54 GB, free: 124.9 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002711/7.781, allocations: 54.66 kB / 3.54 GB, free: 124.9 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0001462/7.781, allocations: 120.1 kB / 3.54 GB, free: 124.8 MB / 0.5108 GB Notification: Performance of sort global known variables: time 2.71e-07/7.781, allocations: 1.219 kB / 3.54 GB, free: 124.8 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.006683/7.788, allocations: 0.943 MB / 3.541 GB, free: 124.8 MB / 0.5108 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rhobar_check[1]) * Number of discrete variables: 6 ($cse1.region3boundary,$cse2.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01695/7.805, allocations: 4.382 MB / 3.545 GB, free: 124.2 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.004041/7.809, allocations: 1.633 MB / 3.547 GB, free: 124.1 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/7.809, allocations: 0 / 3.547 GB, free: 124.1 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.00185/7.811, allocations: 0.9779 MB / 3.548 GB, free: 124.1 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/7.812, allocations: 77.39 kB / 3.548 GB, free: 124.1 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01166/7.824, allocations: 2.756 MB / 3.551 GB, free: 123.8 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005119/7.824, allocations: 0.9058 MB / 3.552 GB, free: 123.1 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.003219/7.827, allocations: 1.273 MB / 3.553 GB, free: 123.1 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001055/7.829, allocations: 291 kB / 3.553 GB, free: 123.1 MB / 0.5108 GB Notification: Performance of SimCode: time 3.046e-06/7.829, allocations: 0 / 3.553 GB, free: 123.1 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09298/7.922, allocations: 37.39 MB / 3.59 GB, free: 122.1 MB / 0.5108 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/7.922, allocations: 165.1 kB / 3.59 GB, free: 121.9 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.208/11.13, allocations: 0 / 3.59 GB, free: 121.9 MB / 0.5108 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_CheckFlow1DFV2phMassBalance_fmu --startTime=0 --stopTime=19 --timeout=50 --tolerance=1e-09 ThermoPower_ThermoPower_Test_DistributedParameterComponents_CheckFlow1DFV2phMassBalance.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe 2>&1)