Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_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_Ts_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_Ts_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_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.0009214/0.0009215, allocations: 177.9 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.06928/0.06928, allocations: 9.309 MB / 25.49 MB, free: 3.445 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.376/1.376, allocations: 225.7 MB / 253.5 MB, free: 10.07 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.0009131/0.0009132, allocations: 94.11 kB / 306.3 MB, free: 14.08 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003508, allocations: 9.453 kB / 369.1 MB, free: 53.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09583/0.0962, allocations: 52.02 MB / 421.1 MB, free: 18.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_Ts_parameter): time 0.01345/0.1097, allocations: 17.87 MB / 439 MB, free: 452 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001753/0.1115, allocations: 2.077 MB / 441.1 MB, free: 14.3 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.028e-05/0.1115, allocations: 4 kB / 441.1 MB, free: 14.3 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005701/0.1121, allocations: 237.4 kB / 441.3 MB, free: 14.07 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 2.982e-05/0.1122, allocations: 19.91 kB / 441.3 MB, free: 14.05 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007049/0.1192, allocations: 2.42 MB / 443.7 MB, free: 11.62 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.1193, allocations: 51.73 kB / 443.8 MB, free: 11.57 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.917e-05/0.1194, allocations: 4 kB / 443.8 MB, free: 11.57 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.059e-05/0.1195, allocations: 27.86 kB / 443.8 MB, free: 11.54 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.435e-05/0.1195, allocations: 7.938 kB / 443.8 MB, free: 11.54 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.456e-06/0.1195, allocations: 4 kB / 443.8 MB, free: 11.53 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006129/0.1257, allocations: 4.26 MB / 448.1 MB, free: 7.262 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.496e-05/0.1257, allocations: 7.922 kB / 448.1 MB, free: 7.254 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.513e-05/0.1258, allocations: 41.64 kB / 448.1 MB, free: 7.207 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002786/0.1286, allocations: 1.882 MB / 450 MB, free: 5.32 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1286, allocations: 0 / 450 MB, free: 5.32 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1286, allocations: 7.938 kB / 450 MB, free: 5.312 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.1286, allocations: 0 / 450 MB, free: 5.312 MB / 314.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.0005907/0.1292, allocations: 0.4914 MB / 450.5 MB, free: 4.773 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.1292, allocations: 8.031 kB / 450.5 MB, free: 4.766 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.723e-05/0.1293, allocations: 7.906 kB / 450.5 MB, free: 4.758 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.1294, allocations: 170.9 kB / 450.7 MB, free: 4.551 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.1294, allocations: 0 / 450.7 MB, free: 4.551 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-06/0.1294, allocations: 0 / 450.7 MB, free: 4.551 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.451e-05/0.1295, allocations: 45.64 kB / 450.8 MB, free: 4.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.1295, allocations: 4 kB / 450.8 MB, free: 4.496 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.1295, allocations: 0 / 450.8 MB, free: 4.496 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.1295, allocations: 0 / 450.8 MB, free: 4.496 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.419e-05/0.1296, allocations: 15.98 kB / 450.8 MB, free: 4.48 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/0.1297, allocations: 165.6 kB / 450.9 MB, free: 4.27 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.511e-05/0.1298, allocations: 26.58 kB / 451 MB, free: 4.234 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.283e-05/0.1298, allocations: 16.89 kB / 451 MB, free: 4.215 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02606/0.1559, allocations: 18.94 MB / 469.9 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.156, allocations: 38.5 kB / 470 MB, free: 13.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.435e-06/0.156, allocations: 0 / 470 MB, free: 13.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001816/0.1562, allocations: 77.66 kB / 470 MB, free: 13.76 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/0.1562, allocations: 55.44 kB / 470.1 MB, free: 13.7 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.16e-05/0.1563, allocations: 93.86 kB / 470.2 MB, free: 13.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.1563, allocations: 25.7 kB / 470.2 MB, free: 13.56 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.611e-05/0.1563, allocations: 84.14 kB / 470.3 MB, free: 13.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.1564, allocations: 27.58 kB / 470.3 MB, free: 13.45 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.623e-06/0.1564, allocations: 0 / 470.3 MB, free: 13.45 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.662e-05/0.1565, allocations: 318.8 kB / 470.6 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.515e-05/0.1565, allocations: 8.125 kB / 470.6 MB, free: 13.12 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.609e-05/0.1565, allocations: 23.92 kB / 470.6 MB, free: 13.1 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.903e-05/0.1565, allocations: 25.17 kB / 470.7 MB, free: 13.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1566, allocations: 0 / 470.7 MB, free: 13.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.766e-05/0.1566, allocations: 65.67 kB / 470.7 MB, free: 13 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1566, allocations: 4 kB / 470.7 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1567, allocations: 0 / 470.7 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.1567, allocations: 4 kB / 470.7 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.1567, allocations: 0 / 470.7 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1567, allocations: 3.984 kB / 470.7 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.226e-05/0.1567, allocations: 3.969 kB / 470.8 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.1567, allocations: 4 kB / 470.8 MB, free: 12.98 MB / 346.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 6.66e-05/0.1568, allocations: 113.8 kB / 470.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-06/0.1568, allocations: 0 / 470.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/0.1569, allocations: 174.7 kB / 471 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.103e-05/0.157, allocations: 188.2 kB / 471.2 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.571e-05/0.1571, allocations: 184.2 kB / 471.4 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.792e-05/0.1571, allocations: 176.3 kB / 471.6 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.1573, allocations: 413.1 kB / 472 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.744e-05/0.1573, allocations: 105 kB / 472.1 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.001e-05/0.1574, allocations: 105 kB / 472.2 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.036e-05/0.1574, allocations: 180.2 kB / 472.4 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.613e-05/0.1575, allocations: 180.3 kB / 472.5 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.984e-05/0.1575, allocations: 188.2 kB / 472.7 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.586e-05/0.1576, allocations: 176.3 kB / 472.9 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.1577, allocations: 319.6 kB / 473.2 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.032e-05/0.1578, allocations: 198 kB / 473.4 MB, free: 10.13 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.148e-05/0.1579, allocations: 180.5 kB / 473.6 MB, free: 9.949 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.378e-05/0.158, allocations: 101 kB / 473.7 MB, free: 9.844 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.906e-05/0.158, allocations: 184.3 kB / 473.9 MB, free: 9.656 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.065e-05/0.1581, allocations: 116.8 kB / 474 MB, free: 9.535 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.374e-05/0.1581, allocations: 95.28 kB / 474.1 MB, free: 9.441 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1581, allocations: 4 kB / 474.1 MB, free: 9.438 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009806/0.1591, allocations: 383.9 kB / 474.4 MB, free: 9.062 MB / 346.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.001569/0.1607, allocations: 0.7323 MB / 475.2 MB, free: 8.324 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.378e-05/0.1608, allocations: 23.92 kB / 475.2 MB, free: 8.301 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1608, allocations: 4.062 kB / 475.2 MB, free: 8.297 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.1608, allocations: 0 / 475.2 MB, free: 8.297 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004867/0.1613, allocations: 0.5422 MB / 475.7 MB, free: 7.75 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002592/0.1616, allocations: 231.6 kB / 476 MB, free: 7.492 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.1618, allocations: 0.6731 MB / 476.6 MB, free: 6.793 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.194e-05/0.1619, allocations: 4 kB / 476.6 MB, free: 6.789 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.718e-06/0.1619, allocations: 7.438 kB / 476.6 MB, free: 6.781 MB / 346.7 MB Notification: Performance of SimCode: time 1.81e-07/0.1619, allocations: 4 kB / 476.7 MB, free: 6.777 MB / 346.7 MB Notification: Performance of Templates: time 0.01901/0.1809, allocations: 14.12 MB / 490.8 MB, free: 8.66 MB / 362.7 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe 2>&1)