Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.01144/0.01144, allocations: 98.52 kB / 15.73 MB, free: 5.602 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.001821/0.001821, allocations: 196.5 kB / 16.68 MB, free: 5.523 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8059/0.8059, allocations: 132.2 MB / 422.7 MB, free: 6.523 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 66 kB / 0.5814 GB, free: 23.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1577, allocations: 80.21 MB / 0.6597 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001856/0.1596, allocations: 0.5742 MB / 0.6603 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001355/0.161, allocations: 1.119 MB / 0.6614 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.114e-05/0.1611, allocations: 0 / 0.6614 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.167e-05/0.1611, allocations: 0 / 0.6614 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002449/0.1613, allocations: 11.92 kB / 0.6614 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 4.278e-06/0.1613, allocations: 4 kB / 0.6614 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.773e-05/0.1614, allocations: 3.984 kB / 0.6614 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.794e-05/0.1615, allocations: 7.938 kB / 0.6614 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.771e-05/0.1615, allocations: 7.938 kB / 0.6614 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.319e-05/0.1615, allocations: 7.984 kB / 0.6614 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.625e-06/0.1615, allocations: 0 / 0.6614 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.1616, allocations: 15.98 kB / 0.6614 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.642e-06/0.1616, allocations: 0 / 0.6614 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.895e-05/0.1617, allocations: 7.875 kB / 0.6614 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.1618, allocations: 19.97 kB / 0.6615 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.1618, allocations: 0 / 0.6615 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1618, allocations: 0 / 0.6615 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.777e-06/0.1618, allocations: 0 / 0.6615 GB, free: 8.508 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.0003012/0.1621, allocations: 315.5 kB / 0.6618 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.1622, allocations: 16.03 kB / 0.6618 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/0.1622, allocations: 0.9375 kB / 0.6618 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.1623, allocations: 160.4 kB / 0.6619 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.1623, allocations: 8.312 kB / 0.6619 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.042e-05/0.1624, allocations: 4.375 kB / 0.6619 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.1625, allocations: 41.98 kB / 0.662 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.1625, allocations: 4 kB / 0.662 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.118e-06/0.1625, allocations: 0 / 0.662 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1625, allocations: 0 / 0.662 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.95e-05/0.1626, allocations: 11.92 kB / 0.662 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001498/0.1627, allocations: 161.6 kB / 0.6621 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.1629, allocations: 30.61 kB / 0.6622 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.08e-05/0.163, allocations: 8.859 kB / 0.6622 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001426/0.1631, allocations: 85.19 kB / 0.6623 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.1631, allocations: 38.5 kB / 0.6623 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 2.154e-06/0.1631, allocations: 0 / 0.6623 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.003902/0.1671, allocations: 0.5715 MB / 0.6629 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.1671, allocations: 55.41 kB / 0.6629 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.85e-05/0.1672, allocations: 93.8 kB / 0.663 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.1672, allocations: 25.7 kB / 0.663 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.758e-05/0.1672, allocations: 80.14 kB / 0.6631 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.706e-05/0.1673, allocations: 11.91 kB / 0.6631 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.561e-05/0.1673, allocations: 21.7 kB / 0.6631 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1675, allocations: 318.8 kB / 0.6634 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005515/0.168, allocations: 79.95 kB / 0.6635 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005758/0.1686, allocations: 106.5 kB / 0.6636 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.1697, allocations: 190.4 kB / 0.6638 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1697, allocations: 0 / 0.6638 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001163/0.1709, allocations: 225.5 kB / 0.664 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.1709, allocations: 4 kB / 0.664 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1709, allocations: 4.062 kB / 0.664 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.171, allocations: 0 / 0.664 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003611/0.1713, allocations: 47.97 kB / 0.6641 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.1713, allocations: 4 kB / 0.6641 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000319/0.1717, allocations: 43.97 kB / 0.6641 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.1717, allocations: 4 kB / 0.6641 GB, free: 5.523 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 8.548e-05/0.1718, allocations: 114.7 kB / 0.6642 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.741e-05/0.1718, allocations: 3.938 kB / 0.6642 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/0.1731, allocations: 237 kB / 0.6645 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.1731, allocations: 7.984 kB / 0.6645 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1731, allocations: 0 / 0.6645 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1731, allocations: 256 / 0.6645 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/0.1745, allocations: 458.4 kB / 0.6649 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1746, allocations: 0 / 0.6649 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000354/0.1749, allocations: 51.97 kB / 0.665 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1749, allocations: 3.938 kB / 0.665 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.1749, allocations: 432 / 0.665 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.175, allocations: 0 / 0.665 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.175, allocations: 0 / 0.665 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.1762, allocations: 311.4 kB / 0.6653 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.189e-05/0.1762, allocations: 81.06 kB / 0.6653 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.1762, allocations: 0 / 0.6653 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003445/0.1766, allocations: 51.89 kB / 0.6654 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.535e-05/0.1766, allocations: 0 / 0.6654 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.1766, allocations: 4 kB / 0.6654 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.004e-05/0.1767, allocations: 75.28 kB / 0.6655 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1767, allocations: 3.938 kB / 0.6655 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002382/0.1769, allocations: 16 kB / 0.6655 GB, free: 4.02 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.0001662/0.1771, allocations: 103.2 kB / 0.6656 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001189/0.1783, allocations: 179.9 kB / 0.6657 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1783, allocations: 0 / 0.6657 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005518/0.1789, allocations: 96.02 kB / 0.6658 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.1791, allocations: 2.062 kB / 0.6658 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.1802, allocations: 216.8 kB / 0.666 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.1805, allocations: 0.6729 MB / 0.6667 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001672/0.1806, allocations: 24 kB / 0.6667 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.309e-05/0.1807, allocations: 19.42 kB / 0.6667 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1807, allocations: 0 / 0.6667 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of Templates: time 0.002682/0.1834, allocations: 0.82 MB / 0.6675 GB, free: 1.852 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)