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.001388/0.001388, allocations: 91.38 kB / 15.36 MB, free: 0.7344 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.008458/0.008458, allocations: 169.4 kB / 16.26 MB, free: 6.68 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.378/1.378, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7598/0.7598, allocations: 132.3 MB / 423.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003992/0.0003994, allocations: 16 kB / 0.504 GB, free: 3.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4827/0.4831, allocations: 81.57 MB / 0.5837 GB, free: 4.062 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0006355/0.4837, allocations: 322.4 kB / 0.584 GB, free: 3.848 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.4849, allocations: 1.092 MB / 0.5851 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.388e-05/0.4849, allocations: 2.031 kB / 0.5851 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.155e-05/0.4849, allocations: 0 / 0.5851 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001968/0.4851, allocations: 22.33 kB / 0.5851 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.294e-06/0.4852, allocations: 1 kB / 0.5851 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.104e-05/0.4852, allocations: 6.625 kB / 0.5851 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.891e-05/0.4852, allocations: 5.703 kB / 0.5851 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.28e-05/0.4852, allocations: 5.438 kB / 0.5851 GB, free: 3.012 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.108e-05/0.4853, allocations: 0.5625 kB / 0.5851 GB, free: 3.012 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.464e-06/0.4853, allocations: 3.531 kB / 0.5851 GB, free: 3.012 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.715e-05/0.4854, allocations: 21.38 kB / 0.5851 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.791e-06/0.4854, allocations: 7.922 kB / 0.5851 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.642e-05/0.4854, allocations: 26.31 kB / 0.5852 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 6.811e-05/0.4855, allocations: 13.42 kB / 0.5852 GB, free: 2.961 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.4855, allocations: 0 / 0.5852 GB, free: 2.961 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4855, allocations: 0.625 kB / 0.5852 GB, free: 2.961 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.698e-06/0.4855, allocations: 0.5 kB / 0.5852 GB, free: 2.961 MB / 430.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.0001788/0.4857, allocations: 320.7 kB / 0.5855 GB, free: 2.605 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.4857, allocations: 9.5 kB / 0.5855 GB, free: 2.605 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.604e-05/0.4858, allocations: 5.969 kB / 0.5855 GB, free: 2.602 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.754e-05/0.4858, allocations: 166.8 kB / 0.5856 GB, free: 2.402 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.4859, allocations: 384 / 0.5856 GB, free: 2.402 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.4859, allocations: 2.438 kB / 0.5857 GB, free: 2.402 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.689e-05/0.486, allocations: 41.28 kB / 0.5857 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.486, allocations: 3.938 kB / 0.5857 GB, free: 2.359 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.203e-06/0.486, allocations: 0 / 0.5857 GB, free: 2.359 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/0.486, allocations: 4.938 kB / 0.5857 GB, free: 2.355 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.478e-05/0.486, allocations: 6.438 kB / 0.5857 GB, free: 2.355 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001019/0.4862, allocations: 149.8 kB / 0.5858 GB, free: 2.164 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.4863, allocations: 30.19 kB / 0.5859 GB, free: 2.141 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.884e-05/0.4864, allocations: 12.2 kB / 0.5859 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/0.4865, allocations: 83.61 kB / 0.586 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.429e-05/0.4865, allocations: 43.19 kB / 0.586 GB, free: 1.984 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.4865, allocations: 0.625 kB / 0.586 GB, free: 1.984 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.004195/0.4907, allocations: 0.5694 MB / 0.5866 GB, free: 1.895 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.082e-05/0.4907, allocations: 52.59 kB / 0.5866 GB, free: 1.832 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.77e-05/0.4908, allocations: 90.38 kB / 0.5867 GB, free: 1.734 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.4908, allocations: 26.61 kB / 0.5867 GB, free: 1.703 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.066e-05/0.4908, allocations: 80.14 kB / 0.5868 GB, free: 1.621 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.252e-05/0.4909, allocations: 23.53 kB / 0.5868 GB, free: 1.602 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/0.4909, allocations: 12.09 kB / 0.5868 GB, free: 1.586 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.303e-05/0.4909, allocations: 320.8 kB / 0.5871 GB, free: 1.266 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005878/0.4915, allocations: 79.48 kB / 0.5872 GB, free: 1.262 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005876/0.4921, allocations: 108.2 kB / 0.5873 GB, free: 1.223 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.4933, allocations: 190.3 kB / 0.5875 GB, free: 1.176 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.4933, allocations: 0 / 0.5875 GB, free: 1.176 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00123/0.4946, allocations: 221.1 kB / 0.5877 GB, free: 1.113 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.4946, allocations: 5.469 kB / 0.5877 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.4946, allocations: 1.031 kB / 0.5877 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.4946, allocations: 1.969 kB / 0.5877 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003943/0.495, allocations: 54.52 kB / 0.5878 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.495, allocations: 1.406 kB / 0.5878 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003416/0.4954, allocations: 39.86 kB / 0.5878 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.4954, allocations: 3.453 kB / 0.5878 GB, free: 1.102 MB / 430.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 6.862e-05/0.4955, allocations: 117.5 kB / 0.5879 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.763e-05/0.4955, allocations: 5.781 kB / 0.5879 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/0.4969, allocations: 234.8 kB / 0.5882 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.4969, allocations: 1.031 kB / 0.5882 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.4969, allocations: 0.5625 kB / 0.5882 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.4969, allocations: 0.9688 kB / 0.5882 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/0.4984, allocations: 458.8 kB / 0.5886 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.4984, allocations: 0.625 kB / 0.5886 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003865/0.4988, allocations: 52.38 kB / 0.5887 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.309e-06/0.4988, allocations: 2.125 kB / 0.5887 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.4988, allocations: 0.6562 kB / 0.5887 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.4988, allocations: 1.375 kB / 0.5887 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4988, allocations: 0 / 0.5887 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001278/0.5001, allocations: 309.6 kB / 0.589 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.603e-05/0.5002, allocations: 83.05 kB / 0.589 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.5002, allocations: 0.7969 kB / 0.589 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003651/0.5006, allocations: 44.28 kB / 0.5891 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-05/0.5006, allocations: 3.109 kB / 0.5891 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.5006, allocations: 3.344 kB / 0.5891 GB, free: 316 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.077e-05/0.5006, allocations: 75.28 kB / 0.5892 GB, free: 240 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5007, allocations: 0 / 0.5892 GB, free: 240 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002789/0.5009, allocations: 12.44 kB / 0.5892 GB, free: 236 kB / 430.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.0002048/0.5011, allocations: 101.1 kB / 0.5893 GB, free: 148 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001287/0.5024, allocations: 183.6 kB / 0.5894 GB, free: 124 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5025, allocations: 7.875 kB / 0.5894 GB, free: 116 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006053/0.5031, allocations: 88.62 kB / 0.5895 GB, free: 108 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.5033, allocations: 12.48 kB / 0.5895 GB, free: 100 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.5044, allocations: 209.6 kB / 0.5897 GB, free: 15.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.5046, allocations: 0.6759 MB / 0.5904 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002179/0.5049, allocations: 28.84 kB / 0.5904 GB, free: 15.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.842e-05/0.5049, allocations: 11.3 kB / 0.5904 GB, free: 15.26 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.5049, allocations: 0.6875 kB / 0.5904 GB, free: 15.26 MB / 446.1 MB Notification: Performance of Templates: time 0.003371/0.5083, allocations: 0.8033 MB / 0.5912 GB, free: 15.18 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 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)