Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.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.Parameter.State_ps_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_ps_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 179.1 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.05708/0.05708, allocations: 9.31 MB / 25.49 MB, free: 3.312 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.44/1.44, allocations: 225.7 MB / 253.5 MB, free: 10.19 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.0007577/0.000758, allocations: 95.88 kB / 306.3 MB, free: 14.04 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003245/0.0003248, allocations: 6.219 kB / 369.1 MB, free: 53.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09749/0.09783, allocations: 52.03 MB / 421.1 MB, free: 18.75 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ps_parameter): time 0.01375/0.1116, allocations: 17.88 MB / 439 MB, free: 372 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01095/0.1226, allocations: 11.64 MB / 450.6 MB, free: 4.371 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.038e-05/0.1227, allocations: 0 / 450.6 MB, free: 4.371 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007597/0.1235, allocations: 241 kB / 450.9 MB, free: 4.137 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 4.792e-05/0.1236, allocations: 31.83 kB / 450.9 MB, free: 4.105 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01416/0.1377, allocations: 4.77 MB / 455.7 MB, free: 15.32 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.1378, allocations: 47.73 kB / 455.7 MB, free: 15.27 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.147e-05/0.1379, allocations: 4 kB / 455.7 MB, free: 15.27 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.847e-05/0.138, allocations: 31.8 kB / 455.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.809e-05/0.138, allocations: 4 kB / 455.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.248e-06/0.1381, allocations: 4 kB / 455.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01298/0.151, allocations: 7.303 MB / 463.1 MB, free: 7.902 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/0.1511, allocations: 11.94 kB / 463.1 MB, free: 7.891 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.808e-05/0.1512, allocations: 41.64 kB / 463.1 MB, free: 7.844 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007916/0.1591, allocations: 3.484 MB / 466.6 MB, free: 4.352 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.1592, allocations: 0 / 466.6 MB, free: 4.352 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1592, allocations: 0 / 466.6 MB, free: 4.352 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1592, allocations: 0 / 466.6 MB, free: 4.352 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001398/0.1606, allocations: 0.7371 MB / 467.3 MB, free: 3.566 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.1606, allocations: 12.03 kB / 467.4 MB, free: 3.555 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.378e-05/0.1607, allocations: 11.78 kB / 467.4 MB, free: 3.543 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.1608, allocations: 167 kB / 467.5 MB, free: 3.34 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.1608, allocations: 4 kB / 467.5 MB, free: 3.336 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.254e-06/0.1608, allocations: 4 kB / 467.5 MB, free: 3.332 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.1609, allocations: 41.62 kB / 467.6 MB, free: 3.285 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.161, allocations: 4 kB / 467.6 MB, free: 3.281 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.161, allocations: 0 / 467.6 MB, free: 3.281 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.161, allocations: 0 / 467.6 MB, free: 3.281 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.844e-05/0.161, allocations: 19.92 kB / 467.6 MB, free: 3.262 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001637/0.1612, allocations: 157.7 kB / 467.8 MB, free: 3.059 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.068e-05/0.1613, allocations: 30.58 kB / 467.8 MB, free: 3.02 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.545e-05/0.1613, allocations: 24.89 kB / 467.8 MB, free: 2.992 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05214/0.2134, allocations: 32.39 MB / 0.4885 GB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.707e-05/0.2135, allocations: 34.55 kB / 0.4885 GB, free: 12.78 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.444e-06/0.2135, allocations: 4 kB / 0.4885 GB, free: 12.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002468/0.2138, allocations: 73.62 kB / 0.4886 GB, free: 12.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.2138, allocations: 51.41 kB / 0.4886 GB, free: 12.63 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.038e-05/0.2139, allocations: 97.77 kB / 0.4887 GB, free: 12.53 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.214, allocations: 25.7 kB / 0.4887 GB, free: 12.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.564e-05/0.214, allocations: 84.14 kB / 0.4888 GB, free: 12.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.097e-05/0.2141, allocations: 23.73 kB / 0.4889 GB, free: 12.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.2141, allocations: 0 / 0.4889 GB, free: 12.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.2142, allocations: 318.9 kB / 0.4892 GB, free: 12.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.083e-05/0.2142, allocations: 12 kB / 0.4892 GB, free: 12.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.823e-05/0.2142, allocations: 11.98 kB / 0.4892 GB, free: 12.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.873e-05/0.2143, allocations: 36.84 kB / 0.4892 GB, free: 12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2143, allocations: 0 / 0.4892 GB, free: 12 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.732e-05/0.2144, allocations: 69.89 kB / 0.4893 GB, free: 11.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.2144, allocations: 4 kB / 0.4893 GB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.2144, allocations: 3.938 kB / 0.4893 GB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.2145, allocations: 3.984 kB / 0.4893 GB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/0.2145, allocations: 64 / 0.4893 GB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.2145, allocations: 7.984 kB / 0.4893 GB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.849e-05/0.2145, allocations: 4 kB / 0.4893 GB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.2145, allocations: 3.938 kB / 0.4893 GB, free: 11.9 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: 1 (inletState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * 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.0001116/0.2147, allocations: 105.8 kB / 0.4894 GB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.539e-05/0.2147, allocations: 4 kB / 0.4894 GB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001764/0.2149, allocations: 182.6 kB / 0.4896 GB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.514e-05/0.2149, allocations: 184.2 kB / 0.4898 GB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.824e-05/0.215, allocations: 184.3 kB / 0.4899 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.869e-05/0.2151, allocations: 176.3 kB / 0.4901 GB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002632/0.2153, allocations: 413.1 kB / 0.4905 GB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.227e-05/0.2154, allocations: 105 kB / 0.4906 GB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.405e-05/0.2154, allocations: 108.9 kB / 0.4907 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.977e-05/0.2155, allocations: 180.3 kB / 0.4909 GB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.086e-05/0.2155, allocations: 180.4 kB / 0.491 GB, free: 9.973 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.175e-05/0.2156, allocations: 184.2 kB / 0.4912 GB, free: 9.785 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.79e-05/0.2156, allocations: 188.2 kB / 0.4914 GB, free: 9.594 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.2158, allocations: 307.8 kB / 0.4917 GB, free: 9.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.9e-05/0.2159, allocations: 193.9 kB / 0.4919 GB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.537e-05/0.216, allocations: 188.1 kB / 0.4921 GB, free: 8.863 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.114e-05/0.2161, allocations: 105 kB / 0.4922 GB, free: 8.754 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.2161, allocations: 180.2 kB / 0.4923 GB, free: 8.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-05/0.2162, allocations: 109 kB / 0.4924 GB, free: 8.457 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.622e-05/0.2162, allocations: 99.27 kB / 0.4925 GB, free: 8.359 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2162, allocations: 0 / 0.4925 GB, free: 8.359 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002116/0.2184, allocations: 0.8511 MB / 0.4934 GB, free: 7.508 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.00376/0.2221, allocations: 1.423 MB / 0.4948 GB, free: 6.074 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.488e-05/0.2222, allocations: 19.98 kB / 0.4948 GB, free: 6.055 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.2222, allocations: 4.062 kB / 0.4948 GB, free: 6.051 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.054e-06/0.2222, allocations: 0 / 0.4948 GB, free: 6.051 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005336/0.2228, allocations: 0.5458 MB / 0.4953 GB, free: 5.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000289/0.2231, allocations: 233.3 kB / 0.4955 GB, free: 5.242 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.2233, allocations: 0.6731 MB / 0.4962 GB, free: 4.543 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.357e-05/0.2234, allocations: 0 / 0.4962 GB, free: 4.543 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.377e-05/0.2234, allocations: 15.38 kB / 0.4962 GB, free: 4.527 MB / 378.7 MB Notification: Performance of SimCode: time 4.3e-07/0.2234, allocations: 4 kB / 0.4962 GB, free: 4.523 MB / 378.7 MB Notification: Performance of Templates: time 0.1879/0.4113, allocations: 23.4 MB / 0.5191 GB, free: 80.71 MB / 378.7 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe 2>&1)