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.001325/0.001325, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001281/0.001281, allocations: 192.4 kB / 16.25 MB, free: 6.637 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.361/1.361, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9394/0.9394, allocations: 135.6 MB / 425.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 67.42 kB / 0.5054 GB, free: 5.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1598, allocations: 81.02 MB / 0.5845 GB, free: 4.301 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.00172/0.1616, allocations: 0.6433 MB / 0.5851 GB, free: 3.648 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.1629, allocations: 1.098 MB / 0.5862 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.094e-05/0.1629, allocations: 0 / 0.5862 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.222e-05/0.1629, allocations: 4 kB / 0.5862 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002028/0.1631, allocations: 23.92 kB / 0.5862 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.156e-06/0.1632, allocations: 0 / 0.5862 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.96e-05/0.1632, allocations: 0 / 0.5862 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.185e-05/0.1632, allocations: 4 kB / 0.5862 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.341e-05/0.1633, allocations: 3.938 kB / 0.5862 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.875e-05/0.1633, allocations: 3.984 kB / 0.5862 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.302e-06/0.1633, allocations: 0 / 0.5862 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.784e-05/0.1634, allocations: 19.92 kB / 0.5863 GB, free: 2.477 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.687e-06/0.1634, allocations: 3.984 kB / 0.5863 GB, free: 2.473 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.201e-05/0.1634, allocations: 8 kB / 0.5863 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.582e-05/0.1635, allocations: 15.92 kB / 0.5863 GB, free: 2.449 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.1635, allocations: 3.984 kB / 0.5863 GB, free: 2.445 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1635, allocations: 0 / 0.5863 GB, free: 2.445 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.1635, allocations: 0 / 0.5863 GB, free: 2.445 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.0002847/0.1638, allocations: 311.6 kB / 0.5866 GB, free: 2.094 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.1638, allocations: 15.97 kB / 0.5866 GB, free: 2.078 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.634e-05/0.1639, allocations: 0.9375 kB / 0.5866 GB, free: 2.078 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.164, allocations: 168.4 kB / 0.5868 GB, free: 1.875 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.164, allocations: 384 / 0.5868 GB, free: 1.875 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.164, allocations: 20.2 kB / 0.5868 GB, free: 1.855 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.947e-05/0.1641, allocations: 38.02 kB / 0.5868 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.1642, allocations: 0 / 0.5868 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-06/0.1642, allocations: 0 / 0.5868 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.1642, allocations: 3.984 kB / 0.5868 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.973e-05/0.1642, allocations: 8 kB / 0.5868 GB, free: 1.801 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/0.1644, allocations: 149.7 kB / 0.587 GB, free: 1.605 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.1645, allocations: 38.52 kB / 0.587 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.285e-05/0.1646, allocations: 12.94 kB / 0.587 GB, free: 1.543 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001297/0.1647, allocations: 81.11 kB / 0.5871 GB, free: 1.445 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.1647, allocations: 38.5 kB / 0.5871 GB, free: 1.398 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1648, allocations: 0 / 0.5871 GB, free: 1.398 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.004047/0.1688, allocations: 0.5718 MB / 0.5877 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.1689, allocations: 51.41 kB / 0.5877 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.097e-05/0.1689, allocations: 89.86 kB / 0.5878 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.1689, allocations: 29.7 kB / 0.5879 GB, free: 0.625 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.32e-05/0.169, allocations: 80.14 kB / 0.5879 GB, free: 0.543 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.344e-05/0.169, allocations: 19.8 kB / 0.588 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.118e-05/0.1691, allocations: 13.72 kB / 0.588 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.1692, allocations: 314.8 kB / 0.5883 GB, free: 192 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005852/0.1698, allocations: 87.94 kB / 0.5884 GB, free: 104 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005964/0.1704, allocations: 106.7 kB / 0.5885 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.1716, allocations: 186.4 kB / 0.5886 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1716, allocations: 0 / 0.5886 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001259/0.1728, allocations: 221.5 kB / 0.5888 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.1729, allocations: 11.98 kB / 0.5889 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1729, allocations: 0 / 0.5889 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.1729, allocations: 0 / 0.5889 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003774/0.1733, allocations: 52 kB / 0.5889 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.1733, allocations: 0 / 0.5889 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003267/0.1736, allocations: 39.98 kB / 0.5889 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.1736, allocations: 0 / 0.5889 GB, free: 15.47 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.176e-05/0.1737, allocations: 117.8 kB / 0.5891 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.105e-05/0.1738, allocations: 7.922 kB / 0.5891 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/0.175, allocations: 233.1 kB / 0.5893 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.175, allocations: 4 kB / 0.5893 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1751, allocations: 0 / 0.5893 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1751, allocations: 0 / 0.5893 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.1766, allocations: 458.3 kB / 0.5897 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1766, allocations: 320 / 0.5897 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003646/0.177, allocations: 48.16 kB / 0.5898 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.177, allocations: 0 / 0.5898 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.177, allocations: 12 kB / 0.5898 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.177, allocations: 0 / 0.5898 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.177, allocations: 7.984 kB / 0.5898 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.1782, allocations: 303.3 kB / 0.5901 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.176e-05/0.1783, allocations: 85.02 kB / 0.5902 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.1783, allocations: 0 / 0.5902 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003381/0.1786, allocations: 39.97 kB / 0.5902 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.568e-05/0.1787, allocations: 4 kB / 0.5902 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.1787, allocations: 0 / 0.5902 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.675e-05/0.1787, allocations: 79.28 kB / 0.5903 GB, free: 14 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1787, allocations: 0 / 0.5903 GB, free: 14 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002389/0.179, allocations: 16 kB / 0.5903 GB, free: 13.98 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.0002279/0.1792, allocations: 107.2 kB / 0.5904 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001256/0.1805, allocations: 179.8 kB / 0.5906 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.1805, allocations: 7.938 kB / 0.5906 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005973/0.1811, allocations: 96.06 kB / 0.5907 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.1813, allocations: 1.969 kB / 0.5907 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.1824, allocations: 236.8 kB / 0.5909 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.1827, allocations: 0.6729 MB / 0.5916 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002204/0.1829, allocations: 27.98 kB / 0.5916 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.382e-05/0.183, allocations: 15.44 kB / 0.5916 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.183, allocations: 0 / 0.5916 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of Templates: time 0.003142/0.1861, allocations: 0.7991 MB / 0.5924 GB, free: 11.8 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)