Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.SmoothMin.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.11/4.11, allocations: 432.7 MB / 445.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.778e-05/2.793e-05, allocations: 4.984 kB / 0.5383 GB, free: 10.31 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.1967, allocations: 98.73 MB / 0.6347 GB, free: 1.934 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2073/0.404, allocations: 124.6 MB / 0.7564 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/0.4043, allocations: 75.95 kB / 0.7565 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004398/0.4087, allocations: 1.145 MB / 0.7576 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.418e-06/0.4087, allocations: 0 / 0.7576 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.889e-06/0.4088, allocations: 0 / 0.7576 GB, free: 3.941 MB / 0.6355 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.0004264/0.4092, allocations: 354.3 kB / 0.7579 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.4092, allocations: 12.03 kB / 0.7579 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/0.4103, allocations: 195.6 kB / 0.7581 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.4105, allocations: 167 kB / 0.7583 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.4105, allocations: 4 kB / 0.7583 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.4105, allocations: 0 / 0.7583 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/0.4108, allocations: 117.5 kB / 0.7584 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.749e-06/0.4108, allocations: 0 / 0.7584 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.4108, allocations: 0 / 0.7584 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.14e-06/0.4109, allocations: 0 / 0.7584 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002838/0.4112, allocations: 123.8 kB / 0.7585 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.4123, allocations: 457.2 kB / 0.759 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005437/0.4129, allocations: 158.4 kB / 0.7591 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.413, allocations: 52.92 kB / 0.7592 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.413, allocations: 0 / 0.7592 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.4131, allocations: 42.52 kB / 0.7592 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.1e-05/0.4131, allocations: 0 / 0.7592 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003352/0.4135, allocations: 109.5 kB / 0.7593 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.4135, allocations: 55.41 kB / 0.7594 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.4136, allocations: 109.2 kB / 0.7595 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.4137, allocations: 25.7 kB / 0.7595 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.333e-05/0.4138, allocations: 88.14 kB / 0.7596 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.082e-05/0.4138, allocations: 11.83 kB / 0.7596 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.045e-05/0.4138, allocations: 0 / 0.7596 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.414, allocations: 322.8 kB / 0.7599 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.4141, allocations: 39.97 kB / 0.7599 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.4142, allocations: 47.91 kB / 0.76 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.642e-05/0.4143, allocations: 31.97 kB / 0.76 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.206e-06/0.4144, allocations: 0 / 0.76 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002816/0.4146, allocations: 113.7 kB / 0.7601 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.4147, allocations: 8 kB / 0.7601 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.4147, allocations: 3.953 kB / 0.7601 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.4147, allocations: 0 / 0.7601 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003435/0.4151, allocations: 47.94 kB / 0.7602 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.38e-06/0.4151, allocations: 0 / 0.7602 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002463/0.4153, allocations: 39.95 kB / 0.7602 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.4154, allocations: 384 / 0.7602 GB, free: 1.043 MB / 0.6355 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 () * 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 9.847e-05/0.4155, allocations: 106.9 kB / 0.7603 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.584e-05/0.4155, allocations: 4 kB / 0.7603 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.943e-05/0.4156, allocations: 4.031 kB / 0.7603 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.361e-06/0.4156, allocations: 15.83 kB / 0.7603 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.53e-06/0.4156, allocations: 3.984 kB / 0.7603 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.4156, allocations: 0 / 0.7603 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003223/0.416, allocations: 217.4 kB / 0.7605 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.371e-06/0.416, allocations: 4 kB / 0.7605 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002981/0.4163, allocations: 35.95 kB / 0.7606 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.715e-06/0.4163, allocations: 4 kB / 0.7606 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.4164, allocations: 4 kB / 0.7606 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.852e-06/0.4164, allocations: 3.953 kB / 0.7606 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.4164, allocations: 0 / 0.7606 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/0.4167, allocations: 211.4 kB / 0.7608 GB, free: 380 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.954e-05/0.4168, allocations: 81.02 kB / 0.7609 GB, free: 280 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.4168, allocations: 4 kB / 0.7609 GB, free: 276 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002931/0.4171, allocations: 35.95 kB / 0.7609 GB, free: 240 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.4172, allocations: 11.94 kB / 0.7609 GB, free: 228 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.4172, allocations: 0 / 0.7609 GB, free: 228 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.393e-05/0.4173, allocations: 99.22 kB / 0.761 GB, free: 128 kB / 0.6355 GB Notification: Performance of sort global known variables: time 7.36e-07/0.4173, allocations: 0 / 0.761 GB, free: 128 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003144/0.4177, allocations: 12 kB / 0.761 GB, free: 116 kB / 0.6355 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 () * 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 0.0001335/0.4178, allocations: 99.23 kB / 0.7611 GB, free: 4 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002935/0.4181, allocations: 88.02 kB / 0.7612 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.431e-06/0.4181, allocations: 4 kB / 0.7612 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.4183, allocations: 51.97 kB / 0.7613 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001931/0.4185, allocations: 6.172 kB / 0.7613 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007646/0.4193, allocations: 188.7 kB / 0.7614 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.4196, allocations: 0.6887 MB / 0.7621 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001251/0.4198, allocations: 19.98 kB / 0.7621 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.849e-05/0.4199, allocations: 11.72 kB / 0.7621 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of SimCode: time 1.379e-06/0.4199, allocations: 0 / 0.7621 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of Templates: time 0.003417/0.4233, allocations: 0.8104 MB / 0.7629 GB, free: 14.1 MB / 0.6511 GB