Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.SmoothMin.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009235/0.009235, allocations: 108.7 kB / 15.06 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001137/0.001136, allocations: 180.1 kB / 15.95 MB, free: 5.523 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.019/2.019, allocations: 194.6 MB / 211.3 MB, free: 11.27 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.136/2.136, allocations: 236.2 MB / 492.6 MB, free: 11.44 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000486/0.0004863, allocations: 16 kB / 0.5869 GB, free: 2.23 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5438/0.5443, allocations: 98.71 MB / 0.6833 GB, free: 16.73 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.00155/0.5459, allocations: 1.159 MB / 0.6845 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.000331/0.5463, allocations: 132.6 kB / 0.6846 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.962e-05/0.5463, allocations: 1.375 kB / 0.6846 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 3.022e-05/0.5464, allocations: 4.781 kB / 0.6846 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 4.531e-05/0.5464, allocations: 6.953 kB / 0.6846 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001816/0.5466, allocations: 23.28 kB / 0.6846 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 7.566e-05/0.5467, allocations: 27.91 kB / 0.6847 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 9.756e-05/0.5468, allocations: 10.5 kB / 0.6847 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 3.937e-05/0.5469, allocations: 14.67 kB / 0.6847 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 4.122e-05/0.5469, allocations: 20.02 kB / 0.6847 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.5469, allocations: 5.094 kB / 0.6847 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 8.639e-05/0.547, allocations: 29.7 kB / 0.6847 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.06e-05/0.5471, allocations: 3.5 kB / 0.6847 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 1.994e-05/0.5471, allocations: 30.89 kB / 0.6848 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.5472, allocations: 40.55 kB / 0.6848 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.5472, allocations: 0 / 0.6848 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.944e-06/0.5472, allocations: 0 / 0.6848 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.908e-06/0.5472, allocations: 1.406 kB / 0.6848 GB, free: 15.68 MB / 0.5261 GB 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.0003693/0.5476, allocations: 367.6 kB / 0.6852 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.5477, allocations: 9.312 kB / 0.6852 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001311/0.549, allocations: 239.2 kB / 0.6854 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.659e-05/0.5491, allocations: 171.8 kB / 0.6856 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.5491, allocations: 1.031 kB / 0.6856 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.5492, allocations: 3 kB / 0.6856 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007155/0.5499, allocations: 211 kB / 0.6858 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.526e-06/0.5499, allocations: 8 kB / 0.6858 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.5499, allocations: 2.047 kB / 0.6858 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.55, allocations: 3.984 kB / 0.6858 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.5511, allocations: 319.5 kB / 0.6861 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.5522, allocations: 465.5 kB / 0.6865 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.5536, allocations: 335.9 kB / 0.6868 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.5537, allocations: 1.094 kB / 0.6868 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.5537, allocations: 39.64 kB / 0.6869 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 3.478e-06/0.5537, allocations: 0 / 0.6869 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0015/0.5552, allocations: 364.9 kB / 0.6872 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.119e-05/0.5553, allocations: 52.25 kB / 0.6873 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.5554, allocations: 127.1 kB / 0.6874 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.5554, allocations: 25.7 kB / 0.6874 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.764e-05/0.5554, allocations: 91.5 kB / 0.6875 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.5555, allocations: 10.88 kB / 0.6875 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.124e-05/0.5555, allocations: 4 kB / 0.6875 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.185e-05/0.5556, allocations: 315.5 kB / 0.6878 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004743/0.556, allocations: 115.2 kB / 0.6879 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004748/0.5565, allocations: 117.4 kB / 0.6881 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004496/0.557, allocations: 103 kB / 0.6882 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.557, allocations: 1.406 kB / 0.6882 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0009742/0.558, allocations: 244.7 kB / 0.6884 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.558, allocations: 4.625 kB / 0.6884 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.558, allocations: 9.906 kB / 0.6884 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.5581, allocations: 0 / 0.6884 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003091/0.5584, allocations: 45.31 kB / 0.6884 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.464e-06/0.5584, allocations: 1 kB / 0.6884 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002399/0.5587, allocations: 43.61 kB / 0.6885 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.5587, allocations: 2.172 kB / 0.6885 GB, free: 13.7 MB / 0.5261 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.395e-05/0.5588, allocations: 120.8 kB / 0.6886 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.62e-05/0.5588, allocations: 2.094 kB / 0.6886 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.149e-05/0.5589, allocations: 6.938 kB / 0.6886 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.288e-06/0.5589, allocations: 9.703 kB / 0.6886 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.385e-06/0.5589, allocations: 4 kB / 0.6886 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.709e-06/0.5589, allocations: 1.031 kB / 0.6886 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002437/0.5592, allocations: 209.3 kB / 0.6888 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.721e-06/0.5592, allocations: 0.7031 kB / 0.6888 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002951/0.5595, allocations: 40.27 kB / 0.6889 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.165e-06/0.5595, allocations: 1.281 kB / 0.6889 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.5595, allocations: 1.125 kB / 0.6889 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.072e-06/0.5596, allocations: 9.453 kB / 0.6889 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.613e-06/0.5596, allocations: 0.5625 kB / 0.6889 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.5606, allocations: 352.3 kB / 0.6892 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.727e-05/0.5606, allocations: 81.28 kB / 0.6893 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.5607, allocations: 4.312 kB / 0.6893 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002876/0.561, allocations: 36.12 kB / 0.6893 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.012e-05/0.561, allocations: 7.219 kB / 0.6893 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.561, allocations: 5.938 kB / 0.6893 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.692e-05/0.5611, allocations: 101 kB / 0.6894 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.63e-07/0.5611, allocations: 0 / 0.6894 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003218/0.5614, allocations: 16.91 kB / 0.6895 GB, free: 12.97 MB / 0.5261 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.515e-05/0.5615, allocations: 101.7 kB / 0.6895 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009817/0.5625, allocations: 233.7 kB / 0.6898 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.763e-06/0.5626, allocations: 1.031 kB / 0.6898 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004874/0.5631, allocations: 116.5 kB / 0.6899 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.5633, allocations: 6.422 kB / 0.6899 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.5644, allocations: 302.7 kB / 0.6902 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000151/0.5646, allocations: 0.6902 MB / 0.6909 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001255/0.5647, allocations: 24.36 kB / 0.6909 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.496e-05/0.5648, allocations: 11.84 kB / 0.6909 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of SimCode: time 1.512e-06/0.5648, allocations: 0 / 0.6909 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of Templates: time 0.003494/0.5683, allocations: 0.8062 MB / 0.6917 GB, free: 11.89 MB / 0.5261 GB