Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside") translateModel(IDEAS.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001685/0.001685, allocations: 194.7 kB / 16.14 MB, free: 6.66 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.438/1.438, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.788/0.788, allocations: 132.2 MB / 422.2 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 63.45 kB / 0.5011 GB, free: 9.258 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1806, allocations: 80.21 MB / 0.5794 GB, free: 9.27 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002584/0.1832, allocations: 1.495 MB / 0.5809 GB, free: 7.762 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006928/0.1839, allocations: 475.8 kB / 0.5813 GB, free: 7.289 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.64e-05/0.184, allocations: 0 / 0.5813 GB, free: 7.289 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.458e-05/0.184, allocations: 0 / 0.5813 GB, free: 7.289 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.252e-05/0.1841, allocations: 4 kB / 0.5813 GB, free: 7.285 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001587/0.1842, allocations: 19.92 kB / 0.5814 GB, free: 7.266 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.734e-05/0.1843, allocations: 27.86 kB / 0.5814 GB, free: 7.238 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.636e-05/0.1844, allocations: 8 kB / 0.5814 GB, free: 7.23 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.459e-05/0.1845, allocations: 7.984 kB / 0.5814 GB, free: 7.223 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.564e-05/0.1845, allocations: 15.92 kB / 0.5814 GB, free: 7.207 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.1845, allocations: 4 kB / 0.5814 GB, free: 7.203 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.932e-05/0.1846, allocations: 19.98 kB / 0.5814 GB, free: 7.184 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.412e-05/0.1846, allocations: 7.984 kB / 0.5814 GB, free: 7.176 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.512e-05/0.1846, allocations: 7.938 kB / 0.5815 GB, free: 7.168 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.1848, allocations: 35.83 kB / 0.5815 GB, free: 7.133 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1848, allocations: 0 / 0.5815 GB, free: 7.133 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1848, allocations: 0 / 0.5815 GB, free: 7.133 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.1848, allocations: 0 / 0.5815 GB, free: 7.133 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004433/0.1852, allocations: 347.7 kB / 0.5818 GB, free: 6.746 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.1853, allocations: 8.031 kB / 0.5818 GB, free: 6.738 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.969e-05/0.1853, allocations: 4.938 kB / 0.5818 GB, free: 6.734 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.1854, allocations: 168.3 kB / 0.582 GB, free: 6.531 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.1855, allocations: 384 / 0.582 GB, free: 6.531 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.1855, allocations: 384 / 0.582 GB, free: 6.531 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.1857, allocations: 53.98 kB / 0.582 GB, free: 6.473 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.1857, allocations: 0 / 0.582 GB, free: 6.473 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.1857, allocations: 4 kB / 0.582 GB, free: 6.469 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.1857, allocations: 7.938 kB / 0.5821 GB, free: 6.461 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.1859, allocations: 31.91 kB / 0.5821 GB, free: 6.43 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003225/0.1862, allocations: 256.9 kB / 0.5823 GB, free: 6.129 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.1863, allocations: 30.56 kB / 0.5824 GB, free: 6.09 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.703e-05/0.1864, allocations: 28.89 kB / 0.5824 GB, free: 6.059 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001159/0.1866, allocations: 85.09 kB / 0.5825 GB, free: 5.957 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.1866, allocations: 30.56 kB / 0.5825 GB, free: 5.918 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.1866, allocations: 0 / 0.5825 GB, free: 5.918 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003541/0.1869, allocations: 85.58 kB / 0.5826 GB, free: 5.828 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.187, allocations: 55.53 kB / 0.5826 GB, free: 5.762 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.174e-05/0.1871, allocations: 105.8 kB / 0.5827 GB, free: 5.648 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.1871, allocations: 25.7 kB / 0.5828 GB, free: 5.617 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.516e-05/0.1871, allocations: 88.08 kB / 0.5828 GB, free: 5.527 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.1872, allocations: 7.906 kB / 0.5828 GB, free: 5.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.1872, allocations: 9.719 kB / 0.5829 GB, free: 5.504 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.1873, allocations: 322.8 kB / 0.5832 GB, free: 5.18 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.811e-05/0.1874, allocations: 16.23 kB / 0.5832 GB, free: 5.164 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.128e-05/0.1875, allocations: 15.98 kB / 0.5832 GB, free: 5.148 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.1876, allocations: 48.7 kB / 0.5832 GB, free: 5.098 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1876, allocations: 0 / 0.5832 GB, free: 5.098 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001892/0.1878, allocations: 73.62 kB / 0.5833 GB, free: 5.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.1879, allocations: 4 kB / 0.5833 GB, free: 5.016 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1879, allocations: 0 / 0.5833 GB, free: 5.016 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.1879, allocations: 0 / 0.5833 GB, free: 5.016 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-05/0.188, allocations: 11.98 kB / 0.5833 GB, free: 5.004 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.188, allocations: 0 / 0.5833 GB, free: 5.004 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.931e-05/0.1881, allocations: 11.92 kB / 0.5833 GB, free: 4.992 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.1881, allocations: 0 / 0.5833 GB, free: 4.992 MB / 494.1 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 (2): * Single equations (assignments): 2 * 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 7.315e-05/0.1881, allocations: 117.8 kB / 0.5835 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.263e-05/0.1882, allocations: 4.031 kB / 0.5835 GB, free: 4.863 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002229/0.1884, allocations: 72.72 kB / 0.5835 GB, free: 4.781 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1884, allocations: 0 / 0.5835 GB, free: 4.781 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1884, allocations: 0 / 0.5835 GB, free: 4.781 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.1884, allocations: 0 / 0.5835 GB, free: 4.781 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.1886, allocations: 165.6 kB / 0.5837 GB, free: 4.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1886, allocations: 0 / 0.5837 GB, free: 4.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.732e-05/0.1886, allocations: 11.98 kB / 0.5837 GB, free: 4.559 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1887, allocations: 4.031 kB / 0.5837 GB, free: 4.555 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.1887, allocations: 0 / 0.5837 GB, free: 4.555 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1887, allocations: 0 / 0.5837 GB, free: 4.555 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1887, allocations: 0 / 0.5837 GB, free: 4.555 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.1889, allocations: 163.4 kB / 0.5839 GB, free: 4.379 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.515e-05/0.189, allocations: 88.95 kB / 0.5839 GB, free: 4.273 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.189, allocations: 8.031 kB / 0.5839 GB, free: 4.266 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.363e-05/0.1891, allocations: 7.984 kB / 0.584 GB, free: 4.258 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.1891, allocations: 0 / 0.584 GB, free: 4.258 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.1891, allocations: 0 / 0.584 GB, free: 4.258 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.121e-05/0.1892, allocations: 83.28 kB / 0.584 GB, free: 4.176 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1892, allocations: 3.938 kB / 0.584 GB, free: 4.172 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002178/0.1894, allocations: 19.98 kB / 0.5841 GB, free: 4.152 MB / 494.1 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 (2): * Single equations (assignments): 2 * 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.0001417/0.1895, allocations: 103.2 kB / 0.5842 GB, free: 4.043 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002016/0.1897, allocations: 31.97 kB / 0.5842 GB, free: 4.012 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1897, allocations: 0 / 0.5842 GB, free: 4.012 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.108e-05/0.1898, allocations: 19.97 kB / 0.5842 GB, free: 3.992 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.1901, allocations: 17.42 kB / 0.5842 GB, free: 3.977 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002409/0.1904, allocations: 111.4 kB / 0.5843 GB, free: 3.844 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/0.1906, allocations: 0.677 MB / 0.585 GB, free: 3.141 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.497e-05/0.1906, allocations: 4 kB / 0.585 GB, free: 3.137 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.81e-05/0.1906, allocations: 7.438 kB / 0.585 GB, free: 3.129 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1907, allocations: 0 / 0.585 GB, free: 3.129 MB / 494.1 MB Notification: Performance of Templates: time 0.002269/0.1929, allocations: 498.6 kB / 0.5855 GB, free: 2.652 MB / 494.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)