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.005615/0.005615, allocations: 100.7 kB / 15.87 MB, free: 5.871 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.001269/0.001269, allocations: 197.6 kB / 16.79 MB, free: 5.816 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.415/1.415, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9116/0.9116, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 66.66 kB / 0.5053 GB, free: 5.734 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.159, allocations: 80.92 MB / 0.5844 GB, free: 4.977 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001924/0.161, allocations: 0.6463 MB / 0.585 GB, free: 4.324 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.1624, allocations: 1.106 MB / 0.5861 GB, free: 3.203 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.31e-05/0.1624, allocations: 0 / 0.5861 GB, free: 3.203 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.119e-05/0.1624, allocations: 0 / 0.5861 GB, free: 3.203 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002132/0.1626, allocations: 8 kB / 0.5861 GB, free: 3.195 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.385e-06/0.1626, allocations: 4 kB / 0.5861 GB, free: 3.191 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.835e-05/0.1627, allocations: 15.88 kB / 0.5861 GB, free: 3.176 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.275e-05/0.1627, allocations: 3.984 kB / 0.5861 GB, free: 3.172 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.299e-05/0.1628, allocations: 0 / 0.5861 GB, free: 3.172 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.165e-05/0.1628, allocations: 7.984 kB / 0.5861 GB, free: 3.164 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.755e-06/0.1628, allocations: 0 / 0.5861 GB, free: 3.164 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.1629, allocations: 15.98 kB / 0.5861 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.002e-06/0.1629, allocations: 3.938 kB / 0.5861 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.592e-05/0.1629, allocations: 3.938 kB / 0.5861 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.077e-05/0.163, allocations: 11.97 kB / 0.5861 GB, free: 3.129 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.163, allocations: 0 / 0.5861 GB, free: 3.129 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.163, allocations: 4 kB / 0.5861 GB, free: 3.125 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.163, allocations: 0 / 0.5861 GB, free: 3.125 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.000298/0.1633, allocations: 319.6 kB / 0.5865 GB, free: 2.766 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.1634, allocations: 8.031 kB / 0.5865 GB, free: 2.758 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.219e-05/0.1634, allocations: 0.9375 kB / 0.5865 GB, free: 2.758 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.263e-05/0.1635, allocations: 164.4 kB / 0.5866 GB, free: 2.559 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.1635, allocations: 4.375 kB / 0.5866 GB, free: 2.555 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.1636, allocations: 384 / 0.5866 GB, free: 2.555 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.1637, allocations: 38.02 kB / 0.5867 GB, free: 2.512 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.1637, allocations: 11.89 kB / 0.5867 GB, free: 2.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.1637, allocations: 0 / 0.5867 GB, free: 2.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1637, allocations: 0 / 0.5867 GB, free: 2.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.703e-05/0.1638, allocations: 7.938 kB / 0.5867 GB, free: 2.492 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001529/0.1639, allocations: 153.7 kB / 0.5868 GB, free: 2.293 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.1641, allocations: 34.56 kB / 0.5869 GB, free: 2.25 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.103e-05/0.1641, allocations: 12.94 kB / 0.5869 GB, free: 2.234 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001334/0.1643, allocations: 81.05 kB / 0.5869 GB, free: 2.137 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.1643, allocations: 42.5 kB / 0.587 GB, free: 2.086 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1643, allocations: 0 / 0.587 GB, free: 2.086 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.004346/0.1687, allocations: 0.5679 MB / 0.5875 GB, free: 1.512 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.1687, allocations: 55.34 kB / 0.5876 GB, free: 1.445 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.59e-05/0.1688, allocations: 93.86 kB / 0.5877 GB, free: 1.344 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.1688, allocations: 25.7 kB / 0.5877 GB, free: 1.312 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.097e-05/0.1688, allocations: 80.14 kB / 0.5878 GB, free: 1.23 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.39e-05/0.1689, allocations: 23.73 kB / 0.5878 GB, free: 1.207 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-05/0.1689, allocations: 21.72 kB / 0.5878 GB, free: 1.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.1691, allocations: 314.8 kB / 0.5881 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006353/0.1697, allocations: 83.95 kB / 0.5882 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005807/0.1703, allocations: 98.72 kB / 0.5883 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.1714, allocations: 198.4 kB / 0.5885 GB, free: 484 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1714, allocations: 0 / 0.5885 GB, free: 484 kB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001212/0.1727, allocations: 225.4 kB / 0.5887 GB, free: 252 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.1727, allocations: 4 kB / 0.5887 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1727, allocations: 0 / 0.5887 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1727, allocations: 4.031 kB / 0.5887 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000399/0.1731, allocations: 47.97 kB / 0.5888 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.1731, allocations: 4 kB / 0.5888 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003379/0.1735, allocations: 35.98 kB / 0.5888 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.1735, allocations: 4 kB / 0.5888 GB, free: 152 kB / 494.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 8.509e-05/0.1736, allocations: 113.8 kB / 0.5889 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.052e-05/0.1736, allocations: 7.938 kB / 0.5889 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001364/0.175, allocations: 237.5 kB / 0.5891 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.175, allocations: 0 / 0.5891 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.175, allocations: 0 / 0.5891 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.175, allocations: 0 / 0.5891 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/0.1765, allocations: 458.4 kB / 0.5896 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.1765, allocations: 0 / 0.5896 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003744/0.1769, allocations: 47.97 kB / 0.5896 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1769, allocations: 4 kB / 0.5896 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.1769, allocations: 0 / 0.5896 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1769, allocations: 0 / 0.5896 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1769, allocations: 0 / 0.5896 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/0.1782, allocations: 315.5 kB / 0.5899 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.066e-05/0.1782, allocations: 81.02 kB / 0.59 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.1782, allocations: 0 / 0.59 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003479/0.1786, allocations: 43.97 kB / 0.5901 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.715e-05/0.1786, allocations: 0 / 0.5901 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.1786, allocations: 7.938 kB / 0.5901 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.415e-05/0.1787, allocations: 79.22 kB / 0.5901 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.144e-06/0.1787, allocations: 0 / 0.5901 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002466/0.1789, allocations: 11.94 kB / 0.5901 GB, free: 14.66 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.0001863/0.1791, allocations: 107.2 kB / 0.5902 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001215/0.1803, allocations: 183.9 kB / 0.5904 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1804, allocations: 0 / 0.5904 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005729/0.1809, allocations: 96 kB / 0.5905 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.1812, allocations: 4 kB / 0.5905 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.1823, allocations: 240.4 kB / 0.5907 GB, free: 14 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.1825, allocations: 0.6731 MB / 0.5914 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.521e-05/0.1826, allocations: 15.42 kB / 0.5914 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1826, allocations: 4 kB / 0.5914 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of Templates: time 0.002395/0.185, allocations: 1.085 MB / 0.5925 GB, free: 12.21 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)