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.001086/0.001086, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001212/0.001212, allocations: 190.9 kB / 16.25 MB, free: 6.625 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.405/1.405, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9774/0.9774, allocations: 135.1 MB / 425.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 64.67 kB / 0.5049 GB, free: 5.629 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1749, allocations: 80.93 MB / 0.5839 GB, free: 4.863 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002911/0.1778, allocations: 1.508 MB / 0.5854 GB, free: 3.336 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003807/0.1782, allocations: 156.4 kB / 0.5855 GB, free: 3.18 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.278e-05/0.1783, allocations: 0 / 0.5855 GB, free: 3.18 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.665e-05/0.1783, allocations: 0 / 0.5855 GB, free: 3.18 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.104e-05/0.1784, allocations: 7.938 kB / 0.5855 GB, free: 3.172 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.1786, allocations: 23.97 kB / 0.5855 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.44e-05/0.1787, allocations: 39.92 kB / 0.5856 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.1789, allocations: 27.97 kB / 0.5856 GB, free: 3.082 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.179, allocations: 11.94 kB / 0.5856 GB, free: 3.07 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.531e-05/0.179, allocations: 27.86 kB / 0.5856 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.1791, allocations: 4 kB / 0.5856 GB, free: 3.039 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.162e-05/0.1791, allocations: 27.97 kB / 0.5857 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.016e-05/0.1792, allocations: 15.86 kB / 0.5857 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.171e-05/0.1792, allocations: 23.88 kB / 0.5857 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.1794, allocations: 55.86 kB / 0.5858 GB, free: 2.918 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1794, allocations: 7.984 kB / 0.5858 GB, free: 2.91 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1794, allocations: 0 / 0.5858 GB, free: 2.91 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.1794, allocations: 0 / 0.5858 GB, free: 2.91 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.000433/0.1798, allocations: 359.7 kB / 0.5861 GB, free: 2.508 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.1799, allocations: 8.031 kB / 0.5861 GB, free: 2.5 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/0.181, allocations: 212.5 kB / 0.5863 GB, free: 2.293 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.1812, allocations: 176.2 kB / 0.5865 GB, free: 2.082 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.1812, allocations: 4.375 kB / 0.5865 GB, free: 2.078 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.1812, allocations: 384 / 0.5865 GB, free: 2.078 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005785/0.1818, allocations: 198 kB / 0.5867 GB, free: 1.879 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.1818, allocations: 192 / 0.5867 GB, free: 1.879 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.1819, allocations: 3.938 kB / 0.5867 GB, free: 1.875 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.902e-06/0.1819, allocations: 3.938 kB / 0.5867 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008173/0.1827, allocations: 283.6 kB / 0.587 GB, free: 1.594 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000903/0.1836, allocations: 437.3 kB / 0.5874 GB, free: 1.113 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.1847, allocations: 290.1 kB / 0.5877 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003455/0.185, allocations: 100.8 kB / 0.5878 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.1851, allocations: 3.984 kB / 0.5878 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.1851, allocations: 30.56 kB / 0.5878 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 2.795e-06/0.1851, allocations: 4 kB / 0.5878 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.001092/0.1862, allocations: 301.3 kB / 0.5881 GB, free: 380 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.1862, allocations: 63.39 kB / 0.5881 GB, free: 304 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.808e-05/0.1863, allocations: 117.8 kB / 0.5883 GB, free: 176 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.1864, allocations: 25.7 kB / 0.5883 GB, free: 144 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.318e-05/0.1864, allocations: 96.05 kB / 0.5884 GB, free: 44 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.1865, allocations: 7.844 kB / 0.5884 GB, free: 36 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.548e-05/0.1865, allocations: 17.7 kB / 0.5884 GB, free: 12 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1867, allocations: 322.9 kB / 0.5887 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003486/0.187, allocations: 99.86 kB / 0.5888 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003358/0.1874, allocations: 96.25 kB / 0.5889 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006232/0.188, allocations: 168.6 kB / 0.589 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.188, allocations: 0 / 0.589 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007046/0.1887, allocations: 209.5 kB / 0.5892 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.1888, allocations: 11.94 kB / 0.5893 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.1888, allocations: 4 kB / 0.5893 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.1888, allocations: 3.938 kB / 0.5893 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002467/0.189, allocations: 31.94 kB / 0.5893 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.189, allocations: 0 / 0.5893 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.1892, allocations: 35.86 kB / 0.5893 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.1893, allocations: 4 kB / 0.5893 GB, free: 15.03 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.155e-05/0.1894, allocations: 121.8 kB / 0.5895 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.1894, allocations: 0 / 0.5895 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001407/0.1895, allocations: 11.91 kB / 0.5895 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1895, allocations: 0 / 0.5895 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.1896, allocations: 0 / 0.5895 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1896, allocations: 0 / 0.5895 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002443/0.1898, allocations: 217.5 kB / 0.5897 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1898, allocations: 3.938 kB / 0.5897 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002268/0.19, allocations: 39.94 kB / 0.5897 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1901, allocations: 0 / 0.5897 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.1901, allocations: 0 / 0.5897 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1901, allocations: 0 / 0.5897 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1901, allocations: 0 / 0.5897 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008355/0.1909, allocations: 319.1 kB / 0.59 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.368e-05/0.191, allocations: 85.09 kB / 0.5901 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/0.191, allocations: 0 / 0.5901 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.1912, allocations: 27.95 kB / 0.5901 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.1913, allocations: 4 kB / 0.5901 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/0.1913, allocations: 0 / 0.5901 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.882e-05/0.1914, allocations: 99.27 kB / 0.5902 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1914, allocations: 0 / 0.5902 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002428/0.1916, allocations: 12 kB / 0.5902 GB, free: 14 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.0001276/0.1917, allocations: 107.2 kB / 0.5903 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000778/0.1925, allocations: 196.1 kB / 0.5905 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.1925, allocations: 4 kB / 0.5905 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003386/0.1929, allocations: 95.95 kB / 0.5906 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.1931, allocations: 13.58 kB / 0.5906 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008785/0.194, allocations: 281.2 kB / 0.5909 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.1944, allocations: 0.6885 MB / 0.5916 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001026/0.1945, allocations: 19.98 kB / 0.5916 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.917e-05/0.1946, allocations: 11.44 kB / 0.5916 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of SimCode: time 6.42e-07/0.1946, allocations: 0 / 0.5916 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of Templates: time 0.002932/0.1975, allocations: 0.8722 MB / 0.5925 GB, free: 11.68 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)