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.001482/0.001482, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002077/0.002078, allocations: 198.6 kB / 16.14 MB, free: 6.645 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.533/1.533, allocations: 222.9 MB / 239.8 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9638/0.9638, allocations: 135.1 MB / 425.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 59.16 kB / 0.5047 GB, free: 5.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1748, allocations: 80.93 MB / 0.5837 GB, free: 4.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.004149/0.179, allocations: 1.817 MB / 0.5855 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001548/0.1805, allocations: 0.6593 MB / 0.5861 GB, free: 2.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.352e-05/0.1806, allocations: 0 / 0.5861 GB, free: 2.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.092e-05/0.1807, allocations: 7.922 kB / 0.5861 GB, free: 2.473 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.62e-05/0.1808, allocations: 11.88 kB / 0.5861 GB, free: 2.461 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006792/0.1815, allocations: 157.4 kB / 0.5863 GB, free: 2.316 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.1817, allocations: 115.7 kB / 0.5864 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001896/0.1819, allocations: 53.08 kB / 0.5865 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.1821, allocations: 59.83 kB / 0.5865 GB, free: 2.094 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.897e-05/0.1822, allocations: 51.7 kB / 0.5866 GB, free: 2.043 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.646e-05/0.1823, allocations: 4 kB / 0.5866 GB, free: 2.039 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.1824, allocations: 47.95 kB / 0.5866 GB, free: 1.992 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.525e-05/0.1825, allocations: 19.92 kB / 0.5866 GB, free: 1.973 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.264e-05/0.1826, allocations: 55.7 kB / 0.5867 GB, free: 1.918 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002554/0.1829, allocations: 143.8 kB / 0.5868 GB, free: 1.777 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1829, allocations: 4 kB / 0.5868 GB, free: 1.773 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1829, allocations: 0 / 0.5868 GB, free: 1.773 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.1829, allocations: 0 / 0.5868 GB, free: 1.773 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.0007628/0.1837, allocations: 435 kB / 0.5872 GB, free: 1.301 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.1837, allocations: 12.03 kB / 0.5873 GB, free: 1.289 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001215/0.185, allocations: 112.7 kB / 0.5874 GB, free: 1.18 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.1851, allocations: 184.1 kB / 0.5875 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.184e-05/0.1853, allocations: 67.95 kB / 0.5876 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.1853, allocations: 4.375 kB / 0.5876 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006783/0.186, allocations: 181.6 kB / 0.5878 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.186, allocations: 0 / 0.5878 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.372e-05/0.186, allocations: 7.922 kB / 0.5878 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/0.1861, allocations: 4 kB / 0.5878 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009893/0.1871, allocations: 155.8 kB / 0.5879 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.1886, allocations: 481.9 kB / 0.5884 GB, free: 8 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.19, allocations: 214.4 kB / 0.5886 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004221/0.1904, allocations: 80.91 kB / 0.5887 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.777e-05/0.1905, allocations: 4 kB / 0.5887 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.1905, allocations: 30.56 kB / 0.5887 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.814e-06/0.1905, allocations: 3.938 kB / 0.5887 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.001361/0.1919, allocations: 265.5 kB / 0.589 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.192, allocations: 51.41 kB / 0.589 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.1921, allocations: 151.4 kB / 0.5892 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.1922, allocations: 25.7 kB / 0.5892 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.978e-05/0.1923, allocations: 112.2 kB / 0.5893 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.822e-05/0.1923, allocations: 23.56 kB / 0.5893 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.171e-05/0.1924, allocations: 25.7 kB / 0.5893 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.1926, allocations: 322.8 kB / 0.5896 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004061/0.193, allocations: 75.92 kB / 0.5897 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004168/0.1934, allocations: 98.47 kB / 0.5898 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007699/0.1942, allocations: 158.4 kB / 0.59 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.1942, allocations: 0 / 0.59 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0009016/0.1952, allocations: 213.4 kB / 0.5902 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/0.1952, allocations: 4 kB / 0.5902 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.1952, allocations: 0 / 0.5902 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.1952, allocations: 3.938 kB / 0.5902 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003474/0.1956, allocations: 39.89 kB / 0.5902 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.1956, allocations: 0 / 0.5902 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002538/0.1959, allocations: 23.97 kB / 0.5902 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.1959, allocations: 11.98 kB / 0.5902 GB, free: 14.01 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.0001234/0.196, allocations: 113.8 kB / 0.5904 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.332e-05/0.1961, allocations: 7.906 kB / 0.5904 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/0.1972, allocations: 210.5 kB / 0.5906 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.1973, allocations: 0 / 0.5906 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.1973, allocations: 8 kB / 0.5906 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.1973, allocations: 0 / 0.5906 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004016/0.1977, allocations: 238.1 kB / 0.5908 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1977, allocations: 0 / 0.5908 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003414/0.1981, allocations: 35.95 kB / 0.5908 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.1981, allocations: 4 kB / 0.5908 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/0.1981, allocations: 7.938 kB / 0.5908 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.1981, allocations: 0 / 0.5908 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1981, allocations: 0 / 0.5908 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007648/0.1989, allocations: 287.2 kB / 0.5911 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.079e-05/0.199, allocations: 85 kB / 0.5912 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.128e-05/0.199, allocations: 7.938 kB / 0.5912 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000394/0.1994, allocations: 31.95 kB / 0.5912 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.52e-05/0.1995, allocations: 0 / 0.5912 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.942e-05/0.1995, allocations: 11.92 kB / 0.5913 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001003/0.1996, allocations: 109.1 kB / 0.5914 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.1996, allocations: 4 kB / 0.5914 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004614/0.2001, allocations: 20 kB / 0.5914 GB, free: 12.76 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.0002021/0.2003, allocations: 99.25 kB / 0.5915 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009759/0.2013, allocations: 159.8 kB / 0.5916 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.2013, allocations: 3.938 kB / 0.5916 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004329/0.2018, allocations: 79.92 kB / 0.5917 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005547/0.2023, allocations: 19.92 kB / 0.5917 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008751/0.2032, allocations: 293.3 kB / 0.592 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.2036, allocations: 0.7082 MB / 0.5927 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001456/0.2037, allocations: 11.98 kB / 0.5927 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.931e-05/0.2038, allocations: 19.42 kB / 0.5927 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.2038, allocations: 0 / 0.5927 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of Templates: time 0.003958/0.2078, allocations: 1.367 MB / 0.5941 GB, free: 9.965 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)