Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001053/0.001053, 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.001125/0.001125, allocations: 193.6 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.397/1.397, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.982/0.982, allocations: 135.2 MB / 425.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 63.44 kB / 0.5054 GB, free: 5.293 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1612, allocations: 80.93 MB / 0.5844 GB, free: 4.516 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001729/0.163, allocations: 0.57 MB / 0.585 GB, free: 3.938 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.1644, allocations: 1.102 MB / 0.5861 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.909e-05/0.1644, allocations: 0 / 0.5861 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.285e-05/0.1644, allocations: 0 / 0.5861 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002299/0.1647, allocations: 27.91 kB / 0.5861 GB, free: 2.793 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.808e-06/0.1647, allocations: 0 / 0.5861 GB, free: 2.793 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.904e-05/0.1647, allocations: 7.938 kB / 0.5861 GB, free: 2.785 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.373e-05/0.1648, allocations: 0 / 0.5861 GB, free: 2.785 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.537e-05/0.1648, allocations: 3.938 kB / 0.5861 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.201e-05/0.1648, allocations: 4 kB / 0.5861 GB, free: 2.777 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.214e-06/0.1648, allocations: 0 / 0.5861 GB, free: 2.777 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.165, allocations: 23.98 kB / 0.5861 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.787e-06/0.165, allocations: 7.922 kB / 0.5861 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.494e-05/0.165, allocations: 3.984 kB / 0.5861 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.759e-05/0.1651, allocations: 7.938 kB / 0.5861 GB, free: 2.734 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1651, allocations: 0 / 0.5861 GB, free: 2.734 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1651, allocations: 0 / 0.5861 GB, free: 2.734 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1651, allocations: 4 kB / 0.5862 GB, free: 2.73 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.0003051/0.1654, allocations: 323.6 kB / 0.5865 GB, free: 2.367 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.1654, allocations: 8.031 kB / 0.5865 GB, free: 2.359 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.698e-05/0.1655, allocations: 4.938 kB / 0.5865 GB, free: 2.355 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.885e-05/0.1656, allocations: 164.4 kB / 0.5866 GB, free: 2.156 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.1656, allocations: 8.359 kB / 0.5866 GB, free: 2.148 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.1656, allocations: 384 / 0.5866 GB, free: 2.148 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.975e-05/0.1657, allocations: 38.02 kB / 0.5867 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1657, allocations: 7.844 kB / 0.5867 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.1657, allocations: 0 / 0.5867 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1658, allocations: 0 / 0.5867 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.508e-05/0.1658, allocations: 7.984 kB / 0.5867 GB, free: 2.09 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001366/0.1659, allocations: 153.7 kB / 0.5868 GB, free: 1.891 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.1661, allocations: 34.58 kB / 0.5869 GB, free: 1.848 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.197e-05/0.1662, allocations: 8.953 kB / 0.5869 GB, free: 1.836 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001416/0.1663, allocations: 85.09 kB / 0.587 GB, free: 1.734 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.1664, allocations: 42.44 kB / 0.587 GB, free: 1.684 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1664, allocations: 0 / 0.587 GB, free: 1.684 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.004415/0.1708, allocations: 0.5718 MB / 0.5876 GB, free: 1.105 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.1708, allocations: 55.41 kB / 0.5876 GB, free: 1.039 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.773e-05/0.1709, allocations: 89.86 kB / 0.5877 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.1709, allocations: 25.7 kB / 0.5877 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.073e-05/0.171, allocations: 88.08 kB / 0.5878 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.464e-05/0.171, allocations: 15.8 kB / 0.5878 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.709e-05/0.1711, allocations: 17.72 kB / 0.5878 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1712, allocations: 310.8 kB / 0.5881 GB, free: 480 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006508/0.1718, allocations: 91.94 kB / 0.5882 GB, free: 388 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006208/0.1725, allocations: 102.5 kB / 0.5883 GB, free: 276 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/0.1737, allocations: 190.4 kB / 0.5885 GB, free: 76 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1737, allocations: 4 kB / 0.5885 GB, free: 72 kB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001299/0.175, allocations: 217.5 kB / 0.5887 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.175, allocations: 4 kB / 0.5887 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.1751, allocations: 3.984 kB / 0.5887 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.1751, allocations: 0 / 0.5887 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004169/0.1755, allocations: 52 kB / 0.5888 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.1755, allocations: 0 / 0.5888 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003704/0.1759, allocations: 43.98 kB / 0.5888 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.1759, allocations: 4 kB / 0.5888 GB, free: 15.75 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 9.393e-05/0.176, allocations: 105.8 kB / 0.5889 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.1761, allocations: 7.922 kB / 0.5889 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00146/0.1775, allocations: 245 kB / 0.5892 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.1775, allocations: 0 / 0.5892 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.1775, allocations: 0 / 0.5892 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.1776, allocations: 0 / 0.5892 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001627/0.1792, allocations: 454.4 kB / 0.5896 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1792, allocations: 4.734 kB / 0.5896 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003924/0.1796, allocations: 47.97 kB / 0.5896 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.1796, allocations: 4 kB / 0.5896 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.1796, allocations: 4 kB / 0.5896 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1796, allocations: 0 / 0.5896 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1797, allocations: 0 / 0.5896 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.181, allocations: 303.4 kB / 0.5899 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.938e-05/0.181, allocations: 81.09 kB / 0.59 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.1811, allocations: 0 / 0.59 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003715/0.1814, allocations: 51.91 kB / 0.5901 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.453e-05/0.1815, allocations: 0 / 0.5901 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.1815, allocations: 8 kB / 0.5901 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.819e-05/0.1815, allocations: 75.28 kB / 0.5901 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.1815, allocations: 0 / 0.5901 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002459/0.1818, allocations: 8 kB / 0.5901 GB, free: 14.27 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.0001966/0.182, allocations: 107.2 kB / 0.5903 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001286/0.1833, allocations: 187.8 kB / 0.5904 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.1833, allocations: 8.125 kB / 0.5904 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006059/0.1839, allocations: 87.94 kB / 0.5905 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.1841, allocations: 14 kB / 0.5905 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.1854, allocations: 224.8 kB / 0.5908 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.1856, allocations: 0.6729 MB / 0.5914 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002133/0.1858, allocations: 31.98 kB / 0.5914 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.096e-05/0.1859, allocations: 11.44 kB / 0.5914 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of SimCode: time 3.5e-07/0.1859, allocations: 0 / 0.5914 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of Templates: time 0.003247/0.1892, allocations: 0.8016 MB / 0.5922 GB, free: 12.09 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)