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.001785/0.001785, allocations: 105.5 kB / 16.41 MB, free: 6.469 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.001885/0.001885, allocations: 187 kB / 17.34 MB, free: 5.715 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.419/1.419, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.843/0.843, allocations: 135.2 MB / 426.4 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 66.19 kB / 0.5864 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1558, allocations: 80.92 MB / 0.6654 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001674/0.1574, allocations: 0.5837 MB / 0.666 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001536/0.159, allocations: 1.111 MB / 0.6671 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.498e-05/0.159, allocations: 0 / 0.6671 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.3e-05/0.159, allocations: 0 / 0.6671 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002464/0.1593, allocations: 23.86 kB / 0.6671 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.778e-06/0.1593, allocations: 3.938 kB / 0.6671 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.288e-05/0.1593, allocations: 0 / 0.6671 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.62e-05/0.1594, allocations: 11.98 kB / 0.6671 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.437e-05/0.1594, allocations: 0 / 0.6671 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.991e-05/0.1594, allocations: 0 / 0.6671 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.802e-06/0.1594, allocations: 0 / 0.6671 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.1595, allocations: 27.91 kB / 0.6671 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.63e-06/0.1595, allocations: 0 / 0.6671 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.441e-05/0.1595, allocations: 7.938 kB / 0.6671 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.274e-05/0.1596, allocations: 11.97 kB / 0.6671 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1596, allocations: 0 / 0.6671 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1596, allocations: 0 / 0.6671 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.1596, allocations: 0 / 0.6671 GB, free: 3.91 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.0003295/0.16, allocations: 319.5 kB / 0.6674 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.16, allocations: 13.11 kB / 0.6675 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.986e-05/0.16, allocations: 4.922 kB / 0.6675 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.1602, allocations: 160.4 kB / 0.6676 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.1602, allocations: 384 / 0.6676 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.1602, allocations: 4.375 kB / 0.6676 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.1603, allocations: 45.94 kB / 0.6677 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.1603, allocations: 0 / 0.6677 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.557e-06/0.1603, allocations: 3.984 kB / 0.6677 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1603, allocations: 4 kB / 0.6677 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.946e-05/0.1604, allocations: 4 kB / 0.6677 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001666/0.1605, allocations: 157.6 kB / 0.6678 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.1607, allocations: 34.66 kB / 0.6679 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.296e-05/0.1607, allocations: 12.78 kB / 0.6679 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001439/0.1609, allocations: 81.11 kB / 0.6679 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.1609, allocations: 38.5 kB / 0.668 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.1609, allocations: 0 / 0.668 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.004112/0.165, allocations: 0.5715 MB / 0.6685 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.1651, allocations: 51.41 kB / 0.6686 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.027e-05/0.1651, allocations: 89.86 kB / 0.6687 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.1651, allocations: 25.7 kB / 0.6687 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.319e-05/0.1652, allocations: 84.12 kB / 0.6688 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.467e-05/0.1652, allocations: 19.91 kB / 0.6688 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.169e-05/0.1653, allocations: 21.66 kB / 0.6688 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1654, allocations: 314.8 kB / 0.6691 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000604/0.166, allocations: 83.95 kB / 0.6692 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006061/0.1666, allocations: 98.53 kB / 0.6693 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.1678, allocations: 198.4 kB / 0.6695 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1678, allocations: 0 / 0.6695 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001305/0.1691, allocations: 225.5 kB / 0.6697 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.1691, allocations: 4 kB / 0.6697 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.1691, allocations: 3.984 kB / 0.6697 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.1692, allocations: 0 / 0.6697 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004041/0.1696, allocations: 52 kB / 0.6698 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1696, allocations: 0 / 0.6698 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003442/0.1699, allocations: 39.98 kB / 0.6698 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.1699, allocations: 4 kB / 0.6698 GB, free: 0.9297 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 0.0001039/0.17, allocations: 121.7 kB / 0.6699 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.068e-05/0.1701, allocations: 3.938 kB / 0.6699 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/0.1715, allocations: 245.3 kB / 0.6702 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1715, allocations: 0 / 0.6702 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1715, allocations: 0 / 0.6702 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1715, allocations: 0 / 0.6702 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001552/0.173, allocations: 458.4 kB / 0.6706 GB, free: 44 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.173, allocations: 0 / 0.6706 GB, free: 44 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000402/0.1734, allocations: 52.02 kB / 0.6706 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.1734, allocations: 0 / 0.6706 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.1734, allocations: 0 / 0.6706 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1734, allocations: 7.938 kB / 0.6706 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1734, allocations: 0 / 0.6706 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.1747, allocations: 307.3 kB / 0.6709 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/0.1748, allocations: 81.06 kB / 0.671 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.1748, allocations: 3.984 kB / 0.671 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003675/0.1752, allocations: 43.98 kB / 0.6711 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.411e-05/0.1752, allocations: 432 / 0.6711 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.1752, allocations: 4 kB / 0.6711 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.671e-05/0.1752, allocations: 83.27 kB / 0.6711 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.1752, allocations: 0 / 0.6711 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002495/0.1755, allocations: 8 kB / 0.6712 GB, free: 15.43 MB / 0.5137 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.0002102/0.1757, allocations: 103.2 kB / 0.6713 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001268/0.177, allocations: 179.8 kB / 0.6714 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.177, allocations: 192 / 0.6714 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005983/0.1776, allocations: 95.94 kB / 0.6715 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.1778, allocations: 0 / 0.6715 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.179, allocations: 254.5 kB / 0.6718 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.1793, allocations: 0.6768 MB / 0.6724 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.76e-05/0.1794, allocations: 11.44 kB / 0.6724 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of SimCode: time 3.4e-07/0.1794, allocations: 0 / 0.6724 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of Templates: time 0.002948/0.1823, allocations: 1.11 MB / 0.6735 GB, free: 12.95 MB / 0.5137 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)