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: translateModel(IDEAS.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin") translateModel(IDEAS.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 100.1 kB / 15.88 MB, free: 12 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.001134/0.001134, allocations: 196 kB / 16.79 MB, free: 6.809 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.315/1.315, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9131/0.9131, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 55.72 kB / 0.5053 GB, free: 5.809 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1559, allocations: 80.93 MB / 0.5843 GB, free: 5.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002588/0.1585, allocations: 1.516 MB / 0.5858 GB, free: 3.512 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004157/0.159, allocations: 144.4 kB / 0.586 GB, free: 3.367 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.752e-05/0.159, allocations: 0 / 0.586 GB, free: 3.367 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.248e-05/0.159, allocations: 0 / 0.586 GB, free: 3.367 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.661e-05/0.1591, allocations: 7.922 kB / 0.586 GB, free: 3.359 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001884/0.1593, allocations: 23.97 kB / 0.586 GB, free: 3.336 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.374e-05/0.1594, allocations: 39.86 kB / 0.586 GB, free: 3.297 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.1595, allocations: 27.98 kB / 0.5861 GB, free: 3.27 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.805e-05/0.1596, allocations: 7.938 kB / 0.5861 GB, free: 3.262 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.266e-05/0.1596, allocations: 23.91 kB / 0.5861 GB, free: 3.238 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.1597, allocations: 4 kB / 0.5861 GB, free: 3.234 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.624e-05/0.1597, allocations: 31.97 kB / 0.5861 GB, free: 3.203 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.916e-05/0.1598, allocations: 11.92 kB / 0.5861 GB, free: 3.191 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.925e-05/0.1598, allocations: 15.88 kB / 0.5861 GB, free: 3.176 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001004/0.1599, allocations: 51.86 kB / 0.5862 GB, free: 3.125 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1599, allocations: 4 kB / 0.5862 GB, free: 3.121 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1599, allocations: 0 / 0.5862 GB, free: 3.121 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.718e-06/0.16, allocations: 0 / 0.5862 GB, free: 3.121 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.0004545/0.1604, allocations: 355.7 kB / 0.5865 GB, free: 2.723 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.1605, allocations: 8.031 kB / 0.5865 GB, free: 2.715 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.1615, allocations: 212.5 kB / 0.5868 GB, free: 2.508 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.1617, allocations: 172.2 kB / 0.5869 GB, free: 2.301 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.1617, allocations: 8.359 kB / 0.5869 GB, free: 2.293 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.1617, allocations: 4.375 kB / 0.5869 GB, free: 2.289 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005593/0.1623, allocations: 194 kB / 0.5871 GB, free: 2.094 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.1623, allocations: 4.188 kB / 0.5871 GB, free: 2.09 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.1623, allocations: 3.938 kB / 0.5871 GB, free: 2.086 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1623, allocations: 0 / 0.5871 GB, free: 2.086 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008398/0.1632, allocations: 283.5 kB / 0.5874 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009508/0.1641, allocations: 437.4 kB / 0.5878 GB, free: 1.328 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.1653, allocations: 286.2 kB / 0.5881 GB, free: 1.039 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003554/0.1656, allocations: 108.7 kB / 0.5882 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.1657, allocations: 7.984 kB / 0.5882 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.1657, allocations: 30.56 kB / 0.5882 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.1657, allocations: 0 / 0.5882 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.001175/0.1669, allocations: 309.5 kB / 0.5885 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.1669, allocations: 51.41 kB / 0.5886 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.167, allocations: 121.8 kB / 0.5887 GB, free: 392 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.1671, allocations: 26.08 kB / 0.5887 GB, free: 360 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.085e-05/0.1671, allocations: 104 kB / 0.5888 GB, free: 252 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.1672, allocations: 7.844 kB / 0.5888 GB, free: 244 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.935e-05/0.1672, allocations: 17.66 kB / 0.5888 GB, free: 220 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1674, allocations: 330.7 kB / 0.5891 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000363/0.1677, allocations: 91.88 kB / 0.5892 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003575/0.1681, allocations: 99.88 kB / 0.5893 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006414/0.1688, allocations: 164.6 kB / 0.5895 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1688, allocations: 0 / 0.5895 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007275/0.1695, allocations: 213.5 kB / 0.5897 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.1695, allocations: 6.031 kB / 0.5897 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1695, allocations: 0 / 0.5897 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.1696, allocations: 7.984 kB / 0.5897 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002576/0.1698, allocations: 35.89 kB / 0.5897 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.1698, allocations: 0 / 0.5897 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.1701, allocations: 35.86 kB / 0.5898 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.1701, allocations: 3.984 kB / 0.5898 GB, free: 15.23 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 8.625e-05/0.1702, allocations: 113.8 kB / 0.5899 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.091e-05/0.1702, allocations: 4 kB / 0.5899 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.055e-05/0.1703, allocations: 15.91 kB / 0.5899 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1703, allocations: 0 / 0.5899 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1703, allocations: 0 / 0.5899 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1703, allocations: 3.984 kB / 0.5899 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002352/0.1705, allocations: 209.5 kB / 0.5901 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1705, allocations: 0 / 0.5901 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002264/0.1708, allocations: 31.95 kB / 0.5901 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1708, allocations: 0 / 0.5901 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.1708, allocations: 0 / 0.5901 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1708, allocations: 4 kB / 0.5901 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.1708, allocations: 3.984 kB / 0.5901 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007719/0.1716, allocations: 315.1 kB / 0.5904 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.167e-05/0.1716, allocations: 85.11 kB / 0.5905 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.1717, allocations: 0 / 0.5905 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.1719, allocations: 31.89 kB / 0.5906 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.1719, allocations: 7.984 kB / 0.5906 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.172, allocations: 0 / 0.5906 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.529e-05/0.172, allocations: 95.27 kB / 0.5907 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.172, allocations: 288 / 0.5907 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002417/0.1723, allocations: 12 kB / 0.5907 GB, free: 14.21 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.0001183/0.1724, allocations: 103.2 kB / 0.5908 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007317/0.1731, allocations: 199.7 kB / 0.591 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1732, allocations: 0 / 0.591 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003568/0.1735, allocations: 103.8 kB / 0.5911 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.1738, allocations: 4.703 kB / 0.5911 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009265/0.1747, allocations: 304.6 kB / 0.5913 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.175, allocations: 0.6848 MB / 0.592 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.444e-05/0.1751, allocations: 11.42 kB / 0.592 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1751, allocations: 0 / 0.592 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of Templates: time 0.002457/0.1775, allocations: 1.166 MB / 0.5932 GB, free: 11.59 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.makefile (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 & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1)