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.001256/0.001256, 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.001389/0.001389, allocations: 189.7 kB / 16.25 MB, free: 6.633 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.418/1.418, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.048/1.048, allocations: 135.1 MB / 425.2 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 64.41 kB / 0.5049 GB, free: 5.645 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1821, allocations: 80.92 MB / 0.5839 GB, free: 4.883 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.003762/0.1859, allocations: 1.82 MB / 0.5857 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.1873, allocations: 0.6515 MB / 0.5863 GB, free: 2.383 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.1875, allocations: 4 kB / 0.5863 GB, free: 2.379 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.236e-05/0.1875, allocations: 3.938 kB / 0.5863 GB, free: 2.375 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.1877, allocations: 19.84 kB / 0.5863 GB, free: 2.355 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007143/0.1884, allocations: 153.3 kB / 0.5865 GB, free: 2.211 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.1886, allocations: 123.6 kB / 0.5866 GB, free: 2.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001791/0.1888, allocations: 57.08 kB / 0.5866 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001678/0.1889, allocations: 55.83 kB / 0.5867 GB, free: 1.98 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.1891, allocations: 47.72 kB / 0.5867 GB, free: 1.934 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.484e-05/0.1891, allocations: 12 kB / 0.5868 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.1892, allocations: 51.97 kB / 0.5868 GB, free: 1.871 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.144e-05/0.1893, allocations: 31.89 kB / 0.5868 GB, free: 1.84 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.732e-05/0.1894, allocations: 59.7 kB / 0.5869 GB, free: 1.781 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002312/0.1896, allocations: 143.8 kB / 0.587 GB, free: 1.641 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1896, allocations: 0 / 0.587 GB, free: 1.641 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1896, allocations: 0 / 0.587 GB, free: 1.641 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.884e-06/0.1896, allocations: 0 / 0.587 GB, free: 1.641 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.0006869/0.1903, allocations: 435 kB / 0.5874 GB, free: 1.168 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.1904, allocations: 12.03 kB / 0.5875 GB, free: 1.156 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009387/0.1913, allocations: 112.7 kB / 0.5876 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.1915, allocations: 189.9 kB / 0.5877 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/0.1916, allocations: 63.95 kB / 0.5878 GB, free: 0.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/0.1917, allocations: 12.38 kB / 0.5878 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005634/0.1923, allocations: 163.9 kB / 0.588 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1923, allocations: 0 / 0.588 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.892e-05/0.1923, allocations: 8 kB / 0.588 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.1923, allocations: 0 / 0.588 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006707/0.193, allocations: 163.8 kB / 0.5881 GB, free: 416 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.1943, allocations: 485.8 kB / 0.5886 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.1953, allocations: 218.3 kB / 0.5888 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002996/0.1956, allocations: 76.91 kB / 0.5889 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.093e-05/0.1957, allocations: 4 kB / 0.5889 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.1957, allocations: 38.56 kB / 0.5889 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.803e-06/0.1957, allocations: 0 / 0.5889 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.001103/0.1968, allocations: 269.4 kB / 0.5892 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.1969, allocations: 51.41 kB / 0.5892 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.197, allocations: 137.8 kB / 0.5894 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.1971, allocations: 25.7 kB / 0.5894 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.625e-05/0.1971, allocations: 108.2 kB / 0.5895 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.1972, allocations: 27.64 kB / 0.5895 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.729e-05/0.1972, allocations: 25.7 kB / 0.5895 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1974, allocations: 322.8 kB / 0.5898 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003038/0.1977, allocations: 75.86 kB / 0.5899 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002943/0.198, allocations: 90.5 kB / 0.59 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005697/0.1986, allocations: 166.4 kB / 0.5902 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1986, allocations: 0 / 0.5902 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006686/0.1993, allocations: 201.7 kB / 0.5904 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.1993, allocations: 15.92 kB / 0.5904 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.1993, allocations: 0 / 0.5904 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.1993, allocations: 3.938 kB / 0.5904 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002743/0.1996, allocations: 44.02 kB / 0.5904 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.1996, allocations: 160 / 0.5904 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.1998, allocations: 19.97 kB / 0.5904 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.1999, allocations: 15.95 kB / 0.5905 GB, free: 13.88 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.0001299/0.2, allocations: 121.8 kB / 0.5906 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.975e-05/0.2001, allocations: 7.906 kB / 0.5906 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007404/0.2008, allocations: 202.2 kB / 0.5908 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.2008, allocations: 4 kB / 0.5908 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.2008, allocations: 0 / 0.5908 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2008, allocations: 0 / 0.5908 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003114/0.2012, allocations: 246 kB / 0.591 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2012, allocations: 4 kB / 0.591 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/0.2014, allocations: 31.95 kB / 0.591 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.2014, allocations: 0 / 0.591 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.2014, allocations: 3.938 kB / 0.591 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2015, allocations: 3.938 kB / 0.5911 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.2015, allocations: 4 kB / 0.5911 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007046/0.2022, allocations: 283.3 kB / 0.5913 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.865e-05/0.2022, allocations: 85.02 kB / 0.5914 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.2023, allocations: 3.938 kB / 0.5914 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003092/0.2026, allocations: 31.94 kB / 0.5914 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.854e-05/0.2026, allocations: 12 kB / 0.5915 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/0.2027, allocations: 7.984 kB / 0.5915 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.776e-05/0.2028, allocations: 105.7 kB / 0.5916 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2028, allocations: 0 / 0.5916 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002775/0.2031, allocations: 20 kB / 0.5916 GB, free: 12.63 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.0001615/0.2032, allocations: 103.2 kB / 0.5917 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007442/0.204, allocations: 167.9 kB / 0.5918 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.204, allocations: 0 / 0.5918 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003089/0.2043, allocations: 83.86 kB / 0.5919 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.2047, allocations: 16.12 kB / 0.5919 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007294/0.2054, allocations: 303.2 kB / 0.5922 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.2057, allocations: 0.6963 MB / 0.5929 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001071/0.2058, allocations: 16 kB / 0.5929 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.362e-05/0.2059, allocations: 15.42 kB / 0.5929 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.2059, allocations: 0 / 0.5929 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of Templates: time 0.004406/0.2103, allocations: 1.411 MB / 0.5943 GB, free: 9.789 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)