Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 91.06 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.009681/0.009682, allocations: 171.9 kB / 16.26 MB, free: 6.613 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.433/1.433, 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.9838/0.9838, allocations: 135.3 MB / 426.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003924/0.0003925, allocations: 12.84 kB / 0.5076 GB, free: 4.742 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1709, allocations: 82.32 MB / 0.588 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0007238/0.1716, allocations: 311 kB / 0.5883 GB, free: 2.293 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001815/0.1735, allocations: 1.098 MB / 0.5894 GB, free: 1.18 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.446e-05/0.1735, allocations: 0 / 0.5894 GB, free: 1.18 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.401e-05/0.1735, allocations: 0 / 0.5894 GB, free: 1.18 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002466/0.1738, allocations: 23.91 kB / 0.5894 GB, free: 1.156 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.557e-06/0.1738, allocations: 0 / 0.5894 GB, free: 1.156 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.465e-05/0.1739, allocations: 0 / 0.5894 GB, free: 1.156 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.137e-05/0.1739, allocations: 4 kB / 0.5894 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.796e-05/0.1739, allocations: 3.938 kB / 0.5894 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.355e-05/0.174, allocations: 4 kB / 0.5894 GB, free: 1.145 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.218e-06/0.174, allocations: 0 / 0.5894 GB, free: 1.145 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.1741, allocations: 23.92 kB / 0.5894 GB, free: 1.121 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.063e-05/0.1741, allocations: 3.984 kB / 0.5894 GB, free: 1.117 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.18e-05/0.1742, allocations: 29.7 kB / 0.5894 GB, free: 1.082 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.801e-05/0.1743, allocations: 11.92 kB / 0.5895 GB, free: 1.07 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1743, allocations: 0 / 0.5895 GB, free: 1.07 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1743, allocations: 0 / 0.5895 GB, free: 1.07 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1743, allocations: 0 / 0.5895 GB, free: 1.07 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.000288/0.1746, allocations: 319.6 kB / 0.5898 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.1746, allocations: 12.03 kB / 0.5898 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.022e-05/0.1747, allocations: 0.9375 kB / 0.5898 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.1748, allocations: 168.3 kB / 0.5899 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.1748, allocations: 384 / 0.5899 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.1749, allocations: 4.359 kB / 0.5899 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.732e-05/0.175, allocations: 38.02 kB / 0.59 GB, free: 460 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.175, allocations: 3.906 kB / 0.59 GB, free: 456 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.175, allocations: 0 / 0.59 GB, free: 456 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.175, allocations: 0 / 0.59 GB, free: 456 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.021e-05/0.1751, allocations: 7.984 kB / 0.59 GB, free: 448 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001631/0.1752, allocations: 153.7 kB / 0.5901 GB, free: 244 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.1754, allocations: 38.55 kB / 0.5902 GB, free: 196 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.948e-05/0.1754, allocations: 8.859 kB / 0.5902 GB, free: 184 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001672/0.1756, allocations: 85.19 kB / 0.5903 GB, free: 80 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.1756, allocations: 38.44 kB / 0.5903 GB, free: 32 kB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1757, allocations: 0 / 0.5903 GB, free: 32 kB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.004489/0.1802, allocations: 0.5757 MB / 0.5909 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.1802, allocations: 51.41 kB / 0.5909 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.717e-05/0.1803, allocations: 89.86 kB / 0.591 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.1803, allocations: 25.7 kB / 0.591 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.203e-05/0.1804, allocations: 84.14 kB / 0.5911 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.915e-05/0.1804, allocations: 11.81 kB / 0.5911 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.1805, allocations: 13.7 kB / 0.5911 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001877/0.1807, allocations: 318.8 kB / 0.5914 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006655/0.1813, allocations: 79.95 kB / 0.5915 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006247/0.182, allocations: 114.4 kB / 0.5916 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/0.1833, allocations: 182.5 kB / 0.5918 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1833, allocations: 4 kB / 0.5918 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001291/0.1846, allocations: 221.4 kB / 0.592 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.1846, allocations: 4 kB / 0.592 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.1846, allocations: 4 kB / 0.592 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.1847, allocations: 0 / 0.592 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004113/0.1851, allocations: 51.94 kB / 0.5921 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.1851, allocations: 4 kB / 0.5921 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003586/0.1855, allocations: 40.16 kB / 0.5921 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.1855, allocations: 4 kB / 0.5921 GB, free: 14.1 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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 0.0001444/0.1856, allocations: 109.8 kB / 0.5922 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.186e-05/0.1857, allocations: 11.94 kB / 0.5922 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00151/0.1872, allocations: 233.1 kB / 0.5924 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.1872, allocations: 432 / 0.5924 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1872, allocations: 0 / 0.5924 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1872, allocations: 0 / 0.5924 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/0.1888, allocations: 458.4 kB / 0.5929 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1888, allocations: 4 kB / 0.5929 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003929/0.1892, allocations: 47.97 kB / 0.5929 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.1892, allocations: 3.984 kB / 0.5929 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.1892, allocations: 3.984 kB / 0.5929 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1892, allocations: 0 / 0.5929 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.1892, allocations: 4 kB / 0.5929 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.1906, allocations: 307.3 kB / 0.5932 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.122e-05/0.1907, allocations: 81.02 kB / 0.5933 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.1907, allocations: 8 kB / 0.5933 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003831/0.1911, allocations: 31.98 kB / 0.5934 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.49e-05/0.1911, allocations: 11.98 kB / 0.5934 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.1911, allocations: 0 / 0.5934 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.165e-05/0.1912, allocations: 79.31 kB / 0.5934 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1912, allocations: 3.938 kB / 0.5934 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002583/0.1914, allocations: 16 kB / 0.5935 GB, free: 12.61 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 (5): * Single equations (assignments): 5 * 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.0001538/0.1916, allocations: 99.25 kB / 0.5936 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001296/0.1929, allocations: 188.1 kB / 0.5937 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1929, allocations: 3.938 kB / 0.5937 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006189/0.1935, allocations: 92.02 kB / 0.5938 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.1938, allocations: 0 / 0.5938 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.195, allocations: 222.6 kB / 0.594 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.1952, allocations: 0.677 MB / 0.5947 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002231/0.1955, allocations: 28 kB / 0.5947 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.314e-05/0.1955, allocations: 11.44 kB / 0.5947 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of SimCode: time 7.21e-07/0.1955, allocations: 0 / 0.5947 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of Templates: time 0.002892/0.1984, allocations: 0.8007 MB / 0.5955 GB, free: 10.45 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)