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.001353/0.001353, allocations: 110.3 kB / 16.37 MB, free: 6.012 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.001371/0.001371, allocations: 194.6 kB / 17.31 MB, free: 5.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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8233/0.8233, allocations: 132.2 MB / 423.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.001351, allocations: 63.91 kB / 0.5032 GB, free: 10.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3897, allocations: 80.19 MB / 0.5815 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001691/0.3915, allocations: 0.5826 MB / 0.5821 GB, free: 27.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.3925, allocations: 1.105 MB / 0.5832 GB, free: 26.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.832e-05/0.3925, allocations: 3.938 kB / 0.5832 GB, free: 26.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.196e-05/0.3926, allocations: 1.031 kB / 0.5832 GB, free: 26.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002467/0.3928, allocations: 26.88 kB / 0.5832 GB, free: 26.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.657e-06/0.3928, allocations: 1.344 kB / 0.5832 GB, free: 26.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.886e-05/0.3929, allocations: 6.656 kB / 0.5832 GB, free: 26.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.604e-05/0.3929, allocations: 1.531 kB / 0.5832 GB, free: 26.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.444e-05/0.3929, allocations: 1.375 kB / 0.5832 GB, free: 26.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.138e-05/0.393, allocations: 3 kB / 0.5832 GB, free: 26.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.602e-06/0.393, allocations: 0 / 0.5832 GB, free: 26.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.3931, allocations: 23.22 kB / 0.5832 GB, free: 26.28 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.111e-06/0.3931, allocations: 1.125 kB / 0.5832 GB, free: 26.28 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.666e-05/0.3931, allocations: 5.656 kB / 0.5832 GB, free: 26.28 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.43e-05/0.3932, allocations: 12.3 kB / 0.5832 GB, free: 26.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3932, allocations: 2.188 kB / 0.5833 GB, free: 26.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3932, allocations: 0 / 0.5833 GB, free: 26.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.3932, allocations: 0 / 0.5833 GB, free: 26.27 MB / 446.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.0002195/0.3935, allocations: 323 kB / 0.5836 GB, free: 25.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.3935, allocations: 8.969 kB / 0.5836 GB, free: 25.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.3936, allocations: 5.969 kB / 0.5836 GB, free: 25.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.705e-05/0.3936, allocations: 165 kB / 0.5837 GB, free: 25.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.3936, allocations: 5.578 kB / 0.5837 GB, free: 25.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.3937, allocations: 3.625 kB / 0.5837 GB, free: 25.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.714e-05/0.3937, allocations: 37.81 kB / 0.5838 GB, free: 25.67 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3938, allocations: 0.9375 kB / 0.5838 GB, free: 25.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.3938, allocations: 4 kB / 0.5838 GB, free: 25.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3938, allocations: 2.062 kB / 0.5838 GB, free: 25.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.455e-05/0.3938, allocations: 6.859 kB / 0.5838 GB, free: 25.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001037/0.3939, allocations: 153.7 kB / 0.5839 GB, free: 25.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.3941, allocations: 35.77 kB / 0.584 GB, free: 25.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.986e-05/0.3941, allocations: 11.52 kB / 0.584 GB, free: 25.42 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001334/0.3943, allocations: 90.12 kB / 0.5841 GB, free: 25.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.453e-05/0.3943, allocations: 35.81 kB / 0.5841 GB, free: 25.28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.3943, allocations: 5.625 kB / 0.5841 GB, free: 25.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.005226/0.3995, allocations: 0.5706 MB / 0.5847 GB, free: 25.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.3996, allocations: 53.78 kB / 0.5847 GB, free: 25.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.158e-05/0.3997, allocations: 89.86 kB / 0.5848 GB, free: 24.97 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.3997, allocations: 25.7 kB / 0.5848 GB, free: 24.94 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.811e-05/0.3997, allocations: 83.36 kB / 0.5849 GB, free: 24.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.509e-05/0.3998, allocations: 25 kB / 0.5849 GB, free: 24.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.55e-05/0.3999, allocations: 17.91 kB / 0.5849 GB, free: 24.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.978e-05/0.4, allocations: 313.4 kB / 0.5852 GB, free: 24.51 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007918/0.4008, allocations: 82.39 kB / 0.5853 GB, free: 24.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008128/0.4016, allocations: 109.9 kB / 0.5854 GB, free: 24.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00161/0.4032, allocations: 184.8 kB / 0.5856 GB, free: 24.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4032, allocations: 2.312 kB / 0.5856 GB, free: 24.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001682/0.4049, allocations: 214.4 kB / 0.5858 GB, free: 24.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/0.405, allocations: 7.125 kB / 0.5858 GB, free: 24.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.405, allocations: 1.562 kB / 0.5858 GB, free: 24.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.174e-05/0.405, allocations: 1.406 kB / 0.5858 GB, free: 24.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005139/0.4056, allocations: 53.44 kB / 0.5859 GB, free: 24.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.4056, allocations: 5.141 kB / 0.5859 GB, free: 24.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004707/0.4061, allocations: 38.02 kB / 0.5859 GB, free: 24.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.797e-05/0.4061, allocations: 6.469 kB / 0.5859 GB, free: 24.31 MB / 446.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.0001087/0.4062, allocations: 111.3 kB / 0.586 GB, free: 24.19 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.243e-05/0.4063, allocations: 5.281 kB / 0.586 GB, free: 24.19 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00186/0.4081, allocations: 235 kB / 0.5863 GB, free: 24.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.4082, allocations: 1.406 kB / 0.5863 GB, free: 24.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.4082, allocations: 4 kB / 0.5863 GB, free: 24.08 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.4082, allocations: 0 / 0.5863 GB, free: 24.08 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001931/0.4101, allocations: 455.5 kB / 0.5867 GB, free: 23.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.4101, allocations: 0 / 0.5867 GB, free: 23.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005363/0.4107, allocations: 48.84 kB / 0.5867 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.4107, allocations: 1.688 kB / 0.5867 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.4108, allocations: 4 kB / 0.5867 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.4108, allocations: 5.156 kB / 0.5868 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.4108, allocations: 3.938 kB / 0.5868 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/0.4126, allocations: 314.3 kB / 0.5871 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.506e-05/0.4126, allocations: 78.94 kB / 0.5871 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.146e-05/0.4126, allocations: 0 / 0.5871 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005494/0.4132, allocations: 42.88 kB / 0.5872 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.687e-05/0.4132, allocations: 1.375 kB / 0.5872 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.4133, allocations: 6.438 kB / 0.5872 GB, free: 23.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.705e-05/0.4133, allocations: 75.28 kB / 0.5872 GB, free: 23.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4133, allocations: 0 / 0.5872 GB, free: 23.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004309/0.4138, allocations: 13.84 kB / 0.5873 GB, free: 23.32 MB / 446.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.0001945/0.414, allocations: 111.2 kB / 0.5874 GB, free: 23.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001752/0.4157, allocations: 181.9 kB / 0.5875 GB, free: 23.17 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4157, allocations: 0 / 0.5875 GB, free: 23.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008707/0.4166, allocations: 91.86 kB / 0.5876 GB, free: 23.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.417, allocations: 5.203 kB / 0.5876 GB, free: 23.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.4188, allocations: 220.9 kB / 0.5878 GB, free: 23.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.4189, allocations: 0.6728 MB / 0.5885 GB, free: 22.31 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002873/0.4192, allocations: 23.94 kB / 0.5885 GB, free: 22.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.918e-05/0.4193, allocations: 18.11 kB / 0.5885 GB, free: 22.28 MB / 446.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4193, allocations: 0 / 0.5885 GB, free: 22.28 MB / 446.1 MB Notification: Performance of Templates: time 0.004497/0.4238, allocations: 0.8015 MB / 0.5893 GB, free: 21.85 MB / 446.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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)