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.001354/0.001354, allocations: 115.6 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.001519/0.001519, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.456/1.456, allocations: 207.6 MB / 234.5 MB, free: 10.01 MB / 190.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.3141/0.3141, allocations: 49.56 MB / 336.3 MB, free: 4.191 MB / 270.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.002261/0.002261, allocations: 71.89 kB / 476.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1126, allocations: 62.43 MB / 0.5263 GB, free: 14.19 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.2288/0.3413, allocations: 15.79 MB / 0.5417 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01441/0.3557, allocations: 13.9 MB / 0.5553 GB, free: 7.113 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002263/0.356, allocations: 6.5 kB / 0.5553 GB, free: 7.109 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004497/0.3564, allocations: 130.3 kB / 0.5554 GB, free: 7.047 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006229/0.357, allocations: 254.9 kB / 0.5556 GB, free: 6.914 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01464/0.3717, allocations: 5.516 MB / 0.561 GB, free: 4.965 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001633/0.3733, allocations: 1.039 MB / 0.562 GB, free: 4.617 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.217e-05/0.3734, allocations: 14.3 kB / 0.562 GB, free: 4.613 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008607/0.3742, allocations: 0.5066 MB / 0.5625 GB, free: 4.445 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000719/0.375, allocations: 462 kB / 0.563 GB, free: 4.316 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.3751, allocations: 42.41 kB / 0.563 GB, free: 4.316 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01265/0.3877, allocations: 6.382 MB / 0.5693 GB, free: 1.629 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002603/0.388, allocations: 174.9 kB / 0.5694 GB, free: 1.504 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004052/0.3884, allocations: 246.8 kB / 0.5697 GB, free: 1.348 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01006/0.3984, allocations: 3.941 MB / 0.5735 GB, free: 14.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.3984, allocations: 1.156 kB / 0.5735 GB, free: 14.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3984, allocations: 0 / 0.5735 GB, free: 14.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.469e-05/0.3985, allocations: 0 / 0.5735 GB, free: 14.84 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.006222/0.4047, allocations: 1.453 MB / 0.5749 GB, free: 13.95 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/0.4047, allocations: 8.5 kB / 0.5749 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001305/0.4049, allocations: 77.59 kB / 0.575 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001542/0.4064, allocations: 168 kB / 0.5752 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006875/0.4071, allocations: 296.4 kB / 0.5755 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004487/0.4075, allocations: 314.5 kB / 0.5758 GB, free: 13.28 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.4077, allocations: 35.94 kB / 0.5758 GB, free: 13.26 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005166/0.4128, allocations: 1.879 MB / 0.5776 GB, free: 12.15 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.4129, allocations: 0 / 0.5776 GB, free: 12.15 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.831e-05/0.413, allocations: 15.94 kB / 0.5776 GB, free: 12.14 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.64e-05/0.413, allocations: 12.03 kB / 0.5776 GB, free: 12.14 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007489/0.4205, allocations: 2.65 MB / 0.5802 GB, free: 10.82 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.005506/0.426, allocations: 4.795 MB / 0.5849 GB, free: 6.027 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005044/0.431, allocations: 1.341 MB / 0.5862 GB, free: 5.344 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003778/0.4348, allocations: 0.9749 MB / 0.5872 GB, free: 4.867 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1954/0.6302, allocations: 42.1 MB / 0.6283 GB, free: 12.7 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.436e-05/0.6302, allocations: 38.89 kB / 0.6283 GB, free: 12.65 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 2.254e-06/0.6302, allocations: 0 / 0.6283 GB, free: 12.65 MB / 478.1 MB Notification: Performance of matching and sorting (n=43): time 0.02361/0.6539, allocations: 5.778 MB / 0.634 GB, free: 6.836 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.6539, allocations: 55.41 kB / 0.634 GB, free: 6.77 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.6541, allocations: 161.7 kB / 0.6342 GB, free: 6.602 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001421/0.6542, allocations: 33.7 kB / 0.6342 GB, free: 6.562 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.6543, allocations: 156.8 kB / 0.6344 GB, free: 6.406 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002175/0.6545, allocations: 154.6 kB / 0.6345 GB, free: 6.254 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004621/0.655, allocations: 225.8 kB / 0.6347 GB, free: 6.027 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.6552, allocations: 330.8 kB / 0.635 GB, free: 5.695 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003882/0.6591, allocations: 1.121 MB / 0.6361 GB, free: 4.574 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004112/0.6632, allocations: 1.2 MB / 0.6373 GB, free: 3.34 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007547/0.6707, allocations: 1.977 MB / 0.6392 GB, free: 1.328 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.6707, allocations: 0 / 0.6392 GB, free: 1.328 MB / 478.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.008488/0.6792, allocations: 2.331 MB / 0.6415 GB, free: 14.99 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.6792, allocations: 4 kB / 0.6415 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.6792, allocations: 4 kB / 0.6415 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.6793, allocations: 4 kB / 0.6415 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002802/0.6821, allocations: 495.5 kB / 0.642 GB, free: 14.49 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/0.6821, allocations: 8 kB / 0.642 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001944/0.684, allocations: 255 kB / 0.6423 GB, free: 14.24 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002007/0.6842, allocations: 83.8 kB / 0.6423 GB, free: 14.16 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.0004588/0.6847, allocations: 174.3 kB / 0.6425 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000258/0.6849, allocations: 27.84 kB / 0.6425 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01319/0.6981, allocations: 7.436 MB / 0.6498 GB, free: 6.496 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01193/0.7101, allocations: 6.897 MB / 0.6565 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.7101, allocations: 0 / 0.6565 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/0.7101, allocations: 3.984 kB / 0.6565 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01711/0.7272, allocations: 10.88 MB / 0.6671 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.7272, allocations: 0 / 0.6671 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002758/0.73, allocations: 495.2 kB / 0.6676 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.647e-05/0.73, allocations: 4 kB / 0.6676 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001753/0.7301, allocations: 47.91 kB / 0.6677 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.003e-05/0.7302, allocations: 7.938 kB / 0.6677 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.7302, allocations: 0 / 0.6677 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01254/0.7427, allocations: 4.543 MB / 0.6721 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006993/0.7434, allocations: 207 kB / 0.6723 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001614/0.7436, allocations: 17.14 kB / 0.6723 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001816/0.7454, allocations: 251.6 kB / 0.6726 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002046/0.7456, allocations: 88.8 kB / 0.6726 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001394/0.7457, allocations: 51.91 kB / 0.6727 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001169/0.7458, allocations: 107.2 kB / 0.6728 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.7458, allocations: 0 / 0.6728 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003318/0.7492, allocations: 0.979 MB / 0.6738 GB, free: 13.58 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.01714/0.7663, allocations: 5.969 MB / 0.6796 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008313/0.7746, allocations: 2.627 MB / 0.6822 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.7746, allocations: 3.938 kB / 0.6822 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004078/0.7787, allocations: 1.408 MB / 0.6835 GB, free: 3.539 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009004/0.7796, allocations: 107.7 kB / 0.6836 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02944/0.809, allocations: 9.773 MB / 0.6932 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005817/0.8096, allocations: 0.9282 MB / 0.6941 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002345/0.812, allocations: 1.29 MB / 0.6953 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000984/0.8129, allocations: 311.1 kB / 0.6956 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of SimCode: time 8.72e-07/0.8129, allocations: 4 kB / 0.6956 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1012/0.9142, allocations: 50.42 MB / 0.7449 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.27/15.18, allocations: 4 kB / 0.7449 GB, free: 4.398 MB / 0.5762 GB " [Timeout remaining time 645] (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: 18.527574173000176] Failed to read output from testmodel.py, exit status != 0: 15.325698196000303 15.35373271 14.950178389 Calling exit ...