Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.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.BaseProps_sweep,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep") translateModel(HelmholtzMedia.Examples.BaseProps_sweep,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001432, allocations: 178.2 kB / 15.43 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.07711/0.07711, allocations: 9.311 MB / 25.49 MB, free: 3.207 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.308/1.308, allocations: 225.7 MB / 253.5 MB, free: 5.621 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.0007928/0.0007927, allocations: 95.38 kB / 306.3 MB, free: 3.402 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003344/0.0003345, allocations: 8 kB / 369.1 MB, free: 4.566 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2854, allocations: 52 MB / 421.1 MB, free: 48.31 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BaseProps_sweep): time 0.0192/0.3046, allocations: 18.8 MB / 439.9 MB, free: 34.01 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02536/0.33, allocations: 36.77 MB / 476.7 MB, free: 15.59 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003649/0.3305, allocations: 4 kB / 476.7 MB, free: 15.59 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00123/0.3317, allocations: 370.4 kB / 477 MB, free: 15.22 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004395/0.3321, allocations: 123.2 kB / 477.2 MB, free: 15.1 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02709/0.3593, allocations: 8.133 MB / 485.3 MB, free: 6.934 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005813/0.3599, allocations: 418.4 kB / 485.7 MB, free: 6.523 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.177e-05/0.3599, allocations: 20.39 kB / 485.7 MB, free: 6.504 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003068/0.3602, allocations: 155.3 kB / 485.9 MB, free: 6.352 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001921/0.3604, allocations: 123.5 kB / 486 MB, free: 6.23 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.93e-05/0.3605, allocations: 8 kB / 486 MB, free: 6.223 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02024/0.3807, allocations: 9.512 MB / 495.5 MB, free: 12.69 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.3809, allocations: 43.81 kB / 495.5 MB, free: 12.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002018/0.3811, allocations: 129.2 kB / 495.7 MB, free: 12.51 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01439/0.3955, allocations: 4.591 MB / 0.4885 GB, free: 7.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3955, allocations: 0 / 0.4885 GB, free: 7.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3955, allocations: 0 / 0.4885 GB, free: 7.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.3956, allocations: 0 / 0.4885 GB, free: 7.91 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.002746/0.3983, allocations: 1.115 MB / 0.4896 GB, free: 6.746 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.3984, allocations: 8.031 kB / 0.4896 GB, free: 6.738 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000231/0.3986, allocations: 43.64 kB / 0.4897 GB, free: 6.695 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.3989, allocations: 218.6 kB / 0.4899 GB, free: 6.441 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.629e-05/0.3989, allocations: 19.92 kB / 0.4899 GB, free: 6.422 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.3989, allocations: 12 kB / 0.4899 GB, free: 6.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006038/0.3996, allocations: 267.5 kB / 0.4902 GB, free: 6.125 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3996, allocations: 4 kB / 0.4902 GB, free: 6.121 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.3996, allocations: 3.984 kB / 0.4902 GB, free: 6.117 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.3996, allocations: 8 kB / 0.4902 GB, free: 6.109 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006529/0.4003, allocations: 255.9 kB / 0.4904 GB, free: 5.855 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.4013, allocations: 1.09 MB / 0.4915 GB, free: 4.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005055/0.4018, allocations: 258.3 kB / 0.4917 GB, free: 4.371 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003202/0.4022, allocations: 167.4 kB / 0.4919 GB, free: 4.195 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07519/0.4774, allocations: 45.2 MB / 0.536 GB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.263e-05/0.4774, allocations: 38.56 kB / 0.5361 GB, free: 15.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 2.424e-06/0.4775, allocations: 0 / 0.5361 GB, free: 15.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.00145/0.4789, allocations: 0.4925 MB / 0.5366 GB, free: 14.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.464e-05/0.479, allocations: 136.5 kB / 0.5367 GB, free: 14.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.4792, allocations: 175.1 kB / 0.5369 GB, free: 14.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.4792, allocations: 29.7 kB / 0.5369 GB, free: 14.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.041e-05/0.4793, allocations: 120.4 kB / 0.537 GB, free: 14.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.392e-05/0.4794, allocations: 90.64 kB / 0.5371 GB, free: 14 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.269e-05/0.4794, allocations: 4 kB / 0.5371 GB, free: 14 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.4795, allocations: 334.8 kB / 0.5374 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002924/0.4798, allocations: 123.9 kB / 0.5375 GB, free: 13.54 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002928/0.4801, allocations: 175 kB / 0.5377 GB, free: 13.35 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005865/0.4807, allocations: 310.5 kB / 0.538 GB, free: 13.02 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.4807, allocations: 4 kB / 0.538 GB, free: 13.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006983/0.4814, allocations: 350 kB / 0.5383 GB, free: 12.67 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.4815, allocations: 4.938 kB / 0.5383 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.4815, allocations: 4.188 kB / 0.5383 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.4815, allocations: 4 kB / 0.5383 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000265/0.4818, allocations: 59.88 kB / 0.5384 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.4818, allocations: 0 / 0.5384 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.482, allocations: 51.61 kB / 0.5385 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.482, allocations: 15.92 kB / 0.5385 GB, free: 12.54 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (medium.state.phase,medium.sat.liq.phase,medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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.0001248/0.4822, allocations: 133.8 kB / 0.5386 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.865e-05/0.4822, allocations: 15.81 kB / 0.5386 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006556/0.4829, allocations: 383.6 kB / 0.539 GB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.4829, allocations: 4.188 kB / 0.539 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.483, allocations: 4 kB / 0.539 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.483, allocations: 3.938 kB / 0.539 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004781/0.4834, allocations: 325.6 kB / 0.5393 GB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.4835, allocations: 3.984 kB / 0.5393 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/0.4837, allocations: 47.91 kB / 0.5393 GB, free: 11.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.4837, allocations: 4 kB / 0.5394 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.4837, allocations: 7.984 kB / 0.5394 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.4837, allocations: 4 kB / 0.5394 GB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.4837, allocations: 0 / 0.5394 GB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000791/0.4845, allocations: 0.6664 MB / 0.54 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.321e-05/0.4846, allocations: 104.8 kB / 0.5401 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/0.4847, allocations: 8 kB / 0.5401 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003085/0.485, allocations: 23.98 kB / 0.5401 GB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.389e-05/0.4851, allocations: 31.84 kB / 0.5402 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.4851, allocations: 11.98 kB / 0.5402 GB, free: 10.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.911e-05/0.4852, allocations: 125.2 kB / 0.5403 GB, free: 10.56 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4852, allocations: 0 / 0.5403 GB, free: 10.56 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002034/0.4872, allocations: 0.7963 MB / 0.5411 GB, free: 9.762 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($cse1.phase,medium.state.phase,medium.sat.liq.phase,medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * 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.003351/0.4906, allocations: 1.182 MB / 0.5422 GB, free: 8.566 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007252/0.4913, allocations: 303.9 kB / 0.5425 GB, free: 8.27 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4913, allocations: 4.125 kB / 0.5425 GB, free: 8.266 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003503/0.4917, allocations: 184.1 kB / 0.5427 GB, free: 8.086 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008539/0.4926, allocations: 99.23 kB / 0.5428 GB, free: 7.992 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000823/0.4934, allocations: 0.5878 MB / 0.5434 GB, free: 7.371 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.4937, allocations: 0.744 MB / 0.5441 GB, free: 6.602 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001941/0.4939, allocations: 52.34 kB / 0.5442 GB, free: 6.551 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.304e-05/0.494, allocations: 23.44 kB / 0.5442 GB, free: 6.527 MB / 426.7 MB Notification: Performance of SimCode: time 3.11e-07/0.494, allocations: 0 / 0.5442 GB, free: 6.527 MB / 426.7 MB Notification: Performance of Templates: time 0.1977/0.6917, allocations: 23.83 MB / 0.5674 GB, free: 130.3 MB / 426.7 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe 2>&1)