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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9246/0.9246, allocations: 134 MB / 438.5 MB, free: 14.04 MB / 350.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 67.89 kB / 0.6084 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4781/0.4801, allocations: 84.67 MB / 0.6911 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.002173/0.4823, allocations: 0.6003 MB / 0.6917 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001649/0.4839, allocations: 1.109 MB / 0.6928 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.04e-05/0.484, allocations: 0 / 0.6928 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.334e-05/0.484, allocations: 8.875 kB / 0.6928 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003278/0.4843, allocations: 18.42 kB / 0.6928 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 4.198e-06/0.4843, allocations: 0 / 0.6928 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.203e-05/0.4844, allocations: 10.42 kB / 0.6928 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.84e-05/0.4845, allocations: 5.031 kB / 0.6928 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.886e-05/0.4845, allocations: 1.062 kB / 0.6928 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.316e-05/0.4845, allocations: 9.234 kB / 0.6928 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.09e-05/0.4845, allocations: 1.125 kB / 0.6928 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.4847, allocations: 19.98 kB / 0.6928 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.336e-06/0.4847, allocations: 0 / 0.6928 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.022e-05/0.4847, allocations: 5.109 kB / 0.6928 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.4848, allocations: 12.64 kB / 0.6928 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4848, allocations: 1 kB / 0.6928 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.462e-06/0.4848, allocations: 0 / 0.6928 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.794e-06/0.4848, allocations: 0 / 0.6928 GB, free: 0.8359 MB / 0.4981 GB 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.000329/0.4852, allocations: 324 kB / 0.6932 GB, free: 492 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.4852, allocations: 10.44 kB / 0.6932 GB, free: 492 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/0.4852, allocations: 0.9375 kB / 0.6932 GB, free: 492 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.668e-05/0.4853, allocations: 161.5 kB / 0.6933 GB, free: 292 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.4853, allocations: 8.312 kB / 0.6933 GB, free: 284 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.474e-05/0.4854, allocations: 2.781 kB / 0.6933 GB, free: 284 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.4855, allocations: 37.56 kB / 0.6934 GB, free: 244 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.4855, allocations: 0 / 0.6934 GB, free: 244 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.4855, allocations: 1.125 kB / 0.6934 GB, free: 244 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.4855, allocations: 4 kB / 0.6934 GB, free: 240 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.598e-05/0.4856, allocations: 7.812 kB / 0.6934 GB, free: 236 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001474/0.4857, allocations: 153.2 kB / 0.6935 GB, free: 36 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002475/0.486, allocations: 37.3 kB / 0.6936 GB, free: 0 / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.407e-05/0.486, allocations: 7.234 kB / 0.6936 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001789/0.4862, allocations: 80.58 kB / 0.6936 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.4863, allocations: 43.62 kB / 0.6937 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.4863, allocations: 0 / 0.6937 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5): time 0.004538/0.4908, allocations: 0.5691 MB / 0.6942 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/0.4909, allocations: 56.64 kB / 0.6943 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.328e-05/0.4909, allocations: 89.86 kB / 0.6944 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.4909, allocations: 25.7 kB / 0.6944 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.284e-05/0.491, allocations: 81.48 kB / 0.6945 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.682e-05/0.491, allocations: 25.33 kB / 0.6945 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.617e-05/0.4911, allocations: 18.45 kB / 0.6945 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.4913, allocations: 320 kB / 0.6948 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006113/0.4919, allocations: 82.23 kB / 0.6949 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006033/0.4925, allocations: 103.9 kB / 0.695 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/0.4937, allocations: 191.7 kB / 0.6952 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.4937, allocations: 0 / 0.6952 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001259/0.4949, allocations: 226.9 kB / 0.6954 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.4949, allocations: 4.125 kB / 0.6954 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.4949, allocations: 1.375 kB / 0.6954 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.495, allocations: 1.375 kB / 0.6954 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000401/0.4954, allocations: 50.5 kB / 0.6955 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.4954, allocations: 3.938 kB / 0.6955 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003428/0.4957, allocations: 43.55 kB / 0.6955 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.4957, allocations: 6.734 kB / 0.6955 GB, free: 14.77 MB / 0.5137 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.0001015/0.4958, allocations: 111.2 kB / 0.6956 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/0.4959, allocations: 5.312 kB / 0.6956 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001367/0.4972, allocations: 238.7 kB / 0.6959 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.4972, allocations: 1.375 kB / 0.6959 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.4972, allocations: 0 / 0.6959 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.4972, allocations: 0 / 0.6959 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/0.4988, allocations: 454.7 kB / 0.6963 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.4988, allocations: 1.469 kB / 0.6963 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003719/0.4991, allocations: 48.81 kB / 0.6963 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4991, allocations: 0 / 0.6963 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.4992, allocations: 1.219 kB / 0.6963 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.4992, allocations: 4 kB / 0.6963 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.4992, allocations: 5.266 kB / 0.6963 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/0.5004, allocations: 305.4 kB / 0.6966 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.544e-05/0.5005, allocations: 86.52 kB / 0.6967 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.5005, allocations: 1.281 kB / 0.6967 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003556/0.5008, allocations: 38.08 kB / 0.6968 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.937e-06/0.5009, allocations: 1.25 kB / 0.6968 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.5009, allocations: 5.328 kB / 0.6968 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.249e-05/0.5009, allocations: 80.66 kB / 0.6968 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.5009, allocations: 0 / 0.6968 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002406/0.5011, allocations: 17.47 kB / 0.6969 GB, free: 13.76 MB / 0.5137 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.0001621/0.5013, allocations: 99.12 kB / 0.697 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001223/0.5025, allocations: 185.1 kB / 0.6971 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5025, allocations: 4.188 kB / 0.6971 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005962/0.5031, allocations: 87.27 kB / 0.6972 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/0.5033, allocations: 4.672 kB / 0.6972 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.5045, allocations: 234.3 kB / 0.6974 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.5048, allocations: 0.6812 MB / 0.6981 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001759/0.5049, allocations: 32.25 kB / 0.6981 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.312e-05/0.505, allocations: 14.66 kB / 0.6982 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of SimCode: time 4.81e-07/0.505, allocations: 0 / 0.6982 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of Templates: time 0.002998/0.508, allocations: 0.8214 MB / 0.699 GB, free: 12.27 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.959121318534017]