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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 111.4 kB / 17.74 MB, free: 5.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 186.9 kB / 20.68 MB, free: 2.383 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.379/1.379, allocations: 205.1 MB / 228.6 MB, free: 4.402 MB / 174.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3741/0.3741, allocations: 48.84 MB / 326.8 MB, free: 3.918 MB / 254.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.1446/0.1446, allocations: 68.59 kB / 458.8 MB, free: 46.79 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08256/0.2272, allocations: 59.15 MB / 0.5059 GB, free: 16.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.01186/0.2391, allocations: 15.65 MB / 0.5211 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01682/0.256, allocations: 13.8 MB / 0.5346 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000171/0.2562, allocations: 4 kB / 0.5346 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004485/0.2567, allocations: 131.2 kB / 0.5347 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006903/0.2574, allocations: 254.6 kB / 0.535 GB, free: 2.785 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01446/0.2719, allocations: 5.503 MB / 0.5404 GB, free: 13.26 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00145/0.2733, allocations: 1.034 MB / 0.5414 GB, free: 12.22 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.669e-05/0.2734, allocations: 28.75 kB / 0.5414 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008964/0.2743, allocations: 0.4947 MB / 0.5419 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007275/0.2751, allocations: 450.9 kB / 0.5423 GB, free: 11.26 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001301/0.2752, allocations: 44 kB / 0.5424 GB, free: 11.22 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01241/0.2876, allocations: 6.364 MB / 0.5486 GB, free: 4.848 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002799/0.2879, allocations: 175.6 kB / 0.5487 GB, free: 4.676 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004287/0.2884, allocations: 243.2 kB / 0.549 GB, free: 4.438 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008476/0.2969, allocations: 3.933 MB / 0.5528 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2969, allocations: 0 / 0.5528 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2969, allocations: 0 / 0.5528 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.2969, allocations: 0 / 0.5528 GB, free: 0.4961 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.005371/0.3023, allocations: 1.522 MB / 0.5543 GB, free: 14.92 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.3024, allocations: 11.89 kB / 0.5543 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001255/0.3025, allocations: 86.66 kB / 0.5544 GB, free: 14.81 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001464/0.304, allocations: 160.6 kB / 0.5545 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005232/0.3045, allocations: 343.8 kB / 0.5549 GB, free: 14.28 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003481/0.3049, allocations: 130.8 kB / 0.555 GB, free: 14.15 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.305, allocations: 35.92 kB / 0.555 GB, free: 14.11 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005199/0.3102, allocations: 1.88 MB / 0.5569 GB, free: 12.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.3102, allocations: 0 / 0.5569 GB, free: 12.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.882e-05/0.3103, allocations: 19.94 kB / 0.5569 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.625e-05/0.3104, allocations: 8.562 kB / 0.5569 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007749/0.3181, allocations: 2.652 MB / 0.5595 GB, free: 9.512 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.005117/0.3233, allocations: 4.827 MB / 0.5642 GB, free: 4.062 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004295/0.3276, allocations: 1.35 MB / 0.5655 GB, free: 2.703 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002816/0.3304, allocations: 0.9927 MB / 0.5665 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3686/0.699, allocations: 76.33 MB / 0.641 GB, free: 132.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.6991, allocations: 37.5 kB / 0.6411 GB, free: 132.9 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 2.725e-06/0.6991, allocations: 2.469 kB / 0.6411 GB, free: 132.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.02365/0.7228, allocations: 5.853 MB / 0.6468 GB, free: 131.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.7228, allocations: 55.84 kB / 0.6468 GB, free: 131.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.723, allocations: 152.9 kB / 0.647 GB, free: 131.6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001044/0.7231, allocations: 33.7 kB / 0.647 GB, free: 131.6 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.5e-05/0.7231, allocations: 161.7 kB / 0.6472 GB, free: 131.4 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000144/0.7233, allocations: 155.8 kB / 0.6473 GB, free: 131.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004074/0.7237, allocations: 221.5 kB / 0.6475 GB, free: 131.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.908e-05/0.7238, allocations: 332.4 kB / 0.6478 GB, free: 131 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003941/0.7277, allocations: 1.12 MB / 0.6489 GB, free: 130.6 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004055/0.7318, allocations: 1.208 MB / 0.6501 GB, free: 130 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006818/0.7386, allocations: 1.966 MB / 0.652 GB, free: 129 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.7386, allocations: 3.969 kB / 0.652 GB, free: 129 MB / 0.4981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.007681/0.7463, allocations: 2.333 MB / 0.6543 GB, free: 127.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.7464, allocations: 10.03 kB / 0.6543 GB, free: 127.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.7464, allocations: 4 kB / 0.6543 GB, free: 127.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.7464, allocations: 4 kB / 0.6543 GB, free: 127.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002473/0.7489, allocations: 0.4916 MB / 0.6548 GB, free: 127.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.7489, allocations: 7.828 kB / 0.6548 GB, free: 127.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/0.7507, allocations: 247.6 kB / 0.6551 GB, free: 126.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/0.7509, allocations: 79.86 kB / 0.6551 GB, free: 126.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.0003326/0.7512, allocations: 183.8 kB / 0.6553 GB, free: 126.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002186/0.7515, allocations: 19.91 kB / 0.6553 GB, free: 126.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009472/0.7609, allocations: 7.115 MB / 0.6623 GB, free: 119.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008411/0.7694, allocations: 6.572 MB / 0.6687 GB, free: 113 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.7694, allocations: 0 / 0.6687 GB, free: 113 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.7694, allocations: 4.547 kB / 0.6687 GB, free: 113 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01121/0.7806, allocations: 10.44 MB / 0.6789 GB, free: 102.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.7807, allocations: 7.938 kB / 0.6789 GB, free: 102.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002364/0.783, allocations: 499.2 kB / 0.6794 GB, free: 101.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/0.7831, allocations: 4 kB / 0.6794 GB, free: 101.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001176/0.7832, allocations: 47.91 kB / 0.6794 GB, free: 101.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.7832, allocations: 3.938 kB / 0.6794 GB, free: 101.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.7832, allocations: 4 kB / 0.6794 GB, free: 101.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009986/0.7932, allocations: 4.497 MB / 0.6838 GB, free: 97.17 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003843/0.7936, allocations: 282.5 kB / 0.6841 GB, free: 96.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/0.7938, allocations: 12 kB / 0.6841 GB, free: 96.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001628/0.7954, allocations: 259.6 kB / 0.6844 GB, free: 96.63 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/0.7956, allocations: 81.33 kB / 0.6844 GB, free: 96.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001193/0.7957, allocations: 55.91 kB / 0.6845 GB, free: 96.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.096e-05/0.7958, allocations: 109.1 kB / 0.6846 GB, free: 96.39 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7958, allocations: 0 / 0.6846 GB, free: 96.39 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002247/0.7981, allocations: 0.9776 MB / 0.6856 GB, free: 95.46 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.01353/0.8116, allocations: 5.945 MB / 0.6914 GB, free: 89.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007206/0.8188, allocations: 2.65 MB / 0.6939 GB, free: 86.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.767e-06/0.8189, allocations: 0 / 0.6939 GB, free: 86.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003478/0.8223, allocations: 1.537 MB / 0.6954 GB, free: 85.39 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007853/0.8231, allocations: 110.7 kB / 0.6956 GB, free: 85.29 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02482/0.848, allocations: 9.754 MB / 0.7051 GB, free: 75.39 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.8483, allocations: 0.9281 MB / 0.706 GB, free: 74.44 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001684/0.85, allocations: 1.288 MB / 0.7072 GB, free: 73.15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007915/0.8508, allocations: 311.1 kB / 0.7075 GB, free: 72.85 MB / 0.4981 GB Notification: Performance of SimCode: time 9.22e-07/0.8508, allocations: 0 / 0.7075 GB, free: 72.85 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06685/0.9176, allocations: 49.1 MB / 0.7555 GB, free: 23.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/12.23, allocations: 8.375 kB / 0.7555 GB, free: 23.64 MB / 0.4981 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: 15.199096911004744] Failed to read output from testmodel.py, exit status != 0: 12.331828936934471 12.343442294 12.044268341 Calling exit ...