Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_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_ph_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_ph_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_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.001713/0.001712, allocations: 180.9 kB / 15.43 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05082/0.05082, allocations: 9.313 MB / 25.49 MB, free: 3.438 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.344/1.344, allocations: 225.7 MB / 253.5 MB, free: 10.2 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.0007497/0.0007496, allocations: 89.58 kB / 306.3 MB, free: 14.08 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003285/0.0003285, allocations: 8 kB / 369.1 MB, free: 53.67 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1004, allocations: 52.03 MB / 421.1 MB, free: 18.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ph_parameter): time 0.01409/0.1146, allocations: 17.81 MB / 438.9 MB, free: 492 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009953/0.1246, allocations: 10.88 MB / 449.8 MB, free: 5.266 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.527e-05/0.1247, allocations: 0 / 449.8 MB, free: 5.266 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007476/0.1254, allocations: 237 kB / 450.1 MB, free: 5.035 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 4.697e-05/0.1255, allocations: 19.84 kB / 450.1 MB, free: 5.016 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01405/0.1395, allocations: 4.271 MB / 454.3 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 9.619e-05/0.1396, allocations: 43.75 kB / 454.4 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.615e-05/0.1397, allocations: 4 kB / 454.4 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.417e-05/0.1398, allocations: 19.92 kB / 454.4 MB, free: 0.668 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.314e-05/0.1399, allocations: 15.94 kB / 454.4 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.358e-06/0.1399, allocations: 0 / 454.4 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0118/0.1517, allocations: 6.543 MB / 461 MB, free: 10.09 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.665e-05/0.1517, allocations: 3.984 kB / 461 MB, free: 10.08 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.663e-05/0.1518, allocations: 41.47 kB / 461 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008461/0.1603, allocations: 3.165 MB / 464.2 MB, free: 6.867 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.1603, allocations: 4 kB / 464.2 MB, free: 6.863 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1603, allocations: 0 / 464.2 MB, free: 6.863 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.9e-06/0.1604, allocations: 0 / 464.2 MB, free: 6.863 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.001455/0.1618, allocations: 0.6864 MB / 464.9 MB, free: 6.129 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.1619, allocations: 16.02 kB / 464.9 MB, free: 6.113 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.601e-05/0.1619, allocations: 3.906 kB / 464.9 MB, free: 6.109 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.162, allocations: 167 kB / 465 MB, free: 5.906 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.1621, allocations: 0 / 465 MB, free: 5.906 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.283e-06/0.1621, allocations: 4 kB / 465.1 MB, free: 5.902 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.1622, allocations: 33.7 kB / 465.1 MB, free: 5.863 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.1622, allocations: 3.984 kB / 465.1 MB, free: 5.859 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.1622, allocations: 0 / 465.1 MB, free: 5.859 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.1623, allocations: 8 kB / 465.1 MB, free: 5.852 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.811e-05/0.1623, allocations: 12 kB / 465.1 MB, free: 5.84 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001889/0.1625, allocations: 165.6 kB / 465.3 MB, free: 5.629 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.547e-05/0.1625, allocations: 34.52 kB / 465.3 MB, free: 5.586 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.946e-05/0.1626, allocations: 24.88 kB / 465.3 MB, free: 5.559 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02382/0.1864, allocations: 13.69 MB / 479 MB, free: 5.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.1865, allocations: 34.56 kB / 479 MB, free: 5.438 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.164e-06/0.1865, allocations: 0 / 479 MB, free: 5.438 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002271/0.1867, allocations: 77.66 kB / 479.1 MB, free: 5.355 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.1868, allocations: 51.41 kB / 479.2 MB, free: 5.293 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.445e-05/0.1869, allocations: 101.8 kB / 479.3 MB, free: 5.184 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.1869, allocations: 25.7 kB / 479.3 MB, free: 5.152 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.356e-05/0.1869, allocations: 84.14 kB / 479.4 MB, free: 5.066 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.596e-05/0.187, allocations: 19.59 kB / 479.4 MB, free: 5.047 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.187, allocations: 3.938 kB / 479.4 MB, free: 5.043 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1872, allocations: 326.8 kB / 479.7 MB, free: 4.715 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.213e-05/0.1872, allocations: 8 kB / 479.7 MB, free: 4.707 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.842e-05/0.1872, allocations: 12.12 kB / 479.7 MB, free: 4.695 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.612e-05/0.1873, allocations: 37.19 kB / 479.8 MB, free: 4.656 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1873, allocations: 0 / 479.8 MB, free: 4.656 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001201/0.1874, allocations: 65.66 kB / 479.8 MB, free: 4.586 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.1875, allocations: 4 kB / 479.8 MB, free: 4.582 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1875, allocations: 0 / 479.8 MB, free: 4.582 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.1875, allocations: 3.938 kB / 479.8 MB, free: 4.578 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.333e-06/0.1875, allocations: 0 / 479.8 MB, free: 4.578 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.1875, allocations: 7.984 kB / 479.9 MB, free: 4.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.7e-05/0.1875, allocations: 7.844 kB / 479.9 MB, free: 4.562 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.1876, allocations: 0 / 479.9 MB, free: 4.562 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 9.601e-05/0.1877, allocations: 113.9 kB / 480 MB, free: 4.441 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.191e-05/0.1877, allocations: 4 kB / 480 MB, free: 4.438 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001914/0.1879, allocations: 162.9 kB / 480.1 MB, free: 4.254 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.353e-05/0.188, allocations: 188.2 kB / 480.3 MB, free: 4.062 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.174e-05/0.1881, allocations: 176.3 kB / 480.5 MB, free: 3.883 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.031e-05/0.1882, allocations: 184.2 kB / 480.7 MB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003031/0.1885, allocations: 417 kB / 481.1 MB, free: 3.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-05/0.1885, allocations: 105 kB / 481.2 MB, free: 3.121 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.696e-05/0.1886, allocations: 112.9 kB / 481.3 MB, free: 3.004 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.624e-05/0.1887, allocations: 180.3 kB / 481.5 MB, free: 2.82 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.57e-05/0.1888, allocations: 184.3 kB / 481.7 MB, free: 2.633 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.398e-05/0.1889, allocations: 184.2 kB / 481.8 MB, free: 2.445 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.938e-05/0.189, allocations: 176.3 kB / 482 MB, free: 2.266 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.1891, allocations: 311.7 kB / 482.3 MB, free: 1.938 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.1892, allocations: 198 kB / 482.5 MB, free: 1.719 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.834e-05/0.1893, allocations: 176.3 kB / 482.7 MB, free: 1.539 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.695e-05/0.1894, allocations: 101 kB / 482.8 MB, free: 1.434 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.665e-05/0.1895, allocations: 184.2 kB / 483 MB, free: 1.246 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.365e-05/0.1896, allocations: 112.8 kB / 483.1 MB, free: 1.129 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.069e-05/0.1897, allocations: 103.2 kB / 483.2 MB, free: 1.027 MB / 346.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1897, allocations: 0 / 483.2 MB, free: 1.027 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002346/0.192, allocations: 0.7418 MB / 483.9 MB, free: 292 kB / 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.003651/0.1957, allocations: 1.26 MB / 485.2 MB, free: 15.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.093e-05/0.1958, allocations: 12 kB / 485.2 MB, free: 15 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.1958, allocations: 4 kB / 485.2 MB, free: 15 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.104e-05/0.1958, allocations: 8.062 kB / 485.2 MB, free: 14.99 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005845/0.1964, allocations: 0.5512 MB / 485.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002898/0.1967, allocations: 219.7 kB / 486 MB, free: 14.19 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.197, allocations: 0.677 MB / 486.6 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.346e-05/0.197, allocations: 0 / 486.6 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.631e-05/0.197, allocations: 15.38 kB / 486.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.197, allocations: 0 / 486.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of Templates: time 0.03122/0.2283, allocations: 21.76 MB / 0.4965 GB, free: 7.703 MB / 378.7 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe 2>&1)