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.0007759/0.000776, allocations: 91.53 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005821/0.005821, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.411/1.411, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9588/0.9588, allocations: 135.3 MB / 426.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003744/0.0003746, allocations: 16 kB / 0.5076 GB, free: 4.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1755, allocations: 82.31 MB / 0.588 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.00171/0.1773, allocations: 1.169 MB / 0.5891 GB, free: 1.453 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004343/0.1777, allocations: 152.4 kB / 0.5893 GB, free: 1.301 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.002e-05/0.1778, allocations: 0 / 0.5893 GB, free: 1.301 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.458e-05/0.1778, allocations: 3.984 kB / 0.5893 GB, free: 1.297 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.651e-05/0.1779, allocations: 7.938 kB / 0.5893 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.1781, allocations: 23.97 kB / 0.5893 GB, free: 1.266 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.127e-05/0.1782, allocations: 39.91 kB / 0.5893 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.1783, allocations: 19.94 kB / 0.5893 GB, free: 1.207 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.967e-05/0.1784, allocations: 11.92 kB / 0.5894 GB, free: 1.195 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.129e-05/0.1784, allocations: 15.94 kB / 0.5894 GB, free: 1.18 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.1784, allocations: 4 kB / 0.5894 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.835e-05/0.1785, allocations: 31.91 kB / 0.5894 GB, free: 1.145 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.774e-05/0.1786, allocations: 11.92 kB / 0.5894 GB, free: 1.133 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.925e-05/0.1786, allocations: 45.56 kB / 0.5895 GB, free: 1.082 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.1787, allocations: 51.86 kB / 0.5895 GB, free: 1.031 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1788, allocations: 4 kB / 0.5895 GB, free: 1.027 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1788, allocations: 0 / 0.5895 GB, free: 1.027 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.1788, allocations: 0 / 0.5895 GB, free: 1.027 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.0004658/0.1792, allocations: 355.7 kB / 0.5899 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.1793, allocations: 12.02 kB / 0.5899 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/0.1805, allocations: 244.5 kB / 0.5901 GB, free: 388 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.1806, allocations: 176.3 kB / 0.5903 GB, free: 172 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.1806, allocations: 4.375 kB / 0.5903 GB, free: 168 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.878e-05/0.1807, allocations: 4.375 kB / 0.5903 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006094/0.1813, allocations: 210.1 kB / 0.5905 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1813, allocations: 4.188 kB / 0.5905 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.1813, allocations: 3.938 kB / 0.5905 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.1813, allocations: 3.984 kB / 0.5905 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000905/0.1822, allocations: 319.5 kB / 0.5908 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000949/0.1832, allocations: 465.4 kB / 0.5912 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.1844, allocations: 338.1 kB / 0.5916 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004048/0.1848, allocations: 124.7 kB / 0.5917 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.1848, allocations: 7.984 kB / 0.5917 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.1849, allocations: 30.56 kB / 0.5917 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.1849, allocations: 0 / 0.5917 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.001257/0.1861, allocations: 369.2 kB / 0.5921 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.1862, allocations: 51.41 kB / 0.5921 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.879e-05/0.1863, allocations: 117.8 kB / 0.5922 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.1863, allocations: 29.64 kB / 0.5923 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.152e-05/0.1864, allocations: 92.5 kB / 0.5923 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.249e-05/0.1864, allocations: 19.73 kB / 0.5924 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.1865, allocations: 13.72 kB / 0.5924 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1866, allocations: 318.8 kB / 0.5927 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003838/0.187, allocations: 119.8 kB / 0.5928 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003841/0.1874, allocations: 115.9 kB / 0.5929 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007235/0.1881, allocations: 204.6 kB / 0.5931 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1881, allocations: 0 / 0.5931 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008165/0.1889, allocations: 249.5 kB / 0.5933 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.189, allocations: 4 kB / 0.5933 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.189, allocations: 4 kB / 0.5933 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.189, allocations: 0 / 0.5933 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002669/0.1893, allocations: 51.88 kB / 0.5934 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.1893, allocations: 4 kB / 0.5934 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.1895, allocations: 35.95 kB / 0.5934 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.1895, allocations: 4 kB / 0.5934 GB, free: 12.78 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.884e-05/0.1896, allocations: 121.8 kB / 0.5936 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.1896, allocations: 3.906 kB / 0.5936 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.264e-05/0.1897, allocations: 7.906 kB / 0.5936 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1897, allocations: 0 / 0.5936 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1897, allocations: 0 / 0.5936 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1897, allocations: 0 / 0.5936 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/0.1899, allocations: 209.5 kB / 0.5938 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.19, allocations: 4 kB / 0.5938 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/0.1902, allocations: 43.94 kB / 0.5938 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1902, allocations: 3.938 kB / 0.5938 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.1902, allocations: 4 kB / 0.5938 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1902, allocations: 0 / 0.5938 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1902, allocations: 0 / 0.5938 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008616/0.1911, allocations: 355.4 kB / 0.5942 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.929e-05/0.1912, allocations: 89.12 kB / 0.5942 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.1912, allocations: 8 kB / 0.5943 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002459/0.1914, allocations: 31.95 kB / 0.5943 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.085e-05/0.1915, allocations: 4 kB / 0.5943 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.1915, allocations: 0 / 0.5943 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.513e-05/0.1916, allocations: 95.27 kB / 0.5944 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.81e-07/0.1916, allocations: 4 kB / 0.5944 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002361/0.1918, allocations: 16.28 kB / 0.5944 GB, free: 11.7 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.0001278/0.1919, allocations: 99.17 kB / 0.5945 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008664/0.1928, allocations: 235.8 kB / 0.5947 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1928, allocations: 3.938 kB / 0.5947 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004006/0.1932, allocations: 119.8 kB / 0.5948 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.1935, allocations: 8 kB / 0.5948 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009552/0.1945, allocations: 300.4 kB / 0.5951 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.1947, allocations: 0.6887 MB / 0.5958 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.645e-05/0.1948, allocations: 20.23 kB / 0.5958 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.851e-05/0.1949, allocations: 7.438 kB / 0.5958 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1949, allocations: 4 kB / 0.5958 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of Templates: time 0.002886/0.1978, allocations: 0.827 MB / 0.5966 GB, free: 9.344 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)