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 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 90] 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=500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00683/0.00683, allocations: 101.1 kB / 15.73 MB, free: 6.062 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.001353/0.001353, allocations: 193.4 kB / 16.68 MB, free: 5.973 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.485/1.485, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8726/0.8726, allocations: 132.2 MB / 422.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 71.88 kB / 0.5814 GB, free: 7.477 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4564/0.4583, allocations: 80.21 MB / 0.6597 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001617/0.46, allocations: 0.5724 MB / 0.6603 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001335/0.4613, allocations: 1.119 MB / 0.6614 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.321e-05/0.4614, allocations: 0 / 0.6614 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.96e-05/0.4614, allocations: 2 kB / 0.6614 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000272/0.4617, allocations: 16.39 kB / 0.6614 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.737e-06/0.4617, allocations: 0 / 0.6614 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.944e-05/0.4617, allocations: 3.516 kB / 0.6614 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.025e-05/0.4618, allocations: 1.984 kB / 0.6614 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.776e-05/0.4618, allocations: 1.062 kB / 0.6614 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.71e-05/0.4618, allocations: 9.656 kB / 0.6614 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.015e-06/0.4619, allocations: 0 / 0.6614 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.462, allocations: 25.12 kB / 0.6614 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.288e-06/0.462, allocations: 8.844 kB / 0.6615 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.27e-05/0.462, allocations: 0 / 0.6615 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.123e-05/0.4621, allocations: 17.64 kB / 0.6615 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.4621, allocations: 0.5625 kB / 0.6615 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4621, allocations: 0 / 0.6615 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.4621, allocations: 0 / 0.6615 GB, free: 9.066 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.0002648/0.4624, allocations: 322.5 kB / 0.6618 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.4625, allocations: 9.562 kB / 0.6618 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.332e-05/0.4625, allocations: 2.797 kB / 0.6618 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.763e-05/0.4626, allocations: 165.3 kB / 0.6619 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.4626, allocations: 1.562 kB / 0.6619 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.4626, allocations: 5.938 kB / 0.662 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.679e-05/0.4627, allocations: 40.92 kB / 0.662 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.4627, allocations: 0 / 0.662 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.4627, allocations: 1.25 kB / 0.662 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.4627, allocations: 0 / 0.662 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.63e-05/0.4628, allocations: 13.36 kB / 0.662 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000113/0.4629, allocations: 155.2 kB / 0.6622 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.4631, allocations: 37.45 kB / 0.6622 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.861e-05/0.4631, allocations: 9.719 kB / 0.6622 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001274/0.4633, allocations: 81.55 kB / 0.6623 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.539e-05/0.4633, allocations: 36.42 kB / 0.6623 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.4633, allocations: 0 / 0.6623 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.004288/0.4676, allocations: 0.5687 MB / 0.6629 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.4676, allocations: 53.06 kB / 0.6629 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.204e-05/0.4677, allocations: 90.47 kB / 0.663 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.4677, allocations: 29.7 kB / 0.663 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.279e-05/0.4677, allocations: 81.39 kB / 0.6631 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.878e-05/0.4677, allocations: 18.09 kB / 0.6631 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.306e-05/0.4678, allocations: 21.72 kB / 0.6631 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.428e-05/0.4679, allocations: 316.5 kB / 0.6634 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006093/0.4685, allocations: 82.88 kB / 0.6635 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006094/0.4691, allocations: 104.3 kB / 0.6636 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.4703, allocations: 191.3 kB / 0.6638 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.4703, allocations: 0 / 0.6638 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001238/0.4715, allocations: 221.8 kB / 0.664 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.4716, allocations: 5.625 kB / 0.664 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.4716, allocations: 0.9375 kB / 0.664 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.4716, allocations: 1.891 kB / 0.664 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004003/0.472, allocations: 55.55 kB / 0.6641 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.472, allocations: 1.125 kB / 0.6641 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003434/0.4724, allocations: 42.8 kB / 0.6641 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.4724, allocations: 6.859 kB / 0.6641 GB, free: 7.199 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 6.588e-05/0.4725, allocations: 111.5 kB / 0.6642 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.95e-05/0.4725, allocations: 6.781 kB / 0.6642 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/0.4739, allocations: 238.3 kB / 0.6645 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-06/0.4739, allocations: 0 / 0.6645 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.4739, allocations: 5.469 kB / 0.6645 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4739, allocations: 4 kB / 0.6645 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/0.4753, allocations: 453.7 kB / 0.6649 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.4753, allocations: 1 kB / 0.6649 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003792/0.4757, allocations: 53.06 kB / 0.665 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.4757, allocations: 0 / 0.665 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.4757, allocations: 1.438 kB / 0.665 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.4757, allocations: 1.5 kB / 0.665 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.4758, allocations: 3.984 kB / 0.665 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.477, allocations: 305.9 kB / 0.6653 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.752e-05/0.477, allocations: 86.11 kB / 0.6653 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.477, allocations: 4.969 kB / 0.6653 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003682/0.4774, allocations: 38.89 kB / 0.6654 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.41e-05/0.4774, allocations: 1.281 kB / 0.6654 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.4775, allocations: 5.578 kB / 0.6654 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.1e-05/0.4775, allocations: 75.28 kB / 0.6655 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4775, allocations: 0 / 0.6655 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000264/0.4777, allocations: 13.47 kB / 0.6655 GB, free: 6.191 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.0001617/0.4779, allocations: 111.2 kB / 0.6656 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001259/0.4792, allocations: 182 kB / 0.6658 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4792, allocations: 0 / 0.6658 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005951/0.4798, allocations: 92.36 kB / 0.6658 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.48, allocations: 5.5 kB / 0.6658 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.4811, allocations: 220.1 kB / 0.6661 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.13e-05/0.4812, allocations: 0.6771 MB / 0.6667 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001639/0.4814, allocations: 24.91 kB / 0.6667 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.02e-05/0.4815, allocations: 14.59 kB / 0.6668 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.4815, allocations: 0 / 0.6668 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of Templates: time 0.002963/0.4844, allocations: 0.8058 MB / 0.6675 GB, free: 4.719 MB / 0.4981 GB 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]