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.001098/0.001098, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001449/0.001449, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.016/1.016, allocations: 135.3 MB / 426.4 MB, free: 14.4 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.00036, allocations: 13.88 kB / 0.507 GB, free: 5.281 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1831, allocations: 82.3 MB / 0.5874 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0007014/0.1838, allocations: 307.1 kB / 0.5877 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.185, allocations: 1.083 MB / 0.5887 GB, free: 1.746 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.317e-05/0.1851, allocations: 0 / 0.5887 GB, free: 1.746 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.936e-06/0.1851, allocations: 0 / 0.5887 GB, free: 1.746 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00022/0.1853, allocations: 23.92 kB / 0.5888 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.025e-06/0.1853, allocations: 0 / 0.5888 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.606e-05/0.1854, allocations: 0 / 0.5888 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.268e-05/0.1854, allocations: 0 / 0.5888 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.347e-05/0.1855, allocations: 7.938 kB / 0.5888 GB, free: 1.715 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.603e-05/0.1855, allocations: 7.984 kB / 0.5888 GB, free: 1.707 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.093e-06/0.1855, allocations: 0 / 0.5888 GB, free: 1.707 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.11e-05/0.1856, allocations: 19.92 kB / 0.5888 GB, free: 1.688 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.318e-06/0.1856, allocations: 0 / 0.5888 GB, free: 1.688 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.965e-05/0.1856, allocations: 25.7 kB / 0.5888 GB, free: 1.656 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.503e-05/0.1857, allocations: 7.984 kB / 0.5888 GB, free: 1.648 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1857, allocations: 0 / 0.5888 GB, free: 1.648 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1857, allocations: 0 / 0.5888 GB, free: 1.648 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.1857, allocations: 4 kB / 0.5888 GB, free: 1.645 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.0002648/0.186, allocations: 315.4 kB / 0.5891 GB, free: 1.289 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.186, allocations: 12.09 kB / 0.5891 GB, free: 1.277 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.604e-05/0.1861, allocations: 3.984 kB / 0.5891 GB, free: 1.273 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.425e-05/0.1862, allocations: 163 kB / 0.5893 GB, free: 1.074 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.1862, allocations: 4 kB / 0.5893 GB, free: 1.07 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.1862, allocations: 0 / 0.5893 GB, free: 1.07 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.1863, allocations: 41.62 kB / 0.5893 GB, free: 1.023 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.1863, allocations: 7.906 kB / 0.5894 GB, free: 1.016 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.138e-06/0.1864, allocations: 0 / 0.5894 GB, free: 1.016 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1864, allocations: 0 / 0.5894 GB, free: 1.016 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.818e-05/0.1864, allocations: 8 kB / 0.5894 GB, free: 1.008 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001562/0.1866, allocations: 157.7 kB / 0.5895 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.1868, allocations: 22.58 kB / 0.5895 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.383e-05/0.1868, allocations: 16.94 kB / 0.5895 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/0.1869, allocations: 85.05 kB / 0.5896 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.187, allocations: 30.56 kB / 0.5897 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.187, allocations: 7.938 kB / 0.5897 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.003579/0.1906, allocations: 0.5757 MB / 0.5902 GB, free: 24 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.1906, allocations: 55.41 kB / 0.5903 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.814e-05/0.1907, allocations: 89.86 kB / 0.5904 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.1907, allocations: 25.7 kB / 0.5904 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.747e-05/0.1907, allocations: 80.14 kB / 0.5905 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.283e-05/0.1908, allocations: 15.8 kB / 0.5905 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.688e-06/0.1908, allocations: 0 / 0.5905 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1909, allocations: 318.8 kB / 0.5908 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004882/0.1914, allocations: 87.89 kB / 0.5909 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004984/0.1919, allocations: 102.5 kB / 0.591 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004789/0.1924, allocations: 83.95 kB / 0.591 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1924, allocations: 4 kB / 0.5911 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00102/0.1935, allocations: 217.5 kB / 0.5913 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.1935, allocations: 4 kB / 0.5913 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.1935, allocations: 0 / 0.5913 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.1935, allocations: 4.031 kB / 0.5913 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003363/0.1939, allocations: 51.91 kB / 0.5913 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.1939, allocations: 4 kB / 0.5913 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002707/0.1942, allocations: 39.97 kB / 0.5914 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.1942, allocations: 8 kB / 0.5914 GB, free: 14.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.602e-05/0.1943, allocations: 113.8 kB / 0.5915 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.488e-05/0.1943, allocations: 0 / 0.5915 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/0.1955, allocations: 237 kB / 0.5917 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1955, allocations: 0 / 0.5917 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1956, allocations: 0 / 0.5917 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1956, allocations: 7.984 kB / 0.5917 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.1968, allocations: 450.8 kB / 0.5921 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1968, allocations: 0 / 0.5921 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003091/0.1971, allocations: 51.97 kB / 0.5922 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.1971, allocations: 7.938 kB / 0.5922 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.1972, allocations: 0 / 0.5922 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1972, allocations: 0 / 0.5922 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1972, allocations: 0 / 0.5922 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.1982, allocations: 311.4 kB / 0.5925 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.2e-05/0.1983, allocations: 81.02 kB / 0.5926 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.1983, allocations: 3.938 kB / 0.5926 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002958/0.1986, allocations: 43.97 kB / 0.5926 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.705e-05/0.1986, allocations: 0 / 0.5926 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.1986, allocations: 0 / 0.5926 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.961e-05/0.1987, allocations: 79.31 kB / 0.5927 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1987, allocations: 0 / 0.5927 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002508/0.1989, allocations: 12 kB / 0.5927 GB, free: 13.32 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001996/0.1991, allocations: 103.2 kB / 0.5928 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001052/0.2002, allocations: 179.9 kB / 0.593 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.2002, allocations: 0 / 0.593 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004747/0.2007, allocations: 92.02 kB / 0.5931 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.2009, allocations: 15.33 kB / 0.5931 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000944/0.2019, allocations: 218.7 kB / 0.5933 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.2021, allocations: 0.6731 MB / 0.5939 GB, free: 12 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002225/0.2024, allocations: 35.94 kB / 0.594 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.302e-05/0.2024, allocations: 11.42 kB / 0.594 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.2025, allocations: 0 / 0.594 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of Templates: time 0.003149/0.2056, allocations: 0.7798 MB / 0.5947 GB, free: 11.18 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)