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.0009153/0.0009153, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.0009446/0.0009446, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9768/0.9768, allocations: 135.3 MB / 426.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003128/0.0003128, allocations: 16 kB / 0.507 GB, free: 5.164 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.1799, allocations: 82.31 MB / 0.5874 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.0018/0.1817, allocations: 1.451 MB / 0.5888 GB, free: 1.562 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009644/0.1827, allocations: 0.6169 MB / 0.5894 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.304e-05/0.1828, allocations: 0 / 0.5894 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.888e-05/0.1828, allocations: 3.938 kB / 0.5894 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.898e-05/0.1829, allocations: 15.84 kB / 0.5894 GB, free: 0.918 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004823/0.1834, allocations: 150.1 kB / 0.5896 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.1835, allocations: 107.7 kB / 0.5897 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.1837, allocations: 45.27 kB / 0.5897 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.1838, allocations: 43.83 kB / 0.5897 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.211e-05/0.1839, allocations: 39.78 kB / 0.5898 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.1839, allocations: 4 kB / 0.5898 GB, free: 0.543 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.337e-05/0.184, allocations: 35.97 kB / 0.5898 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.127e-05/0.184, allocations: 27.89 kB / 0.5898 GB, free: 492 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.227e-05/0.1841, allocations: 41.64 kB / 0.5899 GB, free: 444 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.1842, allocations: 92.05 kB / 0.59 GB, free: 352 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1842, allocations: 0 / 0.59 GB, free: 352 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1842, allocations: 4 kB / 0.59 GB, free: 348 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.1842, allocations: 0 / 0.59 GB, free: 348 kB / 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.0005584/0.1848, allocations: 415 kB / 0.5904 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.1848, allocations: 12.03 kB / 0.5904 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007733/0.1856, allocations: 143.6 kB / 0.5905 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.1858, allocations: 182.8 kB / 0.5907 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.324e-05/0.1859, allocations: 67.39 kB / 0.5908 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.1859, allocations: 8 kB / 0.5908 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005168/0.1865, allocations: 197.4 kB / 0.591 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.1865, allocations: 0 / 0.591 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.1865, allocations: 0 / 0.591 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.1865, allocations: 7.938 kB / 0.591 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005653/0.1871, allocations: 191.8 kB / 0.5911 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.1881, allocations: 0.4979 MB / 0.5916 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008904/0.189, allocations: 270.3 kB / 0.5919 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002694/0.1893, allocations: 100.9 kB / 0.592 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.1893, allocations: 3.984 kB / 0.592 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.1893, allocations: 34.56 kB / 0.592 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.1893, allocations: 0 / 0.592 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0009382/0.1903, allocations: 309.5 kB / 0.5923 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.1903, allocations: 55.39 kB / 0.5924 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.1905, allocations: 139.8 kB / 0.5925 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.1905, allocations: 29.7 kB / 0.5925 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.552e-05/0.1906, allocations: 112.1 kB / 0.5926 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.1906, allocations: 19.75 kB / 0.5927 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.576e-06/0.1906, allocations: 0 / 0.5927 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.1907, allocations: 326.8 kB / 0.593 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002765/0.191, allocations: 91.92 kB / 0.5931 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002839/0.1913, allocations: 114.5 kB / 0.5932 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002711/0.1916, allocations: 87.94 kB / 0.5933 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1916, allocations: 0 / 0.5933 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006212/0.1922, allocations: 233.4 kB / 0.5935 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.1923, allocations: 10.34 kB / 0.5935 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1923, allocations: 160 / 0.5935 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.1923, allocations: 4 kB / 0.5935 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002465/0.1925, allocations: 43.94 kB / 0.5935 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.1926, allocations: 11.92 kB / 0.5935 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.1927, allocations: 44.17 kB / 0.5936 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.1928, allocations: 7.938 kB / 0.5936 GB, free: 12.4 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001073/0.1929, allocations: 121.8 kB / 0.5937 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.808e-05/0.1929, allocations: 11.91 kB / 0.5937 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006624/0.1936, allocations: 238.2 kB / 0.5939 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1936, allocations: 0 / 0.5939 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.1936, allocations: 0 / 0.5939 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1936, allocations: 0 / 0.5939 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.1939, allocations: 246.1 kB / 0.5942 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1939, allocations: 7.938 kB / 0.5942 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002172/0.1941, allocations: 39.95 kB / 0.5942 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.044e-05/0.1941, allocations: 0 / 0.5942 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.1941, allocations: 4 kB / 0.5942 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1942, allocations: 0 / 0.5942 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1942, allocations: 0 / 0.5942 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006348/0.1948, allocations: 319.2 kB / 0.5945 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.048e-05/0.1949, allocations: 88.95 kB / 0.5946 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.1949, allocations: 4 kB / 0.5946 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002793/0.1952, allocations: 43.95 kB / 0.5947 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.1952, allocations: 7.984 kB / 0.5947 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.1952, allocations: 7.984 kB / 0.5947 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.781e-05/0.1953, allocations: 104.8 kB / 0.5948 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1953, allocations: 7.938 kB / 0.5948 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002613/0.1956, allocations: 27.91 kB / 0.5948 GB, free: 11.05 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001668/0.1958, allocations: 103.2 kB / 0.5949 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006157/0.1964, allocations: 191.8 kB / 0.5951 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1964, allocations: 4 kB / 0.5951 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002784/0.1967, allocations: 99.97 kB / 0.5952 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.197, allocations: 12 kB / 0.5952 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006228/0.1976, allocations: 301.4 kB / 0.5955 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.1979, allocations: 0.6965 MB / 0.5962 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001058/0.198, allocations: 16.19 kB / 0.5962 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.662e-05/0.1981, allocations: 15.42 kB / 0.5962 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of SimCode: time 4.51e-07/0.1981, allocations: 4 kB / 0.5962 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of Templates: time 0.00364/0.2018, allocations: 1.296 MB / 0.5975 GB, free: 8.266 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)