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/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.001501/0.001501, allocations: 124.5 kB / 17.79 MB, free: 5.246 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.002071/0.002071, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 207.6 MB / 231.1 MB, free: 4.148 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.4129/0.4129, allocations: 49.51 MB / 332.5 MB, free: 0.6836 MB / 254.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/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 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_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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002079/0.002079, allocations: 78.98 kB / 470.9 MB, free: 40.91 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09091/0.09299, allocations: 62.33 MB / 0.5208 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.01971/0.1127, allocations: 15.73 MB / 0.5361 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01675/0.1294, allocations: 13.85 MB / 0.5497 GB, free: 4.512 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001666/0.1296, allocations: 3.938 kB / 0.5497 GB, free: 4.508 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004387/0.1301, allocations: 127.3 kB / 0.5498 GB, free: 4.383 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000631/0.1307, allocations: 254.5 kB / 0.55 GB, free: 4.133 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0135/0.1442, allocations: 5.498 MB / 0.5554 GB, free: 14.61 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00137/0.1456, allocations: 1.042 MB / 0.5564 GB, free: 13.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.411e-05/0.1456, allocations: 28.75 kB / 0.5564 GB, free: 13.54 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008131/0.1464, allocations: 0.5064 MB / 0.5569 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006966/0.1471, allocations: 466.9 kB / 0.5574 GB, free: 12.58 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.982e-05/0.1472, allocations: 40 kB / 0.5574 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0115/0.1587, allocations: 6.364 MB / 0.5636 GB, free: 6.168 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00027/0.159, allocations: 187.5 kB / 0.5638 GB, free: 5.984 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003741/0.1594, allocations: 235.2 kB / 0.564 GB, free: 5.754 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007758/0.1671, allocations: 3.929 MB / 0.5679 GB, free: 1.816 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1671, allocations: 0 / 0.5679 GB, free: 1.816 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1671, allocations: 3.938 kB / 0.5679 GB, free: 1.812 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.468e-05/0.1672, allocations: 4 kB / 0.5679 GB, free: 1.809 MB / 430.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.005144/0.1723, allocations: 1.534 MB / 0.5694 GB, free: 228 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/0.1723, allocations: 11.89 kB / 0.5694 GB, free: 216 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001272/0.1725, allocations: 78.72 kB / 0.5695 GB, free: 128 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001406/0.1739, allocations: 160.6 kB / 0.5696 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005301/0.1744, allocations: 339.9 kB / 0.57 GB, free: 15.6 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003339/0.1747, allocations: 130.8 kB / 0.5701 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.1749, allocations: 35.94 kB / 0.5701 GB, free: 15.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005036/0.1799, allocations: 1.876 MB / 0.5719 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.1799, allocations: 4 kB / 0.5719 GB, free: 13.51 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.18, allocations: 12 kB / 0.572 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.993e-05/0.18, allocations: 12.56 kB / 0.572 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007448/0.1875, allocations: 2.652 MB / 0.5746 GB, free: 10.83 MB / 446.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.005079/0.1926, allocations: 4.835 MB / 0.5793 GB, free: 5.371 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004116/0.1967, allocations: 1.338 MB / 0.5806 GB, free: 4.023 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002679/0.1994, allocations: 0.9732 MB / 0.5815 GB, free: 3.047 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3639/0.5633, allocations: 76.33 MB / 0.6561 GB, free: 113.7 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.445e-05/0.5633, allocations: 35.64 kB / 0.6561 GB, free: 113.7 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 2.815e-06/0.5633, allocations: 0 / 0.6561 GB, free: 113.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.02187/0.5852, allocations: 5.852 MB / 0.6618 GB, free: 111.1 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.5852, allocations: 61.34 kB / 0.6619 GB, free: 111 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.5854, allocations: 146.5 kB / 0.662 GB, free: 110.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001444/0.5855, allocations: 33.48 kB / 0.6621 GB, free: 110.9 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.531e-05/0.5856, allocations: 155.5 kB / 0.6622 GB, free: 110.7 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002069/0.5858, allocations: 157.1 kB / 0.6624 GB, free: 110.6 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004534/0.5862, allocations: 226.4 kB / 0.6626 GB, free: 110.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.518e-05/0.5863, allocations: 333.8 kB / 0.6629 GB, free: 110.1 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003391/0.5897, allocations: 1.119 MB / 0.664 GB, free: 109.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003444/0.5931, allocations: 1.204 MB / 0.6652 GB, free: 108.1 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006421/0.5996, allocations: 1.979 MB / 0.6671 GB, free: 106.1 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.5996, allocations: 2.062 kB / 0.6671 GB, free: 106.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.007438/0.607, allocations: 2.332 MB / 0.6694 GB, free: 103.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.607, allocations: 8 kB / 0.6694 GB, free: 103.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.607, allocations: 4 kB / 0.6694 GB, free: 103.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.789e-05/0.6071, allocations: 4 kB / 0.6694 GB, free: 103.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002448/0.6095, allocations: 495.5 kB / 0.6699 GB, free: 103.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/0.6095, allocations: 7.984 kB / 0.6699 GB, free: 103.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001781/0.6113, allocations: 257.6 kB / 0.6701 GB, free: 103 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001815/0.6115, allocations: 79.86 kB / 0.6702 GB, free: 102.9 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004147/0.6119, allocations: 181.3 kB / 0.6704 GB, free: 102.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002803/0.6122, allocations: 19.91 kB / 0.6704 GB, free: 102.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00951/0.6217, allocations: 7.115 MB / 0.6773 GB, free: 95.64 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008347/0.63, allocations: 6.561 MB / 0.6837 GB, free: 89.06 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/0.63, allocations: 4 kB / 0.6837 GB, free: 89.06 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/0.6301, allocations: 7.922 kB / 0.6837 GB, free: 89.05 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01153/0.6416, allocations: 10.46 MB / 0.694 GB, free: 78.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/0.6416, allocations: 1.875 kB / 0.694 GB, free: 78.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002309/0.6439, allocations: 499.2 kB / 0.6944 GB, free: 77.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.591e-05/0.6439, allocations: 11.94 kB / 0.6944 GB, free: 77.81 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001696/0.6441, allocations: 47.91 kB / 0.6945 GB, free: 77.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.556e-06/0.6441, allocations: 3.828 kB / 0.6945 GB, free: 77.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.6441, allocations: 4 kB / 0.6945 GB, free: 77.76 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009999/0.6541, allocations: 4.498 MB / 0.6989 GB, free: 73.24 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004614/0.6546, allocations: 282.7 kB / 0.6992 GB, free: 72.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001528/0.6547, allocations: 19.98 kB / 0.6992 GB, free: 72.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001617/0.6563, allocations: 255.7 kB / 0.6994 GB, free: 72.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002002/0.6565, allocations: 72.84 kB / 0.6995 GB, free: 72.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/0.6567, allocations: 55.91 kB / 0.6995 GB, free: 72.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.99e-05/0.6567, allocations: 111.2 kB / 0.6997 GB, free: 72.46 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.6567, allocations: 0 / 0.6997 GB, free: 72.46 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002622/0.6594, allocations: 0.9748 MB / 0.7006 GB, free: 71.54 MB / 0.4981 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.01393/0.6733, allocations: 5.941 MB / 0.7064 GB, free: 65.67 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007112/0.6804, allocations: 2.615 MB / 0.709 GB, free: 63.05 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.6804, allocations: 0 / 0.709 GB, free: 63.05 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003367/0.6838, allocations: 1.396 MB / 0.7103 GB, free: 61.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008591/0.6846, allocations: 103.5 kB / 0.7104 GB, free: 61.55 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02437/0.709, allocations: 9.755 MB / 0.72 GB, free: 51.65 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.7093, allocations: 0.9282 MB / 0.7209 GB, free: 50.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001676/0.711, allocations: 1.298 MB / 0.7221 GB, free: 49.39 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000883/0.7119, allocations: 307.1 kB / 0.7224 GB, free: 49.09 MB / 0.4981 GB Notification: Performance of SimCode: time 1.162e-06/0.7119, allocations: 0 / 0.7224 GB, free: 49.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07359/0.7855, allocations: 49.16 MB / 0.7704 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11.45, allocations: 3.984 kB / 0.7704 GB, free: 15.84 MB / 0.5137 GB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file ThermoPower_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_ThermoPower_Test_DistributedParameterComponents_CheckFlow1DFV2phMassBalance.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.692659121996257] Failed to read output from testmodel.py, exit status != 0: 11.547512523000478 11.561185754 11.391291997 Calling exit ...