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.005555/0.005555, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.00118/0.00118, allocations: 191.8 kB / 16.67 MB, free: 5.52 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8052/0.8052, allocations: 135.1 MB / 425.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 69.14 kB / 0.5857 GB, free: 21.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1675, allocations: 80.92 MB / 0.6647 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0019/0.1694, allocations: 0.5837 MB / 0.6653 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001547/0.171, allocations: 1.115 MB / 0.6663 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.708e-05/0.171, allocations: 0 / 0.6663 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.316e-05/0.1711, allocations: 0 / 0.6663 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002793/0.1714, allocations: 23.91 kB / 0.6664 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 4.118e-06/0.1714, allocations: 0 / 0.6664 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.784e-05/0.1714, allocations: 3.938 kB / 0.6664 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.872e-05/0.1715, allocations: 0 / 0.6664 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.715e-05/0.1715, allocations: 4 kB / 0.6664 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.826e-05/0.1716, allocations: 7.938 kB / 0.6664 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.728e-06/0.1716, allocations: 4 kB / 0.6664 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.1717, allocations: 23.95 kB / 0.6664 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.552e-06/0.1717, allocations: 0 / 0.6664 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.99e-05/0.1718, allocations: 7.938 kB / 0.6664 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.1719, allocations: 19.91 kB / 0.6664 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.1719, allocations: 0 / 0.6664 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.954e-06/0.1719, allocations: 0 / 0.6664 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.1719, allocations: 0 / 0.6664 GB, free: 4.055 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.0003395/0.1722, allocations: 311.6 kB / 0.6667 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.1723, allocations: 13.11 kB / 0.6667 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.313e-05/0.1723, allocations: 8.922 kB / 0.6668 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.1724, allocations: 160.4 kB / 0.6669 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.1725, allocations: 384 / 0.6669 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.341e-05/0.1725, allocations: 8.375 kB / 0.6669 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.1726, allocations: 38 kB / 0.6669 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.1726, allocations: 0 / 0.6669 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.1727, allocations: 0 / 0.6669 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.1727, allocations: 0 / 0.6669 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.15e-05/0.1727, allocations: 7.938 kB / 0.667 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001914/0.1729, allocations: 157.7 kB / 0.6671 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.1732, allocations: 30.72 kB / 0.6671 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.675e-05/0.1732, allocations: 8.844 kB / 0.6671 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001695/0.1734, allocations: 81.11 kB / 0.6672 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.1734, allocations: 38.5 kB / 0.6673 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.1734, allocations: 3.938 kB / 0.6673 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.004409/0.1778, allocations: 0.5757 MB / 0.6678 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.1779, allocations: 55.41 kB / 0.6679 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.504e-05/0.1779, allocations: 89.86 kB / 0.668 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.178, allocations: 29.64 kB / 0.668 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.426e-05/0.178, allocations: 84.12 kB / 0.6681 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.18e-05/0.178, allocations: 15.75 kB / 0.6681 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.669e-05/0.1781, allocations: 17.72 kB / 0.6681 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1782, allocations: 322.8 kB / 0.6684 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006107/0.1788, allocations: 79.95 kB / 0.6685 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006251/0.1795, allocations: 102.5 kB / 0.6686 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/0.1807, allocations: 190.5 kB / 0.6688 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1807, allocations: 0 / 0.6688 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00129/0.182, allocations: 225.5 kB / 0.669 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.182, allocations: 4 kB / 0.669 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1821, allocations: 0 / 0.669 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.1821, allocations: 4.078 kB / 0.669 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004085/0.1825, allocations: 51.95 kB / 0.669 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.1825, allocations: 4 kB / 0.669 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003499/0.1829, allocations: 35.98 kB / 0.6691 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.1829, allocations: 8 kB / 0.6691 GB, free: 1.082 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.826e-05/0.183, allocations: 115.2 kB / 0.6692 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/0.183, allocations: 3.938 kB / 0.6692 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001389/0.1844, allocations: 241.2 kB / 0.6694 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1844, allocations: 0 / 0.6694 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1844, allocations: 4 kB / 0.6694 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1845, allocations: 0 / 0.6694 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/0.186, allocations: 458.3 kB / 0.6699 GB, free: 208 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.186, allocations: 0 / 0.6699 GB, free: 208 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000397/0.1864, allocations: 55.91 kB / 0.6699 GB, free: 152 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.1864, allocations: 0 / 0.6699 GB, free: 152 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.1864, allocations: 0 / 0.6699 GB, free: 152 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1865, allocations: 0 / 0.6699 GB, free: 152 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1865, allocations: 0 / 0.6699 GB, free: 152 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.1878, allocations: 311.4 kB / 0.6702 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.485e-05/0.1879, allocations: 77.11 kB / 0.6703 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.1879, allocations: 7.922 kB / 0.6703 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003828/0.1883, allocations: 39.98 kB / 0.6703 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.699e-05/0.1883, allocations: 0 / 0.6703 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.1883, allocations: 4 kB / 0.6703 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.982e-05/0.1884, allocations: 79.27 kB / 0.6704 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1884, allocations: 0 / 0.6704 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002716/0.1886, allocations: 12 kB / 0.6704 GB, free: 15.59 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.0001912/0.1888, allocations: 111.2 kB / 0.6705 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001309/0.1902, allocations: 175.9 kB / 0.6707 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1902, allocations: 0 / 0.6707 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006215/0.1908, allocations: 103.9 kB / 0.6708 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.191, allocations: 5.719 kB / 0.6708 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.1922, allocations: 213.2 kB / 0.671 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.1925, allocations: 0.6768 MB / 0.6717 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000182/0.1927, allocations: 28 kB / 0.6717 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.777e-05/0.1928, allocations: 15.44 kB / 0.6717 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of SimCode: time 2.61e-07/0.1928, allocations: 0 / 0.6717 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of Templates: time 0.002909/0.1957, allocations: 0.8115 MB / 0.6725 GB, free: 13.4 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)