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.00113/0.00113, allocations: 180.6 kB / 16.39 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.445/1.445, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001085/0.001085, allocations: 100.1 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4122/0.4122, allocations: 48.78 MB / 367.9 MB, free: 47.4 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 0.0003256/0.0003256, allocations: 16 kB / 438.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1185, allocations: 60.24 MB / 499 MB, free: 14.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.916/6.035, allocations: 2.831 GB / 3.319 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003195/6.035, allocations: 78.8 kB / 3.319 GB, free: 124.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.2918/6.327, allocations: 123 MB / 3.439 GB, free: 8.09 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.274e-06/6.327, allocations: 7.875 kB / 3.439 GB, free: 8.082 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.656e-05/6.327, allocations: 8 kB / 3.439 GB, free: 8.074 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.007311/6.334, allocations: 1.412 MB / 3.44 GB, free: 6.613 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.482e-05/6.335, allocations: 12.02 kB / 3.44 GB, free: 6.602 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000375/6.335, allocations: 74.55 kB / 3.44 GB, free: 6.52 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001737/6.337, allocations: 163.5 kB / 3.44 GB, free: 6.359 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008694/6.338, allocations: 339.8 kB / 3.441 GB, free: 5.988 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004565/6.338, allocations: 147 kB / 3.441 GB, free: 5.84 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002067/6.338, allocations: 31.98 kB / 3.441 GB, free: 5.809 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004807/6.343, allocations: 2.024 MB / 3.443 GB, free: 3.75 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/6.343, allocations: 0 / 3.443 GB, free: 3.75 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/6.343, allocations: 16 kB / 3.443 GB, free: 3.734 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-05/6.343, allocations: 12.56 kB / 3.443 GB, free: 3.723 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006742/6.35, allocations: 2.968 MB / 3.446 GB, free: 0.7539 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.3055/6.656, allocations: 4.742 MB / 3.451 GB, free: 87.61 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00415/6.66, allocations: 1.506 MB / 3.452 GB, free: 87.58 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1347/6.795, allocations: 75.63 MB / 3.526 GB, free: 43.09 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.606e-05/6.795, allocations: 34.83 kB / 3.526 GB, free: 43.05 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=40): time 3.647e-06/6.795, allocations: 3.281 kB / 3.526 GB, free: 43.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=43): time 0.02333/6.818, allocations: 6.819 MB / 3.533 GB, free: 42.47 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/6.818, allocations: 56.88 kB / 3.533 GB, free: 42.41 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/6.818, allocations: 134.8 kB / 3.533 GB, free: 42.32 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001398/6.818, allocations: 32.02 kB / 3.533 GB, free: 42.29 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.405e-05/6.818, allocations: 151.3 kB / 3.533 GB, free: 42.17 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002266/6.819, allocations: 149 kB / 3.533 GB, free: 42.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/6.819, allocations: 9.656 kB / 3.533 GB, free: 42.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.342e-05/6.819, allocations: 339 kB / 3.533 GB, free: 41.78 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003736/6.823, allocations: 1.295 MB / 3.535 GB, free: 41.75 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003847/6.827, allocations: 1.381 MB / 3.536 GB, free: 41.62 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003454/6.83, allocations: 1.145 MB / 3.537 GB, free: 41.57 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/6.83, allocations: 0 / 3.537 GB, free: 41.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.007417/6.837, allocations: 2.691 MB / 3.54 GB, free: 41.45 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/6.838, allocations: 7.156 kB / 3.54 GB, free: 41.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/6.838, allocations: 0 / 3.54 GB, free: 41.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/6.838, allocations: 6.969 kB / 3.54 GB, free: 41.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002675/6.84, allocations: 0.5875 MB / 3.54 GB, free: 41.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.02e-05/6.84, allocations: 9.125 kB / 3.54 GB, free: 41.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002067/6.842, allocations: 359.2 kB / 3.541 GB, free: 41.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001913/6.843, allocations: 76.91 kB / 3.541 GB, free: 41.41 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: 4 (fluid[2].phase,fluid[1].phase,dew.phase,bubble.phase) * Number of discrete states: 0 () * Number of clocked 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.0004152/6.843, allocations: 180.4 kB / 3.541 GB, free: 41.29 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000174/6.843, allocations: 22.91 kB / 3.541 GB, free: 41.28 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01036/6.854, allocations: 7.392 MB / 3.548 GB, free: 41 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009421/6.863, allocations: 6.837 MB / 3.555 GB, free: 39.84 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.263e-05/6.863, allocations: 3.969 kB / 3.555 GB, free: 39.84 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/6.863, allocations: 6.453 kB / 3.555 GB, free: 39.84 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01501/6.878, allocations: 10.68 MB / 3.565 GB, free: 34.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.749e-06/6.878, allocations: 0 / 3.565 GB, free: 34.76 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002556/6.881, allocations: 0.5879 MB / 3.566 GB, free: 34.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.28e-05/6.881, allocations: 15.61 kB / 3.566 GB, free: 34.72 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001664/6.881, allocations: 45.94 kB / 3.566 GB, free: 34.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.729e-06/6.881, allocations: 3.906 kB / 3.566 GB, free: 34.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/6.881, allocations: 0.5625 kB / 3.566 GB, free: 34.71 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01062/6.892, allocations: 5.016 MB / 3.571 GB, free: 33.25 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006462/6.892, allocations: 280.4 kB / 3.571 GB, free: 33.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001725/6.892, allocations: 21.11 kB / 3.571 GB, free: 33.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001834/6.894, allocations: 365.9 kB / 3.571 GB, free: 33.07 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/6.895, allocations: 79.58 kB / 3.572 GB, free: 33.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001511/6.895, allocations: 51.72 kB / 3.572 GB, free: 33.05 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 9.595e-05/6.895, allocations: 116.9 kB / 3.572 GB, free: 32.97 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.11e-07/6.895, allocations: 0 / 3.572 GB, free: 32.97 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004949/6.9, allocations: 0.976 MB / 3.573 GB, free: 32.91 MB / 0.5105 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: 8 ($cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.region3boundary,$cse24.region3boundary,$cse25.region3boundary,$cse26.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.01831/6.918, allocations: 6.56 MB / 3.579 GB, free: 30.81 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008109/6.926, allocations: 3.003 MB / 3.582 GB, free: 28.87 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/6.926, allocations: 4 kB / 3.582 GB, free: 28.86 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003861/6.93, allocations: 1.71 MB / 3.584 GB, free: 27.49 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008115/6.931, allocations: 91.62 kB / 3.584 GB, free: 27.42 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02426/6.955, allocations: 10.16 MB / 3.594 GB, free: 19.01 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004797/6.956, allocations: 0.9466 MB / 3.595 GB, free: 18.12 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002519/6.958, allocations: 1.27 MB / 3.596 GB, free: 17.31 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/6.959, allocations: 308.8 kB / 3.596 GB, free: 17.09 MB / 0.5105 GB Notification: Performance of SimCode: time 1.03e-05/6.959, allocations: 0 / 3.596 GB, free: 17.09 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07366/7.033, allocations: 39.72 MB / 3.635 GB, free: 8.961 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002428/7.033, allocations: 217.3 kB / 3.635 GB, free: 8.707 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.472/10.51, allocations: 2.188 kB / 3.635 GB, free: 8.707 MB / 0.5261 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)