Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.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.001875/0.001875, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002887/0.002887, allocations: 218.6 kB / 22.26 MB, free: 5.125 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.597/1.597, allocations: 207.6 MB / 233 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05322/0.05322, allocations: 9.16 MB / 294.4 MB, free: 12.69 MB / 238.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 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(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_Ancillary_StartValues",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_Ancillary_StartValues",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.002256/0.002256, allocations: 75.98 kB / 411.1 MB, free: 46.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0783/0.08055, allocations: 50.76 MB / 461.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues): time 0.02398/0.1045, allocations: 18.2 MB / 480 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01239/0.1169, allocations: 11.1 MB / 491.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.1171, allocations: 0 / 491.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 6.622e-05/0.1171, allocations: 11.86 kB / 491.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00117/0.1183, allocations: 374.2 kB / 491.5 MB, free: 14.93 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.01632/0.1346, allocations: 5.588 MB / 497.1 MB, free: 9.336 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002454/0.1349, allocations: 139.4 kB / 497.2 MB, free: 9.199 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.186e-05/0.1349, allocations: 12 kB / 497.2 MB, free: 9.188 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002808/0.1352, allocations: 87.56 kB / 497.3 MB, free: 9.102 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.1353, allocations: 59.7 kB / 497.4 MB, free: 9.043 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.1353, allocations: 8 kB / 497.4 MB, free: 9.035 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01808/0.1534, allocations: 8.55 MB / 0.4941 GB, free: 480 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.089e-05/0.1534, allocations: 19.92 kB / 0.4941 GB, free: 460 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.1536, allocations: 39.81 kB / 0.4941 GB, free: 420 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01195/0.1655, allocations: 3.414 MB / 0.4975 GB, free: 12.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1655, allocations: 0 / 0.4975 GB, free: 12.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1655, allocations: 0 / 0.4975 GB, free: 12.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.1655, allocations: 0 / 0.4975 GB, free: 12.99 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.001809/0.1673, allocations: 0.7555 MB / 0.4982 GB, free: 12.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.1674, allocations: 11.98 kB / 0.4982 GB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.572e-05/0.1675, allocations: 30.56 kB / 0.4982 GB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.1676, allocations: 15.89 kB / 0.4983 GB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.1678, allocations: 137 kB / 0.4984 GB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.1678, allocations: 7.938 kB / 0.4984 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.1678, allocations: 0 / 0.4984 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000369/0.1682, allocations: 97.56 kB / 0.4985 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1682, allocations: 0 / 0.4985 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.1682, allocations: 7.984 kB / 0.4985 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.567e-06/0.1682, allocations: 7.938 kB / 0.4985 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004072/0.1686, allocations: 103.9 kB / 0.4986 GB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005076/0.1691, allocations: 291.8 kB / 0.4989 GB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004286/0.1695, allocations: 98.52 kB / 0.499 GB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.1697, allocations: 68.73 kB / 0.499 GB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0191/0.1888, allocations: 4.593 MB / 0.5035 GB, free: 6.641 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.075e-05/0.1889, allocations: 38.5 kB / 0.5036 GB, free: 6.594 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 2.485e-06/0.1889, allocations: 0 / 0.5036 GB, free: 6.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009572/0.1899, allocations: 217.7 kB / 0.5038 GB, free: 6.375 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.1899, allocations: 51.41 kB / 0.5038 GB, free: 6.312 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.19, allocations: 137.5 kB / 0.5039 GB, free: 6.172 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.1901, allocations: 33.7 kB / 0.504 GB, free: 6.133 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.968e-05/0.1901, allocations: 88.12 kB / 0.5041 GB, free: 6.043 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/0.1902, allocations: 31.7 kB / 0.5041 GB, free: 6.012 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.799e-05/0.1902, allocations: 25.7 kB / 0.5041 GB, free: 5.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.1904, allocations: 322.8 kB / 0.5044 GB, free: 5.656 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/0.1906, allocations: 47.95 kB / 0.5045 GB, free: 5.609 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.1908, allocations: 48.33 kB / 0.5045 GB, free: 5.562 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004076/0.1912, allocations: 112.9 kB / 0.5046 GB, free: 5.449 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1912, allocations: 0 / 0.5046 GB, free: 5.449 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004154/0.1916, allocations: 149.4 kB / 0.5048 GB, free: 5.297 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.1916, allocations: 4 kB / 0.5048 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.1916, allocations: 3.984 kB / 0.5048 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.1916, allocations: 4 kB / 0.5048 GB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.1918, allocations: 35.91 kB / 0.5048 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.1918, allocations: 0 / 0.5048 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.1919, allocations: 19.92 kB / 0.5048 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.1919, allocations: 0 / 0.5048 GB, free: 5.23 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 9.742e-05/0.192, allocations: 113.8 kB / 0.5049 GB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.941e-05/0.1921, allocations: 19.84 kB / 0.505 GB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007893/0.1928, allocations: 406.9 kB / 0.5053 GB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.1929, allocations: 4 kB / 0.5054 GB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1929, allocations: 0 / 0.5054 GB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1929, allocations: 0 / 0.5054 GB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003616/0.1932, allocations: 256.9 kB / 0.5056 GB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.1932, allocations: 7.922 kB / 0.5056 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.1934, allocations: 35.92 kB / 0.5056 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1934, allocations: 0 / 0.5056 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.1934, allocations: 12.06 kB / 0.5057 GB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1934, allocations: 3.938 kB / 0.5057 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.1934, allocations: 3.984 kB / 0.5057 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008206/0.1942, allocations: 448 kB / 0.5061 GB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.348e-05/0.1943, allocations: 35.77 kB / 0.5061 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.1943, allocations: 4 kB / 0.5061 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.1945, allocations: 15.97 kB / 0.5061 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.191e-05/0.1945, allocations: 15.92 kB / 0.5062 GB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.1945, allocations: 4 kB / 0.5062 GB, free: 3.805 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.769e-05/0.1946, allocations: 99.27 kB / 0.5063 GB, free: 3.707 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1946, allocations: 0 / 0.5063 GB, free: 3.707 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001408/0.196, allocations: 462.5 kB / 0.5067 GB, free: 3.254 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($cse1.liq.phase,$cse1.vap.phase,$cse2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002705/0.1987, allocations: 1.591 MB / 0.5082 GB, free: 1.633 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005345/0.1993, allocations: 199.9 kB / 0.5084 GB, free: 1.438 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1993, allocations: 0 / 0.5084 GB, free: 1.438 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003393/0.1996, allocations: 151.8 kB / 0.5086 GB, free: 1.289 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.2, allocations: 31.97 kB / 0.5086 GB, free: 1.258 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.2012, allocations: 0.5855 MB / 0.5092 GB, free: 0.625 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.2016, allocations: 0.724 MB / 0.5099 GB, free: 15.88 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.801e-05/0.2017, allocations: 21.39 kB / 0.5099 GB, free: 15.86 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.349e-05/0.2017, allocations: 39.42 kB / 0.51 GB, free: 15.82 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2017, allocations: 0 / 0.51 GB, free: 15.82 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2527/0.4545, allocations: 16.6 MB / 0.5262 GB, free: 71 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.96, allocations: 3.766 kB / 0.5262 GB, free: 71 MB / 398.1 MB " [Timeout remaining time 648] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0048 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_Ancillary_StartValues.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.941645816994424] Failed to read output from testmodel.py, exit status != 0: 12.097175586997764 12.116720558 11.948136684 Calling exit ...