Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.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.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside") translateModel(IDEAS.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009572/0.0009572, allocations: 98.03 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.005636/0.005636, allocations: 170.7 kB / 16.27 MB, free: 6.652 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.509/1.509, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9463/0.9463, allocations: 135.3 MB / 426.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003828/0.0003827, allocations: 12.77 kB / 0.5076 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1703, allocations: 82.31 MB / 0.588 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.001796/0.1721, allocations: 1.148 MB / 0.5891 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000811/0.1729, allocations: 465.6 kB / 0.5895 GB, free: 1.012 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.602e-05/0.173, allocations: 3.938 kB / 0.5895 GB, free: 1.008 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.611e-05/0.173, allocations: 0 / 0.5895 GB, free: 1.008 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.655e-05/0.1731, allocations: 4 kB / 0.5895 GB, free: 1.004 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001905/0.1733, allocations: 19.92 kB / 0.5896 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.801e-05/0.1734, allocations: 31.86 kB / 0.5896 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.493e-05/0.1735, allocations: 4 kB / 0.5896 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.166e-05/0.1735, allocations: 11.98 kB / 0.5896 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.099e-05/0.1736, allocations: 11.92 kB / 0.5896 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.1736, allocations: 0 / 0.5896 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.1737, allocations: 19.97 kB / 0.5896 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.738e-05/0.1738, allocations: 4 kB / 0.5896 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.756e-05/0.1738, allocations: 37.64 kB / 0.5897 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.1739, allocations: 31.88 kB / 0.5897 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.174, allocations: 3.938 kB / 0.5897 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.174, allocations: 0 / 0.5897 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.174, allocations: 0 / 0.5897 GB, free: 0.8242 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.0005035/0.1745, allocations: 347.7 kB / 0.59 GB, free: 448 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.1745, allocations: 8.031 kB / 0.59 GB, free: 440 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.123e-05/0.1746, allocations: 4.938 kB / 0.5901 GB, free: 436 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.1747, allocations: 168.3 kB / 0.5902 GB, free: 228 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.1747, allocations: 4.375 kB / 0.5902 GB, free: 224 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.1747, allocations: 384 / 0.5902 GB, free: 224 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002459/0.175, allocations: 61.97 kB / 0.5903 GB, free: 156 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.175, allocations: 0 / 0.5903 GB, free: 156 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.175, allocations: 0 / 0.5903 GB, free: 156 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.175, allocations: 4 kB / 0.5903 GB, free: 152 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.1752, allocations: 47.95 kB / 0.5903 GB, free: 104 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003926/0.1756, allocations: 252.8 kB / 0.5906 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.1758, allocations: 46.59 kB / 0.5906 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.1759, allocations: 24.91 kB / 0.5906 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001386/0.176, allocations: 89.09 kB / 0.5907 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.1761, allocations: 30.56 kB / 0.5907 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.1761, allocations: 4 kB / 0.5908 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003959/0.1765, allocations: 97.58 kB / 0.5908 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.1765, allocations: 59.53 kB / 0.5909 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.926e-05/0.1766, allocations: 93.86 kB / 0.591 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.1767, allocations: 33.7 kB / 0.591 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.725e-05/0.1767, allocations: 80.14 kB / 0.5911 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.1767, allocations: 11.83 kB / 0.5911 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.768e-05/0.1768, allocations: 9.719 kB / 0.5911 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.1769, allocations: 318.8 kB / 0.5914 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.728e-05/0.177, allocations: 19.98 kB / 0.5914 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.662e-05/0.1771, allocations: 27.92 kB / 0.5915 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.1773, allocations: 56.81 kB / 0.5915 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1773, allocations: 0 / 0.5915 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002124/0.1775, allocations: 77.59 kB / 0.5916 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1775, allocations: 4 kB / 0.5916 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1775, allocations: 8.031 kB / 0.5916 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.1776, allocations: 0 / 0.5916 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.172e-05/0.1776, allocations: 8 kB / 0.5916 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.1777, allocations: 3.984 kB / 0.5916 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.931e-05/0.1777, allocations: 7.938 kB / 0.5916 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-06/0.1777, allocations: 4 kB / 0.5916 GB, free: 14.61 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.867e-05/0.1778, allocations: 117.8 kB / 0.5917 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.1779, allocations: 3.906 kB / 0.5918 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002487/0.1781, allocations: 88.7 kB / 0.5918 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1781, allocations: 4 kB / 0.5918 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1781, allocations: 0 / 0.5918 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.1781, allocations: 4.031 kB / 0.5918 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.1783, allocations: 157.6 kB / 0.592 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1783, allocations: 0 / 0.592 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.808e-05/0.1784, allocations: 11.98 kB / 0.592 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.1784, allocations: 0 / 0.592 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.1784, allocations: 4 kB / 0.592 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.1784, allocations: 256 / 0.592 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1784, allocations: 0 / 0.592 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.1787, allocations: 179.5 kB / 0.5922 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.384e-05/0.1787, allocations: 77.11 kB / 0.5923 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.1787, allocations: 7.938 kB / 0.5923 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.49e-05/0.1788, allocations: 12.02 kB / 0.5923 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.1789, allocations: 4 kB / 0.5923 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.1789, allocations: 0 / 0.5923 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.845e-05/0.1789, allocations: 87.27 kB / 0.5924 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.543e-06/0.1789, allocations: 0 / 0.5924 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000216/0.1791, allocations: 11.94 kB / 0.5924 GB, free: 13.75 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 (2): * Single equations (assignments): 2 * 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.0001451/0.1793, allocations: 99.25 kB / 0.5925 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002236/0.1795, allocations: 51.95 kB / 0.5925 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1795, allocations: 0 / 0.5925 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.057e-05/0.1796, allocations: 23.98 kB / 0.5925 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.1799, allocations: 8.062 kB / 0.5925 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003099/0.1803, allocations: 120.5 kB / 0.5927 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004572/0.1807, allocations: 0.6848 MB / 0.5933 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.622e-05/0.1808, allocations: 0 / 0.5933 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.069e-05/0.1808, allocations: 7.438 kB / 0.5933 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1808, allocations: 0 / 0.5933 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.002686/0.1835, allocations: 496.3 kB / 0.5938 GB, free: 12.23 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)