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.006325/0.006325, allocations: 97.97 kB / 15.73 MB, free: 6.055 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.001549/0.001549, allocations: 191.2 kB / 16.67 MB, free: 5.973 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.805/0.805, allocations: 135.1 MB / 425.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 63.25 kB / 0.5856 GB, free: 21.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1669, allocations: 80.93 MB / 0.6646 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002632/0.1696, allocations: 1.429 MB / 0.666 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008308/0.1705, allocations: 475.6 kB / 0.6665 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.444e-05/0.1705, allocations: 0 / 0.6665 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.817e-05/0.1706, allocations: 0 / 0.6665 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.131e-05/0.1706, allocations: 3.938 kB / 0.6665 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000215/0.1709, allocations: 35.91 kB / 0.6665 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.479e-05/0.1709, allocations: 23.92 kB / 0.6666 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.1711, allocations: 11.98 kB / 0.6666 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.221e-05/0.1711, allocations: 4 kB / 0.6666 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.005e-05/0.1712, allocations: 11.92 kB / 0.6666 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.1712, allocations: 4 kB / 0.6666 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.034e-05/0.1713, allocations: 23.92 kB / 0.6666 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.021e-05/0.1713, allocations: 0 / 0.6666 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.59e-05/0.1713, allocations: 23.84 kB / 0.6666 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.1715, allocations: 35.84 kB / 0.6667 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1715, allocations: 0 / 0.6667 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1715, allocations: 4 kB / 0.6667 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.1715, allocations: 0 / 0.6667 GB, free: 3.715 MB / 0.4981 GB 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.0004482/0.1719, allocations: 339.4 kB / 0.667 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.172, allocations: 13.11 kB / 0.667 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.198e-05/0.172, allocations: 0.9375 kB / 0.667 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.1721, allocations: 168.3 kB / 0.6672 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-06/0.1722, allocations: 4.375 kB / 0.6672 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.1722, allocations: 4.375 kB / 0.6672 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.1724, allocations: 57.92 kB / 0.6672 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.1724, allocations: 0 / 0.6672 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.1724, allocations: 0 / 0.6672 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.1724, allocations: 0 / 0.6672 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/0.1726, allocations: 39.89 kB / 0.6673 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003326/0.1729, allocations: 256.9 kB / 0.6675 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.173, allocations: 30.56 kB / 0.6675 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.929e-05/0.1731, allocations: 28.84 kB / 0.6676 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001312/0.1733, allocations: 81.09 kB / 0.6676 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.1733, allocations: 34.56 kB / 0.6677 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1733, allocations: 4 kB / 0.6677 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003687/0.1737, allocations: 81.64 kB / 0.6678 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.1737, allocations: 51.41 kB / 0.6678 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.452e-05/0.1738, allocations: 101.8 kB / 0.6679 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.1738, allocations: 25.7 kB / 0.6679 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.385e-05/0.1739, allocations: 92.12 kB / 0.668 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.1739, allocations: 8.078 kB / 0.668 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.983e-05/0.174, allocations: 13.72 kB / 0.668 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.1741, allocations: 318.8 kB / 0.6683 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.445e-05/0.1742, allocations: 15.92 kB / 0.6684 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.404e-05/0.1742, allocations: 19.98 kB / 0.6684 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.1744, allocations: 40.83 kB / 0.6684 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1744, allocations: 0 / 0.6684 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001901/0.1746, allocations: 69.61 kB / 0.6685 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.1746, allocations: 8 kB / 0.6685 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1747, allocations: 0 / 0.6685 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.1747, allocations: 0 / 0.6685 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.151e-05/0.1748, allocations: 7.984 kB / 0.6685 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.1748, allocations: 256 / 0.6685 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.959e-05/0.1748, allocations: 15.95 kB / 0.6685 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.1748, allocations: 8 kB / 0.6685 GB, free: 1.574 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 7.782e-05/0.1749, allocations: 121.7 kB / 0.6686 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.199e-05/0.1749, allocations: 0 / 0.6686 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000226/0.1752, allocations: 68.78 kB / 0.6687 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1752, allocations: 0 / 0.6687 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1752, allocations: 4.031 kB / 0.6687 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1752, allocations: 0 / 0.6687 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.1754, allocations: 169.6 kB / 0.6689 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1754, allocations: 0 / 0.6689 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.679e-05/0.1755, allocations: 11.92 kB / 0.6689 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1755, allocations: 0 / 0.6689 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.1755, allocations: 0 / 0.6689 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.1755, allocations: 4 kB / 0.6689 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1755, allocations: 0 / 0.6689 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/0.1757, allocations: 167.4 kB / 0.669 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.404e-05/0.1758, allocations: 85.06 kB / 0.6691 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.1758, allocations: 0 / 0.6691 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.085e-05/0.1759, allocations: 7.984 kB / 0.6691 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.1759, allocations: 0 / 0.6691 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.1759, allocations: 4 kB / 0.6691 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.848e-05/0.176, allocations: 83.31 kB / 0.6692 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.176, allocations: 0 / 0.6692 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002226/0.1762, allocations: 8 kB / 0.6692 GB, free: 0.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.0001443/0.1764, allocations: 104.6 kB / 0.6693 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002161/0.1766, allocations: 35.91 kB / 0.6694 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1766, allocations: 0 / 0.6694 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.855e-05/0.1767, allocations: 28.03 kB / 0.6694 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.177, allocations: 9.5 kB / 0.6694 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000275/0.1773, allocations: 109.4 kB / 0.6695 GB, free: 444 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.1776, allocations: 0.6768 MB / 0.6702 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.589e-05/0.1776, allocations: 0 / 0.6702 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.203e-05/0.1776, allocations: 11.44 kB / 0.6702 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.1776, allocations: 0 / 0.6702 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of Templates: time 0.002585/0.1802, allocations: 0.5632 MB / 0.6707 GB, free: 15.16 MB / 0.5137 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)