Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001791/0.001791, allocations: 216.7 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.455/1.455, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1569/0.1569, allocations: 26.82 MB / 340.7 MB, free: 8.199 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance,fileNamePrefix="ThermoPower_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_CheckFlow1DFV2phMassBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance,fileNamePrefix="ThermoPower_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_CheckFlow1DFV2phMassBalance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 67.84 kB / 477 MB, free: 3.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3166, allocations: 60.48 MB / 0.5248 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.01757/0.3341, allocations: 15.91 MB / 0.5404 GB, free: 14.49 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01853/0.3527, allocations: 13.89 MB / 0.554 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002439/0.3529, allocations: 1.406 kB / 0.554 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005471/0.3534, allocations: 140 kB / 0.5541 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008115/0.3543, allocations: 259.9 kB / 0.5543 GB, free: 3.246 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01948/0.3737, allocations: 5.523 MB / 0.5597 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001837/0.3756, allocations: 1.044 MB / 0.5607 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.123e-05/0.3757, allocations: 17.38 kB / 0.5608 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001266/0.3769, allocations: 0.5034 MB / 0.5613 GB, free: 14.53 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009678/0.3779, allocations: 466.6 kB / 0.5617 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001961/0.3781, allocations: 43.06 kB / 0.5617 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01478/0.3929, allocations: 6.389 MB / 0.568 GB, free: 8.758 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000379/0.3933, allocations: 179.6 kB / 0.5682 GB, free: 8.582 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00051/0.3938, allocations: 243.2 kB / 0.5684 GB, free: 8.344 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00996/0.4037, allocations: 3.952 MB / 0.5722 GB, free: 4.383 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.4037, allocations: 0 / 0.5722 GB, free: 4.383 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4037, allocations: 0 / 0.5722 GB, free: 4.383 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.4037, allocations: 0 / 0.5722 GB, free: 4.383 MB / 414.1 MB 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.005529/0.4093, allocations: 1.462 MB / 0.5737 GB, free: 2.883 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.4093, allocations: 8.031 kB / 0.5737 GB, free: 2.875 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001425/0.4095, allocations: 78.72 kB / 0.5738 GB, free: 2.789 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002738/0.4122, allocations: 364.4 kB / 0.5741 GB, free: 2.434 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006934/0.4129, allocations: 298 kB / 0.5744 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004482/0.4133, allocations: 314.7 kB / 0.5747 GB, free: 1.762 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/0.4135, allocations: 35.94 kB / 0.5747 GB, free: 1.727 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005083/0.4186, allocations: 1.884 MB / 0.5766 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.4186, allocations: 0 / 0.5766 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.881e-05/0.4187, allocations: 16 kB / 0.5766 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.147e-05/0.4187, allocations: 16.59 kB / 0.5766 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007378/0.4261, allocations: 2.64 MB / 0.5792 GB, free: 13.13 MB / 430.1 MB 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.00554/0.4316, allocations: 4.809 MB / 0.5839 GB, free: 7.707 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004102/0.4357, allocations: 1.338 MB / 0.5852 GB, free: 6.359 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002584/0.4383, allocations: 0.9771 MB / 0.5861 GB, free: 5.379 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1533/0.5916, allocations: 43.8 MB / 0.6289 GB, free: 9.523 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.233e-05/0.5916, allocations: 46.88 kB / 0.6289 GB, free: 9.469 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 2.725e-06/0.5916, allocations: 0 / 0.6289 GB, free: 9.469 MB / 478.1 MB Notification: Performance of matching and sorting (n=43): time 0.02285/0.6145, allocations: 5.773 MB / 0.6346 GB, free: 3.66 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/0.6145, allocations: 55.41 kB / 0.6346 GB, free: 3.594 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.6147, allocations: 161.5 kB / 0.6348 GB, free: 3.426 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001317/0.6149, allocations: 33.69 kB / 0.6348 GB, free: 3.387 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.615, allocations: 156.8 kB / 0.635 GB, free: 3.23 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003177/0.6153, allocations: 154.6 kB / 0.6351 GB, free: 3.078 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005503/0.6159, allocations: 217.9 kB / 0.6353 GB, free: 2.855 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.6161, allocations: 338.8 kB / 0.6357 GB, free: 2.516 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00368/0.6198, allocations: 1.117 MB / 0.6367 GB, free: 1.398 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003817/0.6236, allocations: 1.208 MB / 0.6379 GB, free: 164 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007004/0.6306, allocations: 1.972 MB / 0.6398 GB, free: 14.15 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.309e-06/0.6306, allocations: 0 / 0.6398 GB, free: 14.15 MB / 494.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.008136/0.6387, allocations: 2.347 MB / 0.6421 GB, free: 11.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.417e-05/0.6387, allocations: 8.062 kB / 0.6421 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.6388, allocations: 4 kB / 0.6422 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.6388, allocations: 4 kB / 0.6422 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002641/0.6414, allocations: 495.2 kB / 0.6426 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.958e-05/0.6414, allocations: 7.938 kB / 0.6426 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001871/0.6433, allocations: 251.6 kB / 0.6429 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001871/0.6435, allocations: 83.8 kB / 0.643 GB, free: 10.96 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004539/0.6439, allocations: 173.7 kB / 0.6431 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002556/0.6442, allocations: 23.89 kB / 0.6431 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0133/0.6575, allocations: 7.448 MB / 0.6504 GB, free: 3.289 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01167/0.6692, allocations: 6.885 MB / 0.6571 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.6692, allocations: 0 / 0.6571 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.116e-05/0.6692, allocations: 3.984 kB / 0.6571 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01733/0.6865, allocations: 10.86 MB / 0.6678 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.6865, allocations: 0 / 0.6678 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002566/0.6891, allocations: 495.2 kB / 0.6682 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-05/0.6891, allocations: 7.984 kB / 0.6682 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00016/0.6893, allocations: 39.92 kB / 0.6683 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.38e-05/0.6893, allocations: 7.938 kB / 0.6683 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.6893, allocations: 7.984 kB / 0.6683 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01184/0.7012, allocations: 4.539 MB / 0.6727 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006518/0.7018, allocations: 203.1 kB / 0.6729 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/0.702, allocations: 16 kB / 0.6729 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001666/0.7036, allocations: 255.6 kB / 0.6732 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001955/0.7038, allocations: 80.8 kB / 0.6732 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001576/0.704, allocations: 55.91 kB / 0.6733 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000107/0.7041, allocations: 106.2 kB / 0.6734 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.7041, allocations: 0 / 0.6734 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003122/0.7072, allocations: 0.9828 MB / 0.6744 GB, free: 10.39 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01603/0.7232, allocations: 5.988 MB / 0.6802 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007992/0.7312, allocations: 2.619 MB / 0.6828 GB, free: 1.758 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/0.7312, allocations: 4 kB / 0.6828 GB, free: 1.754 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003985/0.7352, allocations: 1.412 MB / 0.6842 GB, free: 344 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008877/0.7361, allocations: 110.9 kB / 0.6843 GB, free: 236 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02855/0.7647, allocations: 9.773 MB / 0.6938 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006841/0.7654, allocations: 0.9243 MB / 0.6947 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002298/0.7676, allocations: 1.298 MB / 0.696 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009626/0.7686, allocations: 315.1 kB / 0.6963 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of SimCode: time 8.91e-07/0.7686, allocations: 0 / 0.6963 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3014/1.07, allocations: 50.52 MB / 0.7456 GB, free: 186.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.31/15.38, allocations: 10.84 kB / 0.7456 GB, free: 186.8 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.sim & python3 -m fmpy simulate --output-file ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance_res.csv --start-time 0 --stop-time 19 --timeout 50 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.0076 ThermoPower_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_CheckFlow1DFV2phMassBalance.fmu > ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.2362773680361] Failed to read output from testmodel.py, exit status != 0: 15.518566482933238 15.538936812 15.13171312 Calling exit ...