Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.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.Validation.Derivatives_SaturationBoundary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary") translateModel(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 175.5 kB / 15.43 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.07992/0.07992, allocations: 9.306 MB / 25.49 MB, free: 3.254 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.412/1.412, allocations: 225.7 MB / 253.5 MB, free: 10.16 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.0008283/0.0008283, allocations: 97.98 kB / 306.3 MB, free: 14.04 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003424/0.0003426, allocations: 7.844 kB / 369.1 MB, free: 53.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09796/0.09832, allocations: 52.02 MB / 421.1 MB, free: 18.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary): time 0.01544/0.1138, allocations: 20.52 MB / 441.6 MB, free: 13.67 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01596/0.1298, allocations: 19.17 MB / 460.8 MB, free: 9.816 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005284/0.1304, allocations: 4 kB / 460.8 MB, free: 9.812 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001257/0.1317, allocations: 0.507 MB / 461.3 MB, free: 9.305 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01366/0.1453, allocations: 4.521 MB / 465.8 MB, free: 4.77 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002975/0.1483, allocations: 0.8515 MB / 466.7 MB, free: 3.914 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001135/0.1495, allocations: 0.7746 MB / 467.5 MB, free: 3.137 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.1496, allocations: 41.78 kB / 467.5 MB, free: 3.094 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006461/0.1503, allocations: 326.5 kB / 467.8 MB, free: 2.773 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005159/0.1508, allocations: 302.6 kB / 468.1 MB, free: 2.477 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.763e-05/0.1509, allocations: 28 kB / 468.1 MB, free: 2.449 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01635/0.1672, allocations: 8 MB / 476.1 MB, free: 10.43 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.1674, allocations: 95.53 kB / 476.2 MB, free: 10.34 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004236/0.1678, allocations: 296.2 kB / 476.5 MB, free: 10.04 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009793/0.1776, allocations: 3.955 MB / 480.5 MB, free: 6.074 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.1777, allocations: 3.984 kB / 480.5 MB, free: 6.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1777, allocations: 0 / 480.5 MB, free: 6.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.823e-05/0.1777, allocations: 0 / 480.5 MB, free: 6.07 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002467/0.1802, allocations: 1.158 MB / 481.6 MB, free: 4.863 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.1802, allocations: 12.03 kB / 481.7 MB, free: 4.852 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004424/0.1807, allocations: 95.12 kB / 481.7 MB, free: 4.758 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.1809, allocations: 230.3 kB / 482 MB, free: 4.492 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.217e-05/0.1809, allocations: 20.56 kB / 482 MB, free: 4.469 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.117e-05/0.181, allocations: 24 kB / 482 MB, free: 4.445 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/0.1825, allocations: 1.259 MB / 483.3 MB, free: 3.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.1825, allocations: 0 / 483.3 MB, free: 3.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.508e-05/0.1826, allocations: 15.94 kB / 483.3 MB, free: 3.164 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.592e-05/0.1826, allocations: 31.94 kB / 483.3 MB, free: 3.133 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002258/0.1849, allocations: 2.319 MB / 485.6 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002284/0.1872, allocations: 2.166 MB / 487.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001408/0.1886, allocations: 1.35 MB / 489.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001171/0.1898, allocations: 1.286 MB / 490.4 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01949/0.2093, allocations: 10.9 MB / 0.4896 GB, free: 15.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.837e-05/0.2094, allocations: 39.12 kB / 0.4896 GB, free: 15.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=185): time 3.497e-06/0.2094, allocations: 3.938 kB / 0.4896 GB, free: 15.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=185): time 0.00453/0.2139, allocations: 3.596 MB / 0.4931 GB, free: 11.58 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.214, allocations: 59.97 kB / 0.4932 GB, free: 11.51 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.2141, allocations: 113.8 kB / 0.4933 GB, free: 11.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.54e-05/0.2142, allocations: 37.7 kB / 0.4934 GB, free: 11.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.57e-05/0.2142, allocations: 83.08 kB / 0.4934 GB, free: 11.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004543/0.2147, allocations: 0.5771 MB / 0.494 GB, free: 10.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.907e-05/0.2147, allocations: 8 kB / 0.494 GB, free: 10.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.2149, allocations: 374.7 kB / 0.4944 GB, free: 10.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001083/0.216, allocations: 1.022 MB / 0.4954 GB, free: 9.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/0.217, allocations: 1.035 MB / 0.4964 GB, free: 8.234 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002434/0.2194, allocations: 2.233 MB / 0.4985 GB, free: 6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.2195, allocations: 0 / 0.4985 GB, free: 6 MB / 378.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.00276/0.2222, allocations: 2.344 MB / 0.5008 GB, free: 3.648 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.2223, allocations: 8 kB / 0.5008 GB, free: 3.641 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.2223, allocations: 0 / 0.5008 GB, free: 3.641 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.449e-05/0.2223, allocations: 0 / 0.5008 GB, free: 3.641 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007617/0.2231, allocations: 123.8 kB / 0.501 GB, free: 3.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.2231, allocations: 0 / 0.501 GB, free: 3.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005299/0.2237, allocations: 98.83 kB / 0.5011 GB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.12e-05/0.2237, allocations: 27.92 kB / 0.5011 GB, free: 3.395 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: 10 (sat.liq.phase,sat.vap.phase,sat_Tplus.liq.phase,sat_Tplus.vap.phase,sat_Tminus.liq.phase,sat_Tminus.vap.phase,sat_pplus.liq.phase,sat_pplus.vap.phase,sat_pminus.liq.phase,sat_pminus.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 61 * 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 prepare postOptimizeDAE: time 0.0002559/0.224, allocations: 157.8 kB / 0.5012 GB, free: 3.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001883/0.2242, allocations: 51.25 kB / 0.5013 GB, free: 3.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003513/0.2277, allocations: 2.648 MB / 0.5039 GB, free: 0.5156 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.513e-05/0.2278, allocations: 31.94 kB / 0.5039 GB, free: 496 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.2278, allocations: 0 / 0.5039 GB, free: 496 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.128e-06/0.2278, allocations: 7.922 kB / 0.5039 GB, free: 488 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2204/0.4482, allocations: 1.164 MB / 0.505 GB, free: 91.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.4483, allocations: 0 / 0.505 GB, free: 91.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006823/0.449, allocations: 137.9 kB / 0.5052 GB, free: 91.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.108e-05/0.449, allocations: 3.906 kB / 0.5052 GB, free: 91.55 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.151e-05/0.449, allocations: 19.62 kB / 0.5052 GB, free: 91.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.624e-06/0.449, allocations: 5.969 kB / 0.5052 GB, free: 91.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4491, allocations: 3.297 kB / 0.5052 GB, free: 91.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003082/0.4521, allocations: 2.337 MB / 0.5075 GB, free: 90.97 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002316/0.4524, allocations: 211.1 kB / 0.5077 GB, free: 90.83 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.191e-05/0.4524, allocations: 17.05 kB / 0.5077 GB, free: 90.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003363/0.4528, allocations: 23.91 kB / 0.5077 GB, free: 90.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/0.4529, allocations: 47.52 kB / 0.5078 GB, free: 90.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.603e-05/0.453, allocations: 31.58 kB / 0.5078 GB, free: 90.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.988e-05/0.453, allocations: 81.06 kB / 0.5079 GB, free: 90.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.453, allocations: 4.438 kB / 0.5079 GB, free: 90.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002548/0.4556, allocations: 0.8795 MB / 0.5087 GB, free: 90.65 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: 10 (sat.liq.phase,sat.vap.phase,sat_Tplus.liq.phase,sat_Tplus.vap.phase,sat_Tminus.liq.phase,sat_Tminus.vap.phase,sat_pplus.liq.phase,sat_pplus.vap.phase,sat_pminus.liq.phase,sat_pminus.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 77 * 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.003061/0.4587, allocations: 1.315 MB / 0.51 GB, free: 90.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002592/0.4613, allocations: 2.373 MB / 0.5123 GB, free: 89.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.4613, allocations: 0 / 0.5123 GB, free: 89.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001208/0.4625, allocations: 1.253 MB / 0.5136 GB, free: 88.72 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001628/0.4641, allocations: 341.5 kB / 0.5139 GB, free: 88.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002098/0.4662, allocations: 1.962 MB / 0.5158 GB, free: 87.56 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.4666, allocations: 0.892 MB / 0.5167 GB, free: 86.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006133/0.4672, allocations: 254.7 kB / 0.5169 GB, free: 86.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/0.4674, allocations: 63.16 kB / 0.517 GB, free: 86.8 MB / 378.7 MB Notification: Performance of SimCode: time 9.82e-07/0.4674, allocations: 0 / 0.517 GB, free: 86.8 MB / 378.7 MB Notification: Performance of Templates: time 0.04012/0.5075, allocations: 36.9 MB / 0.553 GB, free: 51.72 MB / 378.7 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe 2>&1)