Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks") translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001262/0.001262, allocations: 192.4 kB / 16.25 MB, free: 6.637 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.364/1.364, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9139/0.9139, allocations: 135.6 MB / 425.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 72.39 kB / 0.5054 GB, free: 5.184 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1594, allocations: 81.02 MB / 0.5845 GB, free: 4.301 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002986/0.1625, allocations: 1.825 MB / 0.5863 GB, free: 2.453 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.1635, allocations: 0.6477 MB / 0.5869 GB, free: 1.797 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.804e-05/0.1636, allocations: 4 kB / 0.5869 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.042e-05/0.1636, allocations: 7.922 kB / 0.5869 GB, free: 1.785 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.168e-05/0.1637, allocations: 7.875 kB / 0.5869 GB, free: 1.777 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005325/0.1643, allocations: 157.7 kB / 0.5871 GB, free: 1.629 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000151/0.1644, allocations: 123.7 kB / 0.5872 GB, free: 1.508 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.1646, allocations: 41.11 kB / 0.5872 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.1647, allocations: 67.77 kB / 0.5873 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.942e-05/0.1648, allocations: 51.7 kB / 0.5874 GB, free: 1.352 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/0.1648, allocations: 8 kB / 0.5874 GB, free: 1.344 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.1649, allocations: 51.95 kB / 0.5874 GB, free: 1.293 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.741e-05/0.165, allocations: 31.91 kB / 0.5874 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.881e-05/0.165, allocations: 55.72 kB / 0.5875 GB, free: 1.207 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.1652, allocations: 139.8 kB / 0.5876 GB, free: 1.07 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1652, allocations: 3.938 kB / 0.5876 GB, free: 1.066 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1653, allocations: 0 / 0.5876 GB, free: 1.066 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1653, allocations: 0 / 0.5876 GB, free: 1.066 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006542/0.1659, allocations: 442.9 kB / 0.5881 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.166, allocations: 12.03 kB / 0.5881 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008171/0.1668, allocations: 112.6 kB / 0.5882 GB, free: 476 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.167, allocations: 180.2 kB / 0.5883 GB, free: 256 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-05/0.1671, allocations: 63.97 kB / 0.5884 GB, free: 180 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.1671, allocations: 8.375 kB / 0.5884 GB, free: 172 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005378/0.1676, allocations: 177.6 kB / 0.5886 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.1676, allocations: 0 / 0.5886 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/0.1677, allocations: 7.984 kB / 0.5886 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1677, allocations: 0 / 0.5886 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006089/0.1683, allocations: 159.8 kB / 0.5887 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.1695, allocations: 489.7 kB / 0.5892 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009778/0.1705, allocations: 218.3 kB / 0.5894 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002894/0.1708, allocations: 84.89 kB / 0.5895 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.1708, allocations: 3.938 kB / 0.5895 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.1708, allocations: 30.56 kB / 0.5895 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.1708, allocations: 4 kB / 0.5895 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0009882/0.1718, allocations: 261.5 kB / 0.5898 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.1719, allocations: 55.41 kB / 0.5898 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.172, allocations: 139.7 kB / 0.59 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.172, allocations: 29.7 kB / 0.59 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.774e-05/0.1721, allocations: 108.2 kB / 0.5901 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/0.1721, allocations: 19.66 kB / 0.5901 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.073e-05/0.1722, allocations: 25.7 kB / 0.5901 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1724, allocations: 322.8 kB / 0.5905 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003013/0.1727, allocations: 80.16 kB / 0.5905 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003048/0.173, allocations: 98.42 kB / 0.5906 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005782/0.1736, allocations: 162.4 kB / 0.5908 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.1736, allocations: 0 / 0.5908 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007427/0.1743, allocations: 209.3 kB / 0.591 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1744, allocations: 4 kB / 0.591 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1744, allocations: 0 / 0.591 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.1744, allocations: 3.938 kB / 0.591 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/0.1747, allocations: 39.89 kB / 0.591 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1747, allocations: 0 / 0.591 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.1749, allocations: 32.02 kB / 0.5911 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.1749, allocations: 4 kB / 0.5911 GB, free: 13.3 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 (8): * Single equations (assignments): 8 * 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.0001044/0.175, allocations: 113.8 kB / 0.5912 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.395e-05/0.1751, allocations: 7.906 kB / 0.5912 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006987/0.1758, allocations: 218 kB / 0.5914 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1758, allocations: 0 / 0.5914 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.1758, allocations: 0 / 0.5914 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.1758, allocations: 3.984 kB / 0.5914 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.1761, allocations: 238.1 kB / 0.5916 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1761, allocations: 0 / 0.5916 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002373/0.1763, allocations: 35.95 kB / 0.5917 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1763, allocations: 0 / 0.5917 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.1764, allocations: 11.92 kB / 0.5917 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1764, allocations: 0 / 0.5917 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1764, allocations: 0 / 0.5917 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006823/0.177, allocations: 291.4 kB / 0.5919 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.794e-05/0.1771, allocations: 81.02 kB / 0.592 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.1771, allocations: 7.938 kB / 0.592 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002884/0.1774, allocations: 31.95 kB / 0.5921 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.1775, allocations: 3.984 kB / 0.5921 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.1775, allocations: 4 kB / 0.5921 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.035e-05/0.1776, allocations: 113.7 kB / 0.5922 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1776, allocations: 0 / 0.5922 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002489/0.1778, allocations: 24 kB / 0.5922 GB, free: 12.04 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 (6): * Single equations (assignments): 6 * 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.0001322/0.178, allocations: 95.25 kB / 0.5923 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006346/0.1786, allocations: 167.8 kB / 0.5924 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1786, allocations: 0 / 0.5924 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002949/0.1789, allocations: 83.91 kB / 0.5925 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.1793, allocations: 11.94 kB / 0.5925 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006573/0.1799, allocations: 295.5 kB / 0.5928 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.1803, allocations: 0.7041 MB / 0.5935 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.867e-05/0.1804, allocations: 19.97 kB / 0.5935 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.855e-05/0.1804, allocations: 15.44 kB / 0.5935 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1804, allocations: 0 / 0.5935 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of Templates: time 0.003842/0.1843, allocations: 1.418 MB / 0.5949 GB, free: 9.199 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)