Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HelmholtzMedia with version (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.ConvergenceTest.setSat,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat") translateModel(HelmholtzMedia.Examples.ConvergenceTest.setSat,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001308/0.001312, allocations: 175.7 kB / 15.43 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.07296/0.07296, allocations: 9.308 MB / 25.49 MB, free: 3.453 MB / 18.57 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 225.7 MB / 253.5 MB, free: 10.21 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008004/0.0008005, allocations: 94.19 kB / 306.3 MB, free: 14.11 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003297, allocations: 8.734 kB / 369.1 MB, free: 53.72 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07836/0.07871, allocations: 52.03 MB / 421.1 MB, free: 18.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.setSat): time 0.01524/0.09398, allocations: 20.01 MB / 441.1 MB, free: 14.4 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01026/0.1043, allocations: 10.68 MB / 451.8 MB, free: 3.344 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001958/0.1045, allocations: 0 / 451.8 MB, free: 3.344 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000957/0.1055, allocations: 391 kB / 452.2 MB, free: 2.961 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006087/0.1061, allocations: 242.8 kB / 452.4 MB, free: 2.723 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01067/0.1168, allocations: 3.836 MB / 456.3 MB, free: 14.88 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005405/0.1173, allocations: 393.9 kB / 456.7 MB, free: 14.49 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.848e-05/0.1174, allocations: 24.39 kB / 456.7 MB, free: 14.46 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004482/0.1179, allocations: 167.2 kB / 456.8 MB, free: 14.3 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.1181, allocations: 99.47 kB / 456.9 MB, free: 14.2 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.1182, allocations: 8 kB / 456.9 MB, free: 14.19 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01212/0.1303, allocations: 6.204 MB / 463.2 MB, free: 7.969 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.051e-05/0.1304, allocations: 15.88 kB / 463.2 MB, free: 7.953 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002271/0.1306, allocations: 141.1 kB / 463.3 MB, free: 7.809 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0074/0.138, allocations: 3.141 MB / 466.4 MB, free: 4.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1381, allocations: 0 / 466.4 MB, free: 4.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1381, allocations: 0 / 466.4 MB, free: 4.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1381, allocations: 4 kB / 466.4 MB, free: 4.656 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001603/0.1397, allocations: 0.799 MB / 467.2 MB, free: 3.809 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.1397, allocations: 8.031 kB / 467.3 MB, free: 3.801 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003012/0.14, allocations: 59.67 kB / 467.3 MB, free: 3.742 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.1402, allocations: 190.7 kB / 467.5 MB, free: 3.516 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.1402, allocations: 4 kB / 467.5 MB, free: 3.512 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.1403, allocations: 8 kB / 467.5 MB, free: 3.504 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000386/0.1406, allocations: 245.4 kB / 467.8 MB, free: 3.262 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.1407, allocations: 0 / 467.8 MB, free: 3.262 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.1407, allocations: 0 / 467.8 MB, free: 3.262 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.1407, allocations: 19.95 kB / 467.8 MB, free: 3.242 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000393/0.1411, allocations: 224.5 kB / 468 MB, free: 3.023 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003255/0.1414, allocations: 360 kB / 468.3 MB, free: 2.617 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009037/0.1424, allocations: 351.1 kB / 468.7 MB, free: 2.266 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000302/0.1427, allocations: 254 kB / 468.9 MB, free: 2.016 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04542/0.1881, allocations: 27.87 MB / 496.8 MB, free: 1.344 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.1882, allocations: 34.56 kB / 496.8 MB, free: 1.301 MB / 362.7 MB Notification: Performance of pre-optimization done (n=73): time 2.474e-06/0.1882, allocations: 0 / 496.8 MB, free: 1.301 MB / 362.7 MB Notification: Performance of matching and sorting (n=73): time 0.001119/0.1893, allocations: 0.6895 MB / 497.5 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.1894, allocations: 55.41 kB / 497.6 MB, free: 0.5352 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.19e-05/0.1895, allocations: 113.8 kB / 497.7 MB, free: 424 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.1895, allocations: 25.7 kB / 497.7 MB, free: 392 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.569e-05/0.1895, allocations: 89.39 kB / 497.8 MB, free: 300 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001651/0.1897, allocations: 232.4 kB / 498 MB, free: 64 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.008e-05/0.1897, allocations: 4 kB / 498 MB, free: 60 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1899, allocations: 330.8 kB / 498.4 MB, free: 15.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002628/0.1901, allocations: 188.5 kB / 498.5 MB, free: 15.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.1904, allocations: 175.2 kB / 498.7 MB, free: 15.37 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005812/0.191, allocations: 436.7 kB / 499.1 MB, free: 14.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.191, allocations: 3.938 kB / 499.1 MB, free: 14.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006656/0.1917, allocations: 478.6 kB / 499.6 MB, free: 14.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.1917, allocations: 8 kB / 499.6 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.1917, allocations: 0 / 499.6 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.1917, allocations: 0 / 499.6 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.1919, allocations: 31.92 kB / 499.7 MB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.1919, allocations: 3.938 kB / 499.7 MB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/0.1921, allocations: 35.58 kB / 499.7 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/0.1921, allocations: 15.98 kB / 499.7 MB, free: 14.37 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (sat_T.liq.phase,sat_T.vap.phase,sat_p.liq.phase,sat_p.vap.phase,sat_dl.liq.phase,sat_dl.vap.phase,sat_dv.liq.phase,sat_dv.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001323/0.1923, allocations: 129.8 kB / 499.8 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.642e-05/0.1923, allocations: 23.72 kB / 499.9 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009738/0.1933, allocations: 0.7832 MB / 0.4889 GB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/0.1933, allocations: 7.984 kB / 0.4889 GB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1933, allocations: 3.938 kB / 0.4889 GB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1933, allocations: 0 / 0.4889 GB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000362/0.1937, allocations: 424.2 kB / 0.4893 GB, free: 12.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1937, allocations: 3.938 kB / 0.4893 GB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.1939, allocations: 31.97 kB / 0.4894 GB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.1939, allocations: 0 / 0.4894 GB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.1939, allocations: 15.98 kB / 0.4894 GB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1939, allocations: 0 / 0.4894 GB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1939, allocations: 3.938 kB / 0.4894 GB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006976/0.1946, allocations: 0.527 MB / 0.4899 GB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.1947, allocations: 116.6 kB / 0.49 GB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.1948, allocations: 4 kB / 0.49 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.1949, allocations: 11.98 kB / 0.49 GB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.789e-05/0.195, allocations: 15.92 kB / 0.49 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.195, allocations: 4 kB / 0.49 GB, free: 12.17 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.865e-05/0.1951, allocations: 87.27 kB / 0.4901 GB, free: 12.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1951, allocations: 0 / 0.4901 GB, free: 12.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001831/0.1969, allocations: 0.7067 MB / 0.4908 GB, free: 11.38 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (sat_T.liq.phase,sat_T.vap.phase,sat_p.liq.phase,sat_p.vap.phase,sat_dl.liq.phase,sat_dl.vap.phase,sat_dv.liq.phase,sat_dv.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.003272/0.2002, allocations: 1.043 MB / 0.4918 GB, free: 10.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007504/0.201, allocations: 445.6 kB / 0.4923 GB, free: 9.891 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.201, allocations: 0 / 0.4923 GB, free: 9.891 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000346/0.2013, allocations: 260.7 kB / 0.4925 GB, free: 9.633 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.2025, allocations: 235.7 kB / 0.4927 GB, free: 9.402 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009927/0.2035, allocations: 0.6653 MB / 0.4934 GB, free: 8.711 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.2038, allocations: 0.7537 MB / 0.4941 GB, free: 7.934 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003604/0.2042, allocations: 196 kB / 0.4943 GB, free: 7.738 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.454e-05/0.2042, allocations: 27.42 kB / 0.4943 GB, free: 7.715 MB / 378.7 MB Notification: Performance of SimCode: time 5.81e-07/0.2042, allocations: 0 / 0.4943 GB, free: 7.715 MB / 378.7 MB Notification: Performance of Templates: time 0.2213/0.4256, allocations: 26.16 MB / 0.5199 GB, free: 81.64 MB / 378.7 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe 2>&1)