Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001304/0.001304, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.325/1.325, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7541/0.7541, allocations: 132.2 MB / 422.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 68.02 kB / 0.5018 GB, free: 8.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.1923, allocations: 80.21 MB / 0.5801 GB, free: 8.793 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.002786/0.1951, allocations: 0.5802 MB / 0.5807 GB, free: 8.207 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002279/0.1974, allocations: 1.106 MB / 0.5817 GB, free: 7.086 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.282e-05/0.1975, allocations: 0 / 0.5817 GB, free: 7.086 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.114e-05/0.1976, allocations: 7.938 kB / 0.5818 GB, free: 7.078 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003807/0.198, allocations: 19.92 kB / 0.5818 GB, free: 7.059 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.072e-06/0.198, allocations: 0 / 0.5818 GB, free: 7.059 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.614e-05/0.1981, allocations: 7.938 kB / 0.5818 GB, free: 7.051 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.648e-05/0.1981, allocations: 0 / 0.5818 GB, free: 7.051 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.616e-05/0.1982, allocations: 7.938 kB / 0.5818 GB, free: 7.043 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.09e-05/0.1982, allocations: 3.984 kB / 0.5818 GB, free: 7.039 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.1982, allocations: 0 / 0.5818 GB, free: 7.039 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001534/0.1984, allocations: 23.92 kB / 0.5818 GB, free: 7.016 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.045e-06/0.1984, allocations: 0 / 0.5818 GB, free: 7.016 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.992e-05/0.1984, allocations: 0 / 0.5818 GB, free: 7.016 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.1986, allocations: 23.91 kB / 0.5818 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1986, allocations: 0 / 0.5818 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1986, allocations: 0 / 0.5818 GB, free: 6.992 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.1986, allocations: 0 / 0.5818 GB, free: 6.992 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.0004092/0.199, allocations: 325.1 kB / 0.5822 GB, free: 6.629 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.1991, allocations: 8.031 kB / 0.5822 GB, free: 6.621 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.229e-05/0.1991, allocations: 8.938 kB / 0.5822 GB, free: 6.613 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.1993, allocations: 164.3 kB / 0.5823 GB, free: 6.414 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.1993, allocations: 4.359 kB / 0.5823 GB, free: 6.41 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.158e-05/0.1994, allocations: 384 / 0.5823 GB, free: 6.41 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.1995, allocations: 42.02 kB / 0.5824 GB, free: 6.363 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.1995, allocations: 0 / 0.5824 GB, free: 6.363 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.1996, allocations: 4 kB / 0.5824 GB, free: 6.359 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1996, allocations: 0 / 0.5824 GB, free: 6.359 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.96e-05/0.1996, allocations: 7.984 kB / 0.5824 GB, free: 6.352 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002068/0.1998, allocations: 149.6 kB / 0.5825 GB, free: 6.156 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/0.2001, allocations: 38.55 kB / 0.5826 GB, free: 6.109 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.347e-05/0.2002, allocations: 12.86 kB / 0.5826 GB, free: 6.094 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001994/0.2004, allocations: 85.19 kB / 0.5827 GB, free: 5.992 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.079e-05/0.2004, allocations: 34.5 kB / 0.5827 GB, free: 5.949 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 2.104e-06/0.2005, allocations: 0 / 0.5827 GB, free: 5.949 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.005484/0.2059, allocations: 0.5679 MB / 0.5832 GB, free: 5.375 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.206, allocations: 55.41 kB / 0.5833 GB, free: 5.309 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.559e-05/0.2061, allocations: 89.86 kB / 0.5834 GB, free: 5.211 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.2061, allocations: 29.7 kB / 0.5834 GB, free: 5.176 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.827e-05/0.2062, allocations: 84.14 kB / 0.5835 GB, free: 5.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.389e-05/0.2062, allocations: 11.8 kB / 0.5835 GB, free: 5.078 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.195e-05/0.2063, allocations: 17.72 kB / 0.5835 GB, free: 5.055 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.2064, allocations: 314.8 kB / 0.5838 GB, free: 4.738 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007518/0.2072, allocations: 87.89 kB / 0.5839 GB, free: 4.652 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007937/0.208, allocations: 106.5 kB / 0.584 GB, free: 4.539 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001539/0.2096, allocations: 190.5 kB / 0.5842 GB, free: 4.344 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2096, allocations: 0 / 0.5842 GB, free: 4.344 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001725/0.2113, allocations: 213.5 kB / 0.5844 GB, free: 4.129 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.53e-05/0.2114, allocations: 7.938 kB / 0.5844 GB, free: 4.121 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.2114, allocations: 4 kB / 0.5844 GB, free: 4.117 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.2114, allocations: 0 / 0.5844 GB, free: 4.117 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005573/0.212, allocations: 55.94 kB / 0.5845 GB, free: 4.062 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.212, allocations: 7.984 kB / 0.5845 GB, free: 4.055 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004698/0.2125, allocations: 35.98 kB / 0.5845 GB, free: 4.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.2125, allocations: 4 kB / 0.5845 GB, free: 4.016 MB / 494.1 MB 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.0001132/0.2126, allocations: 106.5 kB / 0.5846 GB, free: 3.902 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.166e-05/0.2127, allocations: 11.84 kB / 0.5846 GB, free: 3.891 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001811/0.2145, allocations: 241.5 kB / 0.5848 GB, free: 3.645 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.2145, allocations: 0 / 0.5848 GB, free: 3.645 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.2145, allocations: 256 / 0.5848 GB, free: 3.645 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.2146, allocations: 7.984 kB / 0.5848 GB, free: 3.637 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002074/0.2166, allocations: 458.4 kB / 0.5853 GB, free: 3.133 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.2167, allocations: 0 / 0.5853 GB, free: 3.133 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005104/0.2172, allocations: 47.97 kB / 0.5853 GB, free: 3.086 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.2172, allocations: 0 / 0.5853 GB, free: 3.086 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.2172, allocations: 0 / 0.5853 GB, free: 3.086 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.2172, allocations: 0 / 0.5853 GB, free: 3.086 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2173, allocations: 4 kB / 0.5853 GB, free: 3.082 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001674/0.2189, allocations: 307.3 kB / 0.5856 GB, free: 2.766 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.492e-05/0.219, allocations: 77.11 kB / 0.5857 GB, free: 2.672 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.718e-05/0.2191, allocations: 8 kB / 0.5857 GB, free: 2.664 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004995/0.2196, allocations: 39.97 kB / 0.5857 GB, free: 2.625 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.456e-05/0.2196, allocations: 4 kB / 0.5858 GB, free: 2.621 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.2196, allocations: 0 / 0.5858 GB, free: 2.621 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.641e-05/0.2197, allocations: 75.28 kB / 0.5858 GB, free: 2.547 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.2197, allocations: 0 / 0.5858 GB, free: 2.547 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003759/0.2201, allocations: 16 kB / 0.5858 GB, free: 2.531 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 (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.0003499/0.2204, allocations: 111.2 kB / 0.5859 GB, free: 2.414 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001577/0.222, allocations: 187.8 kB / 0.5861 GB, free: 2.23 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.2221, allocations: 0 / 0.5861 GB, free: 2.23 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00075/0.2228, allocations: 88.08 kB / 0.5862 GB, free: 2.145 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.2232, allocations: 19.64 kB / 0.5862 GB, free: 2.129 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.2245, allocations: 216.8 kB / 0.5864 GB, free: 1.891 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/0.2247, allocations: 0.6729 MB / 0.5871 GB, free: 1.191 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002132/0.2249, allocations: 24 kB / 0.5871 GB, free: 1.168 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.413e-05/0.225, allocations: 19.42 kB / 0.5871 GB, free: 1.148 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.225, allocations: 0 / 0.5871 GB, free: 1.148 MB / 494.1 MB Notification: Performance of Templates: time 0.003024/0.228, allocations: 0.8116 MB / 0.5879 GB, free: 356 kB / 494.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)