Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.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.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.742/0.742, allocations: 143.8 MB / 159.1 MB, free: 6.543 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.001497/0.001497, allocations: 182.3 kB / 192 MB, free: 6.734 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.405/1.405, allocations: 225.7 MB / 450.4 MB, free: 5.023 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.0009404/0.0009404, allocations: 111.4 kB / 0.5211 GB, free: 1.684 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.001634/0.001634, allocations: 280.2 kB / 0.6025 GB, free: 49.31 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005059/0.0005062, allocations: 14.34 kB / 0.6948 GB, free: 59.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1837, allocations: 82.46 MB / 0.7753 GB, free: 14.37 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.001737/0.1855, allocations: 1.181 MB / 0.7765 GB, free: 13.18 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004915/0.186, allocations: 301.8 kB / 0.7767 GB, free: 12.84 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.04e-05/0.186, allocations: 0 / 0.7767 GB, free: 12.84 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.703e-05/0.1861, allocations: 4 kB / 0.7768 GB, free: 12.84 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 7.627e-05/0.1862, allocations: 7.922 kB / 0.7768 GB, free: 12.83 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.1864, allocations: 19.98 kB / 0.7768 GB, free: 12.81 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 8.413e-05/0.1865, allocations: 35.86 kB / 0.7768 GB, free: 12.78 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.1866, allocations: 28.25 kB / 0.7768 GB, free: 12.75 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.272e-05/0.1867, allocations: 11.94 kB / 0.7769 GB, free: 12.74 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.285e-05/0.1867, allocations: 15.92 kB / 0.7769 GB, free: 12.72 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.1867, allocations: 0 / 0.7769 GB, free: 12.72 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.961e-05/0.1868, allocations: 31.97 kB / 0.7769 GB, free: 12.69 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.44e-05/0.1868, allocations: 3.938 kB / 0.7769 GB, free: 12.69 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.723e-05/0.1869, allocations: 41.62 kB / 0.7769 GB, free: 12.64 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.187, allocations: 67.72 kB / 0.777 GB, free: 12.57 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.187, allocations: 0 / 0.777 GB, free: 12.57 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.187, allocations: 0 / 0.777 GB, free: 12.57 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.1871, allocations: 4 kB / 0.777 GB, free: 12.57 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004829/0.1875, allocations: 351.4 kB / 0.7773 GB, free: 12.18 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.1876, allocations: 12.03 kB / 0.7774 GB, free: 12.16 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.1886, allocations: 248.5 kB / 0.7776 GB, free: 11.92 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.1888, allocations: 168.3 kB / 0.7778 GB, free: 11.72 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.1888, allocations: 4.359 kB / 0.7778 GB, free: 11.71 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.1888, allocations: 4.375 kB / 0.7778 GB, free: 11.71 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005443/0.1894, allocations: 210 kB / 0.778 GB, free: 11.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.1894, allocations: 192 / 0.778 GB, free: 11.5 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.1894, allocations: 11.91 kB / 0.778 GB, free: 11.49 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1894, allocations: 4 kB / 0.778 GB, free: 11.48 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008136/0.1902, allocations: 315.6 kB / 0.7783 GB, free: 11.18 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009126/0.1912, allocations: 461.1 kB / 0.7787 GB, free: 10.68 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.1922, allocations: 334.3 kB / 0.779 GB, free: 10.34 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000336/0.1926, allocations: 120.7 kB / 0.7792 GB, free: 10.22 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.1926, allocations: 0 / 0.7792 GB, free: 10.22 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.1926, allocations: 42.5 kB / 0.7792 GB, free: 10.17 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.1926, allocations: 0 / 0.7792 GB, free: 10.17 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.001099/0.1937, allocations: 365.2 kB / 0.7795 GB, free: 9.805 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.1938, allocations: 55.39 kB / 0.7796 GB, free: 9.738 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.743e-05/0.1939, allocations: 129.7 kB / 0.7797 GB, free: 9.602 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.1939, allocations: 25.7 kB / 0.7797 GB, free: 9.57 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.167e-05/0.194, allocations: 92.08 kB / 0.7798 GB, free: 9.477 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.194, allocations: 7.891 kB / 0.7798 GB, free: 9.469 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-06/0.194, allocations: 0 / 0.7798 GB, free: 9.469 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1941, allocations: 322.8 kB / 0.7801 GB, free: 9.145 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003339/0.1945, allocations: 111.9 kB / 0.7803 GB, free: 9.035 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003157/0.1948, allocations: 119.8 kB / 0.7804 GB, free: 8.918 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006022/0.1954, allocations: 208.6 kB / 0.7806 GB, free: 8.711 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1954, allocations: 0 / 0.7806 GB, free: 8.711 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006821/0.1961, allocations: 253.4 kB / 0.7808 GB, free: 8.457 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.1961, allocations: 4 kB / 0.7808 GB, free: 8.453 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1961, allocations: 4 kB / 0.7808 GB, free: 8.449 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1961, allocations: 4 kB / 0.7808 GB, free: 8.445 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/0.1964, allocations: 35.95 kB / 0.7809 GB, free: 8.41 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.1964, allocations: 3.984 kB / 0.7809 GB, free: 8.406 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.1966, allocations: 43.94 kB / 0.7809 GB, free: 8.363 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.1966, allocations: 4 kB / 0.7809 GB, free: 8.359 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 (3): * Single equations (assignments): 3 * 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.609e-05/0.1967, allocations: 121.7 kB / 0.781 GB, free: 8.23 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.1967, allocations: 3.906 kB / 0.781 GB, free: 8.227 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.755e-05/0.1968, allocations: 15.89 kB / 0.781 GB, free: 8.203 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1968, allocations: 4 kB / 0.781 GB, free: 8.199 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1968, allocations: 0 / 0.781 GB, free: 8.199 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1968, allocations: 0 / 0.781 GB, free: 8.199 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.197, allocations: 213.6 kB / 0.7812 GB, free: 7.941 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.197, allocations: 0 / 0.7812 GB, free: 7.941 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002177/0.1973, allocations: 39.95 kB / 0.7813 GB, free: 7.902 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1973, allocations: 0 / 0.7813 GB, free: 7.902 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.1973, allocations: 7.984 kB / 0.7813 GB, free: 7.895 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1973, allocations: 4 kB / 0.7813 GB, free: 7.891 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1973, allocations: 4 kB / 0.7813 GB, free: 7.887 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007324/0.198, allocations: 351.6 kB / 0.7816 GB, free: 7.527 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.519e-05/0.1981, allocations: 81.02 kB / 0.7817 GB, free: 7.43 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.1981, allocations: 3.938 kB / 0.7817 GB, free: 7.426 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.1983, allocations: 43.94 kB / 0.7818 GB, free: 7.383 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.1984, allocations: 7.938 kB / 0.7818 GB, free: 7.375 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.1984, allocations: 4 kB / 0.7818 GB, free: 7.371 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.2e-05/0.1985, allocations: 95.58 kB / 0.7819 GB, free: 7.277 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1985, allocations: 0 / 0.7819 GB, free: 7.277 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002017/0.1987, allocations: 12 kB / 0.7819 GB, free: 7.266 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 (3): * Single equations (assignments): 3 * 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.0001422/0.1988, allocations: 107.2 kB / 0.782 GB, free: 7.152 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0007119/0.1995, allocations: 235.7 kB / 0.7822 GB, free: 6.922 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1996, allocations: 0 / 0.7822 GB, free: 6.922 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003377/0.1999, allocations: 123.8 kB / 0.7823 GB, free: 6.801 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.2001, allocations: 6.344 kB / 0.7823 GB, free: 6.797 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000886/0.201, allocations: 304.5 kB / 0.7826 GB, free: 6.473 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.2013, allocations: 0.6888 MB / 0.7833 GB, free: 5.758 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.612e-05/0.2014, allocations: 19.98 kB / 0.7833 GB, free: 5.738 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.606e-05/0.2015, allocations: 15.42 kB / 0.7833 GB, free: 5.723 MB / 458.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2015, allocations: 0 / 0.7833 GB, free: 5.723 MB / 458.7 MB Notification: Performance of Templates: time 0.00287/0.2043, allocations: 0.8176 MB / 0.7841 GB, free: 4.91 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe 2>&1)