Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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) 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 BuildSysPro with version 3.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7114/0.7114, allocations: 131 MB / 146.3 MB, free: 1.324 MB / 106.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.001731/0.001731, allocations: 187.8 kB / 176.4 MB, free: 4.875 MB / 138.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.375/1.375, allocations: 225.7 MB / 431.9 MB, free: 8.699 MB / 314.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.0007777/0.0007777, allocations: 89.67 kB / 0.5003 GB, free: 9.812 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003406/0.0003407, allocations: 8.844 kB / 0.5885 GB, free: 72.66 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1464, allocations: 79.61 MB / 0.6663 GB, free: 8.887 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin): time 0.001515/0.1479, allocations: 1.175 MB / 0.6674 GB, free: 7.699 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003967/0.1483, allocations: 293.9 kB / 0.6677 GB, free: 7.375 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.621e-05/0.1484, allocations: 4 kB / 0.6677 GB, free: 7.371 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.919e-05/0.1484, allocations: 0 / 0.6677 GB, free: 7.371 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.704e-05/0.1485, allocations: 3.938 kB / 0.6677 GB, free: 7.367 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001603/0.1486, allocations: 31.97 kB / 0.6677 GB, free: 7.336 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.554e-05/0.1487, allocations: 39.86 kB / 0.6678 GB, free: 7.297 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.1488, allocations: 12 kB / 0.6678 GB, free: 7.285 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.207e-05/0.1489, allocations: 19.91 kB / 0.6678 GB, free: 7.266 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.746e-05/0.1489, allocations: 19.92 kB / 0.6678 GB, free: 7.246 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.466e-06/0.149, allocations: 3.938 kB / 0.6678 GB, free: 7.242 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.641e-05/0.149, allocations: 31.97 kB / 0.6678 GB, free: 7.211 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.162e-05/0.1491, allocations: 3.938 kB / 0.6679 GB, free: 7.207 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.529e-05/0.1491, allocations: 37.64 kB / 0.6679 GB, free: 7.164 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.1492, allocations: 67.77 kB / 0.668 GB, free: 7.098 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1492, allocations: 0 / 0.668 GB, free: 7.098 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.827e-06/0.1492, allocations: 0 / 0.668 GB, free: 7.098 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.1492, allocations: 3.938 kB / 0.668 GB, free: 7.094 MB / 442.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.0003853/0.1496, allocations: 355.7 kB / 0.6683 GB, free: 6.695 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.1497, allocations: 12.03 kB / 0.6683 GB, free: 6.684 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009902/0.1507, allocations: 240.5 kB / 0.6685 GB, free: 6.449 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.1508, allocations: 172.2 kB / 0.6687 GB, free: 6.242 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.1508, allocations: 4.375 kB / 0.6687 GB, free: 6.238 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.1508, allocations: 8.375 kB / 0.6687 GB, free: 6.23 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005265/0.1514, allocations: 206 kB / 0.6689 GB, free: 6.023 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.1514, allocations: 192 / 0.6689 GB, free: 6.023 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.1514, allocations: 7.938 kB / 0.6689 GB, free: 6.016 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1514, allocations: 4 kB / 0.6689 GB, free: 6.012 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008101/0.1522, allocations: 319.5 kB / 0.6692 GB, free: 5.699 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008412/0.1531, allocations: 453.4 kB / 0.6697 GB, free: 5.207 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.1541, allocations: 334.2 kB / 0.67 GB, free: 4.871 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000333/0.1545, allocations: 124.8 kB / 0.6701 GB, free: 4.746 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.1545, allocations: 3.938 kB / 0.6701 GB, free: 4.742 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.1545, allocations: 30.56 kB / 0.6701 GB, free: 4.703 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 3.737e-06/0.1545, allocations: 7.984 kB / 0.6701 GB, free: 4.695 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.001056/0.1556, allocations: 365.2 kB / 0.6705 GB, free: 4.332 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.1556, allocations: 51.41 kB / 0.6705 GB, free: 4.27 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.129e-05/0.1557, allocations: 125.8 kB / 0.6707 GB, free: 4.137 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.1558, allocations: 25.7 kB / 0.6707 GB, free: 4.105 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.699e-05/0.1558, allocations: 92.14 kB / 0.6708 GB, free: 4.012 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.1558, allocations: 7.844 kB / 0.6708 GB, free: 4.004 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.769e-06/0.1559, allocations: 4 kB / 0.6708 GB, free: 4 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.156, allocations: 319.1 kB / 0.6711 GB, free: 3.68 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003599/0.1563, allocations: 119.8 kB / 0.6712 GB, free: 3.562 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003163/0.1567, allocations: 115.9 kB / 0.6713 GB, free: 3.449 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006117/0.1573, allocations: 208.6 kB / 0.6715 GB, free: 3.242 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1573, allocations: 3.938 kB / 0.6715 GB, free: 3.238 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006731/0.158, allocations: 253.4 kB / 0.6718 GB, free: 2.984 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.158, allocations: 4 kB / 0.6718 GB, free: 2.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.158, allocations: 0 / 0.6718 GB, free: 2.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.158, allocations: 0 / 0.6718 GB, free: 2.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.1583, allocations: 47.95 kB / 0.6718 GB, free: 2.934 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.1583, allocations: 0 / 0.6718 GB, free: 2.934 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001811/0.1585, allocations: 47.88 kB / 0.6718 GB, free: 2.887 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.1585, allocations: 0 / 0.6718 GB, free: 2.887 MB / 442.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 9.826e-05/0.1586, allocations: 121.8 kB / 0.672 GB, free: 2.758 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.67e-05/0.1586, allocations: 3.906 kB / 0.672 GB, free: 2.754 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.256e-05/0.1587, allocations: 11.89 kB / 0.672 GB, free: 2.742 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1587, allocations: 0 / 0.672 GB, free: 2.742 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1587, allocations: 0 / 0.672 GB, free: 2.742 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1587, allocations: 0 / 0.672 GB, free: 2.742 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/0.1589, allocations: 213.5 kB / 0.6722 GB, free: 2.484 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1589, allocations: 0 / 0.6722 GB, free: 2.484 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/0.1592, allocations: 39.95 kB / 0.6722 GB, free: 2.445 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1592, allocations: 0 / 0.6722 GB, free: 2.445 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.1592, allocations: 3.984 kB / 0.6722 GB, free: 2.441 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1592, allocations: 0 / 0.6722 GB, free: 2.441 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1592, allocations: 4 kB / 0.6722 GB, free: 2.438 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007249/0.1599, allocations: 355.2 kB / 0.6726 GB, free: 2.074 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.365e-05/0.16, allocations: 85.02 kB / 0.6726 GB, free: 1.973 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.16, allocations: 7.938 kB / 0.6727 GB, free: 1.965 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.1602, allocations: 35.95 kB / 0.6727 GB, free: 1.93 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.1603, allocations: 3.984 kB / 0.6727 GB, free: 1.926 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-06/0.1603, allocations: 4 kB / 0.6727 GB, free: 1.922 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.733e-05/0.1604, allocations: 91.27 kB / 0.6728 GB, free: 1.832 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1604, allocations: 4 kB / 0.6728 GB, free: 1.828 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002061/0.1606, allocations: 16 kB / 0.6728 GB, free: 1.812 MB / 442.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.0001204/0.1607, allocations: 107.7 kB / 0.6729 GB, free: 1.699 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007213/0.1614, allocations: 236.1 kB / 0.6731 GB, free: 1.469 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1614, allocations: 288 / 0.6731 GB, free: 1.469 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000344/0.1618, allocations: 119.9 kB / 0.6732 GB, free: 1.352 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.162, allocations: 7.938 kB / 0.6733 GB, free: 1.344 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008687/0.1629, allocations: 301.3 kB / 0.6735 GB, free: 1.02 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.1632, allocations: 0.6887 MB / 0.6742 GB, free: 312 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 8.257e-05/0.1633, allocations: 20.23 kB / 0.6742 GB, free: 292 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.013e-05/0.1633, allocations: 11.42 kB / 0.6742 GB, free: 280 kB / 442.7 MB Notification: Performance of SimCode: time 6.91e-07/0.1633, allocations: 4 kB / 0.6742 GB, free: 276 kB / 442.7 MB Notification: Performance of Templates: time 0.002615/0.166, allocations: 0.8238 MB / 0.6751 GB, free: 15.45 MB / 458.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1)