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.01086/0.01086, allocations: 220.6 kB / 15.17 MB, free: 5.93 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.001107/0.001107, allocations: 180 kB / 16.06 MB, free: 5.828 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 4.495/4.495, allocations: 389.1 MB / 405.9 MB, free: 11.76 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.969/3.969, allocations: 472.3 MB / 0.9018 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004816/0.0004819, allocations: 12 kB / 1.008 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1301, allocations: 98.72 MB / 1.104 GB, free: 42.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.001257/0.1314, allocations: 1.163 MB / 1.105 GB, free: 40.86 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002931/0.1318, allocations: 140.4 kB / 1.105 GB, free: 40.72 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.659e-05/0.1318, allocations: 0 / 1.105 GB, free: 40.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.36e-05/0.1319, allocations: 0 / 1.105 GB, free: 40.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.072e-05/0.1319, allocations: 3.938 kB / 1.105 GB, free: 40.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001678/0.1321, allocations: 23.97 kB / 1.105 GB, free: 40.69 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.857e-05/0.1322, allocations: 39.86 kB / 1.105 GB, free: 40.65 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.473e-05/0.1323, allocations: 23.31 kB / 1.105 GB, free: 40.63 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.277e-05/0.1323, allocations: 4 kB / 1.105 GB, free: 40.63 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.65e-05/0.1324, allocations: 15.92 kB / 1.105 GB, free: 40.61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.1324, allocations: 7.938 kB / 1.105 GB, free: 40.61 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.88e-05/0.1325, allocations: 26.59 kB / 1.105 GB, free: 40.58 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.042e-05/0.1325, allocations: 8 kB / 1.105 GB, free: 40.57 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.821e-05/0.1325, allocations: 25.7 kB / 1.105 GB, free: 40.54 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.061e-05/0.1326, allocations: 43.86 kB / 1.106 GB, free: 40.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.766e-06/0.1327, allocations: 0 / 1.106 GB, free: 40.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.852e-06/0.1327, allocations: 0 / 1.106 GB, free: 40.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.1327, allocations: 0 / 1.106 GB, free: 40.5 MB / 0.6042 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.0003614/0.1331, allocations: 374.7 kB / 1.106 GB, free: 40.09 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.1331, allocations: 8.031 kB / 1.106 GB, free: 40.08 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/0.1343, allocations: 255.5 kB / 1.106 GB, free: 39.84 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.43e-05/0.1344, allocations: 170.9 kB / 1.106 GB, free: 39.63 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.1344, allocations: 4 kB / 1.106 GB, free: 39.63 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.1344, allocations: 4 kB / 1.106 GB, free: 39.62 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000618/0.1351, allocations: 207.5 kB / 1.106 GB, free: 39.42 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.383e-06/0.1351, allocations: 2.344 kB / 1.106 GB, free: 39.42 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.834e-05/0.1351, allocations: 4 kB / 1.106 GB, free: 39.41 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1351, allocations: 3.953 kB / 1.106 GB, free: 39.41 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009488/0.1361, allocations: 321.2 kB / 1.107 GB, free: 39.11 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009645/0.1371, allocations: 461.4 kB / 1.107 GB, free: 38.61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.1384, allocations: 333.5 kB / 1.108 GB, free: 38.28 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004134/0.1388, allocations: 124.2 kB / 1.108 GB, free: 38.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.1388, allocations: 0 / 1.108 GB, free: 38.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.1389, allocations: 38.5 kB / 1.108 GB, free: 38.12 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.979e-06/0.1389, allocations: 0 / 1.108 GB, free: 38.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.001339/0.1402, allocations: 366.9 kB / 1.108 GB, free: 37.76 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.317e-05/0.1403, allocations: 54.44 kB / 1.108 GB, free: 37.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.395e-05/0.1404, allocations: 118 kB / 1.108 GB, free: 37.57 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.1404, allocations: 29.7 kB / 1.108 GB, free: 37.54 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.491e-05/0.1404, allocations: 84.14 kB / 1.108 GB, free: 37.45 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.1405, allocations: 7.844 kB / 1.108 GB, free: 37.44 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.083e-05/0.1405, allocations: 8 kB / 1.108 GB, free: 37.43 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.307e-05/0.1406, allocations: 317.3 kB / 1.109 GB, free: 37.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004311/0.141, allocations: 119.2 kB / 1.109 GB, free: 37 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000392/0.1414, allocations: 116.1 kB / 1.109 GB, free: 36.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003908/0.1418, allocations: 101.1 kB / 1.109 GB, free: 36.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.363e-06/0.1418, allocations: 3.953 kB / 1.109 GB, free: 36.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008665/0.1427, allocations: 254.8 kB / 1.109 GB, free: 36.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.1427, allocations: 4 kB / 1.109 GB, free: 36.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1428, allocations: 0 / 1.109 GB, free: 36.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1428, allocations: 384 / 1.109 GB, free: 36.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002973/0.1431, allocations: 51.19 kB / 1.109 GB, free: 36.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.1431, allocations: 0 / 1.109 GB, free: 36.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/0.1433, allocations: 36.75 kB / 1.109 GB, free: 36.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.1434, allocations: 3.938 kB / 1.109 GB, free: 36.46 MB / 0.6042 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.005e-05/0.1435, allocations: 122.9 kB / 1.109 GB, free: 36.33 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.795e-05/0.1435, allocations: 10.95 kB / 1.109 GB, free: 36.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.614e-05/0.1436, allocations: 7.906 kB / 1.109 GB, free: 36.31 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.157e-06/0.1436, allocations: 0 / 1.109 GB, free: 36.31 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.146e-06/0.1436, allocations: 4 kB / 1.109 GB, free: 36.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.1436, allocations: 0 / 1.109 GB, free: 36.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002283/0.1438, allocations: 213.5 kB / 1.11 GB, free: 36.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.212e-06/0.1439, allocations: 0 / 1.11 GB, free: 36.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002747/0.1441, allocations: 48.05 kB / 1.11 GB, free: 36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.902e-06/0.1442, allocations: 0 / 1.11 GB, free: 36 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.1442, allocations: 0 / 1.11 GB, free: 36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.471e-06/0.1442, allocations: 0 / 1.11 GB, free: 36 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.018e-06/0.1442, allocations: 0 / 1.11 GB, free: 36 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009244/0.1451, allocations: 357.5 kB / 1.11 GB, free: 35.65 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.65e-05/0.1452, allocations: 84.97 kB / 1.11 GB, free: 35.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.1452, allocations: 0 / 1.11 GB, free: 35.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002661/0.1455, allocations: 39.17 kB / 1.11 GB, free: 35.51 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/0.1455, allocations: 3.984 kB / 1.11 GB, free: 35.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.1456, allocations: 4 kB / 1.11 GB, free: 35.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.202e-05/0.1456, allocations: 95.2 kB / 1.11 GB, free: 35.41 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.95e-07/0.1456, allocations: 0 / 1.11 GB, free: 35.41 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003262/0.146, allocations: 16 kB / 1.11 GB, free: 35.39 MB / 0.6042 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 0.000102/0.1461, allocations: 106.7 kB / 1.11 GB, free: 35.28 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008725/0.147, allocations: 233.8 kB / 1.111 GB, free: 35.06 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.631e-06/0.147, allocations: 0 / 1.111 GB, free: 35.06 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004252/0.1474, allocations: 114.5 kB / 1.111 GB, free: 34.95 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.1478, allocations: 7.906 kB / 1.111 GB, free: 34.95 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009797/0.1487, allocations: 301.9 kB / 1.111 GB, free: 34.64 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.1489, allocations: 0.6912 MB / 1.112 GB, free: 33.92 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001185/0.149, allocations: 20.2 kB / 1.112 GB, free: 33.91 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.546e-05/0.1491, allocations: 15.7 kB / 1.112 GB, free: 33.89 MB / 0.6042 GB Notification: Performance of SimCode: time 1.586e-06/0.1491, allocations: 0 / 1.112 GB, free: 33.89 MB / 0.6042 GB Notification: Performance of Templates: time 0.003083/0.1522, allocations: 0.8006 MB / 1.112 GB, free: 33.12 MB / 0.6042 GB