Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 111.9 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 196.2 kB / 16.54 MB, free: 6.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.051/1.051, allocations: 135.1 MB / 425.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 64.88 kB / 0.5055 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1617, allocations: 80.92 MB / 0.5845 GB, free: 4.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.003094/0.1648, allocations: 1.449 MB / 0.5859 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004521/0.1653, allocations: 148.2 kB / 0.586 GB, free: 2.836 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.043e-05/0.1654, allocations: 0 / 0.586 GB, free: 2.836 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.27e-05/0.1654, allocations: 0 / 0.586 GB, free: 2.836 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.315e-05/0.1655, allocations: 11.92 kB / 0.586 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.1658, allocations: 27.91 kB / 0.5861 GB, free: 2.797 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.1659, allocations: 39.92 kB / 0.5861 GB, free: 2.758 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.1661, allocations: 23.98 kB / 0.5861 GB, free: 2.734 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.311e-05/0.1661, allocations: 19.92 kB / 0.5862 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.631e-05/0.1662, allocations: 27.84 kB / 0.5862 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.1662, allocations: 7.938 kB / 0.5862 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.1663, allocations: 27.97 kB / 0.5862 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.905e-05/0.1663, allocations: 12 kB / 0.5862 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.338e-05/0.1664, allocations: 23.86 kB / 0.5863 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001326/0.1665, allocations: 59.86 kB / 0.5863 GB, free: 2.559 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1665, allocations: 0 / 0.5863 GB, free: 2.559 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1665, allocations: 0 / 0.5863 GB, free: 2.559 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.1665, allocations: 0 / 0.5863 GB, free: 2.559 MB / 494.1 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.0004662/0.167, allocations: 363.6 kB / 0.5867 GB, free: 2.152 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.1671, allocations: 12.03 kB / 0.5867 GB, free: 2.141 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.65e-05/0.1671, allocations: 30.75 kB / 0.5867 GB, free: 2.102 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/0.1683, allocations: 212.5 kB / 0.5869 GB, free: 1.895 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.1684, allocations: 172.2 kB / 0.5871 GB, free: 1.688 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.1684, allocations: 384 / 0.5871 GB, free: 1.688 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.1684, allocations: 8.375 kB / 0.5871 GB, free: 1.68 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005836/0.169, allocations: 190 kB / 0.5873 GB, free: 1.488 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.1691, allocations: 7.875 kB / 0.5873 GB, free: 1.48 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.1691, allocations: 8 kB / 0.5873 GB, free: 1.473 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1691, allocations: 3.938 kB / 0.5873 GB, free: 1.469 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008911/0.17, allocations: 283.6 kB / 0.5875 GB, free: 1.191 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009059/0.1709, allocations: 433.4 kB / 0.588 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.1721, allocations: 290.1 kB / 0.5882 GB, free: 432 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003798/0.1725, allocations: 106.5 kB / 0.5883 GB, free: 324 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.1725, allocations: 4 kB / 0.5883 GB, free: 320 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.1725, allocations: 30.56 kB / 0.5884 GB, free: 280 kB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.1725, allocations: 0 / 0.5884 GB, free: 280 kB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.001237/0.1738, allocations: 305.3 kB / 0.5887 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.1738, allocations: 51.41 kB / 0.5887 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.174, allocations: 129.7 kB / 0.5888 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.174, allocations: 25.7 kB / 0.5889 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.742e-05/0.1741, allocations: 96.05 kB / 0.5889 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.212e-05/0.1741, allocations: 11.84 kB / 0.589 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.167e-05/0.1742, allocations: 17.7 kB / 0.589 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.1743, allocations: 322.8 kB / 0.5893 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003832/0.1747, allocations: 91.88 kB / 0.5894 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003716/0.1751, allocations: 95.86 kB / 0.5895 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007061/0.1758, allocations: 168.6 kB / 0.5896 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1758, allocations: 0 / 0.5896 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007918/0.1766, allocations: 221.4 kB / 0.5898 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.1766, allocations: 4 kB / 0.5898 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1766, allocations: 0 / 0.5898 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1766, allocations: 4 kB / 0.5898 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/0.1769, allocations: 35.94 kB / 0.5899 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1769, allocations: 0 / 0.5899 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.1771, allocations: 31.86 kB / 0.5899 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.1771, allocations: 0 / 0.5899 GB, free: 14.63 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.475e-05/0.1772, allocations: 121.8 kB / 0.59 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.1773, allocations: 4 kB / 0.59 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.931e-05/0.1773, allocations: 15.91 kB / 0.59 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1774, allocations: 3.938 kB / 0.59 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1774, allocations: 0 / 0.59 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1774, allocations: 0 / 0.59 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.1776, allocations: 209.5 kB / 0.5902 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.1776, allocations: 0 / 0.5902 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002466/0.1778, allocations: 35.94 kB / 0.5903 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1779, allocations: 0 / 0.5903 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.1779, allocations: 4 kB / 0.5903 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1779, allocations: 0 / 0.5903 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1779, allocations: 4 kB / 0.5903 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008309/0.1787, allocations: 315.1 kB / 0.5906 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.701e-05/0.1788, allocations: 85.11 kB / 0.5907 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.381e-05/0.1788, allocations: 4.359 kB / 0.5907 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.179, allocations: 23.95 kB / 0.5907 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.1791, allocations: 8.375 kB / 0.5907 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.1791, allocations: 0 / 0.5907 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.259e-05/0.1792, allocations: 99.2 kB / 0.5908 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1792, allocations: 0 / 0.5908 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002531/0.1794, allocations: 19.84 kB / 0.5908 GB, free: 13.6 MB / 0.4981 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 (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.001119/0.1806, allocations: 0.845 MB / 0.5916 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008212/0.1814, allocations: 191.8 kB / 0.5918 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1814, allocations: 0 / 0.5918 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003906/0.1818, allocations: 103.9 kB / 0.5919 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.1821, allocations: 8 kB / 0.5919 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003662/0.1858, allocations: 1.845 MB / 0.5937 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.186, allocations: 0.6885 MB / 0.5944 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.254e-05/0.1861, allocations: 19.98 kB / 0.5944 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.468e-05/0.1862, allocations: 19.42 kB / 0.5944 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of SimCode: time 5.01e-07/0.1862, allocations: 0 / 0.5944 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01912/0.2053, allocations: 1.913 MB / 0.5963 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.175/7.38, allocations: 21.81 kB / 0.5963 GB, free: 7.891 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothMin.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1)