Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7799/0.7799, allocations: 143.8 MB / 159.1 MB, free: 6.531 MB / 122.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 183.3 kB / 192 MB, free: 6.73 MB / 154.7 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.463/1.463, allocations: 225.7 MB / 450.4 MB, free: 4.992 MB / 330.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.000841/0.0008407, allocations: 106.5 kB / 0.5211 GB, free: 1.652 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001594/0.001594, allocations: 280.9 kB / 0.6025 GB, free: 49.28 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004642/0.0004644, allocations: 15.16 kB / 0.6948 GB, free: 59.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1823, allocations: 82.46 MB / 0.7753 GB, free: 14.33 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothLimit): time 0.001666/0.184, allocations: 1.17 MB / 0.7765 GB, free: 13.15 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.185, allocations: 0.8432 MB / 0.7773 GB, free: 12.23 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.816e-05/0.1851, allocations: 4 kB / 0.7773 GB, free: 12.22 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.663e-05/0.1851, allocations: 0 / 0.7773 GB, free: 12.22 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.868e-05/0.1852, allocations: 7.938 kB / 0.7773 GB, free: 12.21 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.1854, allocations: 39.89 kB / 0.7773 GB, free: 12.18 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 6.469e-05/0.1855, allocations: 27.92 kB / 0.7774 GB, free: 12.15 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.128e-05/0.1856, allocations: 0 / 0.7774 GB, free: 12.15 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.035e-05/0.1857, allocations: 23.91 kB / 0.7774 GB, free: 12.12 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.331e-05/0.1858, allocations: 7.938 kB / 0.7774 GB, free: 12.12 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.1858, allocations: 0 / 0.7774 GB, free: 12.12 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.1859, allocations: 51.89 kB / 0.7774 GB, free: 12.07 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.392e-05/0.1859, allocations: 8 kB / 0.7774 GB, free: 12.06 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.142e-05/0.186, allocations: 33.64 kB / 0.7775 GB, free: 12.02 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.1861, allocations: 68.06 kB / 0.7775 GB, free: 11.95 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1861, allocations: 0 / 0.7775 GB, free: 11.95 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1861, allocations: 3.938 kB / 0.7775 GB, free: 11.95 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.1861, allocations: 0 / 0.7775 GB, free: 11.95 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004327/0.1866, allocations: 339.5 kB / 0.7779 GB, free: 11.57 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.1866, allocations: 12.03 kB / 0.7779 GB, free: 11.56 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.998e-05/0.1867, allocations: 4.844 kB / 0.7779 GB, free: 11.55 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.1868, allocations: 184.2 kB / 0.7781 GB, free: 11.34 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.1868, allocations: 384 / 0.7781 GB, free: 11.34 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.1868, allocations: 384 / 0.7781 GB, free: 11.34 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.187, allocations: 50 kB / 0.7781 GB, free: 11.28 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.187, allocations: 0 / 0.7781 GB, free: 11.28 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.187, allocations: 0 / 0.7781 GB, free: 11.28 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.187, allocations: 0 / 0.7781 GB, free: 11.28 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.704e-05/0.1871, allocations: 27.98 kB / 0.7781 GB, free: 11.25 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003222/0.1874, allocations: 252.9 kB / 0.7784 GB, free: 10.96 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.431e-05/0.1875, allocations: 38.5 kB / 0.7784 GB, free: 10.91 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.878e-05/0.1876, allocations: 20.92 kB / 0.7784 GB, free: 10.89 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007882/0.1884, allocations: 0.4936 MB / 0.7789 GB, free: 10.3 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.1884, allocations: 30.56 kB / 0.7789 GB, free: 10.26 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.1884, allocations: 0 / 0.7789 GB, free: 10.26 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002406/0.1887, allocations: 73.67 kB / 0.779 GB, free: 10.18 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.1887, allocations: 59.38 kB / 0.7791 GB, free: 10.11 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.85e-05/0.1888, allocations: 105.8 kB / 0.7792 GB, free: 10 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.1888, allocations: 25.7 kB / 0.7792 GB, free: 9.969 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.831e-05/0.1889, allocations: 88.14 kB / 0.7793 GB, free: 9.879 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.391e-05/0.1889, allocations: 3.906 kB / 0.7793 GB, free: 9.875 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/0.1889, allocations: 0 / 0.7793 GB, free: 9.875 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.307e-05/0.189, allocations: 318.8 kB / 0.7796 GB, free: 9.555 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.297e-05/0.189, allocations: 12 kB / 0.7796 GB, free: 9.543 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.424e-05/0.1891, allocations: 15.98 kB / 0.7796 GB, free: 9.527 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.665e-05/0.1892, allocations: 32.78 kB / 0.7796 GB, free: 9.492 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1892, allocations: 0 / 0.7796 GB, free: 9.492 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001125/0.1893, allocations: 61.69 kB / 0.7797 GB, free: 9.426 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.1893, allocations: 11.94 kB / 0.7797 GB, free: 9.414 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1893, allocations: 0 / 0.7797 GB, free: 9.414 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.1893, allocations: 0 / 0.7797 GB, free: 9.414 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.064e-05/0.1894, allocations: 7.984 kB / 0.7797 GB, free: 9.406 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1894, allocations: 0 / 0.7797 GB, free: 9.406 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.266e-05/0.1895, allocations: 7.938 kB / 0.7797 GB, free: 9.398 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.1895, allocations: 0 / 0.7797 GB, free: 9.398 MB / 458.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 prepare postOptimizeDAE: time 8.846e-05/0.1896, allocations: 121.8 kB / 0.7798 GB, free: 9.27 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.113e-05/0.1896, allocations: 3.906 kB / 0.7799 GB, free: 9.266 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001744/0.1898, allocations: 61.2 kB / 0.7799 GB, free: 9.195 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1898, allocations: 0 / 0.7799 GB, free: 9.195 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1898, allocations: 0 / 0.7799 GB, free: 9.195 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.1898, allocations: 0 / 0.7799 GB, free: 9.195 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.19, allocations: 173.5 kB / 0.7801 GB, free: 8.977 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.19, allocations: 0 / 0.7801 GB, free: 8.977 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.094e-05/0.19, allocations: 8.031 kB / 0.7801 GB, free: 8.969 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.1901, allocations: 4 kB / 0.7801 GB, free: 8.965 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.1901, allocations: 3.984 kB / 0.7801 GB, free: 8.961 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.1901, allocations: 0 / 0.7801 GB, free: 8.961 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.1901, allocations: 7.984 kB / 0.7801 GB, free: 8.953 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.1903, allocations: 151.5 kB / 0.7802 GB, free: 8.789 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.718e-05/0.1903, allocations: 89.02 kB / 0.7803 GB, free: 8.684 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.1903, allocations: 0 / 0.7803 GB, free: 8.684 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.665e-05/0.1904, allocations: 3.984 kB / 0.7803 GB, free: 8.68 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/0.1905, allocations: 4 kB / 0.7803 GB, free: 8.676 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-06/0.1905, allocations: 0 / 0.7803 GB, free: 8.676 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.249e-05/0.1905, allocations: 87.58 kB / 0.7804 GB, free: 8.59 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1905, allocations: 4 kB / 0.7804 GB, free: 8.586 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002118/0.1908, allocations: 16 kB / 0.7804 GB, free: 8.57 MB / 458.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 (2): * Single equations (assignments): 2 * 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.000211/0.191, allocations: 127.1 kB / 0.7806 GB, free: 8.438 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001386/0.1911, allocations: 27.98 kB / 0.7806 GB, free: 8.41 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.1911, allocations: 0 / 0.7806 GB, free: 8.41 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.832e-05/0.1912, allocations: 15.94 kB / 0.7806 GB, free: 8.395 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.1914, allocations: 7.938 kB / 0.7806 GB, free: 8.387 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003086/0.1917, allocations: 140.7 kB / 0.7807 GB, free: 8.219 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.192, allocations: 0.6809 MB / 0.7814 GB, free: 7.512 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.767e-05/0.192, allocations: 8.219 kB / 0.7814 GB, free: 7.504 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.775e-05/0.192, allocations: 7.438 kB / 0.7814 GB, free: 7.496 MB / 458.7 MB Notification: Performance of SimCode: time 2.1e-07/0.192, allocations: 0 / 0.7814 GB, free: 7.496 MB / 458.7 MB Notification: Performance of Templates: time 0.002651/0.1947, allocations: 0.6371 MB / 0.782 GB, free: 6.863 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)