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.0007578/0.0007576, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004977/0.004977, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.397/1.397, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.951/0.951, allocations: 135.3 MB / 426.7 MB, free: 14.37 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003367/0.0003364, allocations: 8.781 kB / 0.5076 GB, free: 4.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1869, allocations: 82.31 MB / 0.588 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.001868/0.1889, allocations: 1.478 MB / 0.5894 GB, free: 1.137 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.1899, allocations: 0.6477 MB / 0.59 GB, free: 492 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.58e-05/0.19, allocations: 0 / 0.59 GB, free: 492 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.28e-05/0.19, allocations: 7.922 kB / 0.5901 GB, free: 484 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.345e-05/0.1901, allocations: 11.88 kB / 0.5901 GB, free: 472 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004636/0.1905, allocations: 150.9 kB / 0.5902 GB, free: 324 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.1907, allocations: 119.6 kB / 0.5903 GB, free: 204 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.1908, allocations: 51.06 kB / 0.5904 GB, free: 156 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.1909, allocations: 51.83 kB / 0.5904 GB, free: 104 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.26e-05/0.191, allocations: 43.72 kB / 0.5905 GB, free: 60 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.191, allocations: 7.984 kB / 0.5905 GB, free: 52 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.1912, allocations: 35.97 kB / 0.5905 GB, free: 16 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.022e-05/0.1912, allocations: 19.97 kB / 0.5905 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.177e-05/0.1913, allocations: 73.36 kB / 0.5906 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.1915, allocations: 135.8 kB / 0.5907 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1915, allocations: 0 / 0.5907 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.592e-06/0.1915, allocations: 4 kB / 0.5907 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.1915, allocations: 0 / 0.5907 GB, free: 15.78 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005465/0.192, allocations: 415.1 kB / 0.5911 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.1921, allocations: 8.031 kB / 0.5911 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008595/0.1929, allocations: 144.6 kB / 0.5913 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.1931, allocations: 194.2 kB / 0.5915 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.1932, allocations: 63.97 kB / 0.5915 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.1933, allocations: 8.375 kB / 0.5915 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005369/0.1938, allocations: 193.6 kB / 0.5917 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.1938, allocations: 0 / 0.5917 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.1938, allocations: 4 kB / 0.5917 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1939, allocations: 8 kB / 0.5917 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006538/0.1945, allocations: 195.8 kB / 0.5919 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.1956, allocations: 0.4902 MB / 0.5924 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.1967, allocations: 266.3 kB / 0.5926 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003264/0.1971, allocations: 104.9 kB / 0.5927 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.362e-05/0.1971, allocations: 0 / 0.5927 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.1971, allocations: 38.5 kB / 0.5928 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 9.51e-07/0.1971, allocations: 0 / 0.5928 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.001101/0.1983, allocations: 325.4 kB / 0.5931 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.1983, allocations: 51.41 kB / 0.5931 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.1984, allocations: 133.8 kB / 0.5933 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.1984, allocations: 25.7 kB / 0.5933 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.103e-05/0.1985, allocations: 112.2 kB / 0.5934 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.1985, allocations: 27.62 kB / 0.5934 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.363e-05/0.1986, allocations: 17.72 kB / 0.5934 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.1987, allocations: 318.8 kB / 0.5937 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000324/0.199, allocations: 95.92 kB / 0.5938 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003335/0.1994, allocations: 106.5 kB / 0.5939 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006304/0.2, allocations: 202.4 kB / 0.5941 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.2, allocations: 0 / 0.5941 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000705/0.2007, allocations: 241.3 kB / 0.5944 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.2008, allocations: 10.56 kB / 0.5944 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2008, allocations: 0 / 0.5944 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.2008, allocations: 7.938 kB / 0.5944 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002704/0.2011, allocations: 39.95 kB / 0.5944 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.2011, allocations: 4 kB / 0.5944 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002049/0.2013, allocations: 31.97 kB / 0.5944 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.2013, allocations: 7.984 kB / 0.5945 GB, free: 11.71 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.0001104/0.2015, allocations: 121.8 kB / 0.5946 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.087e-05/0.2015, allocations: 11.81 kB / 0.5946 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007673/0.2023, allocations: 246.5 kB / 0.5948 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.2023, allocations: 0 / 0.5948 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.2023, allocations: 0 / 0.5948 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2023, allocations: 0 / 0.5948 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002529/0.2026, allocations: 242.1 kB / 0.595 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2026, allocations: 0 / 0.595 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002338/0.2028, allocations: 47.95 kB / 0.5951 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.2028, allocations: 0 / 0.5951 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.2028, allocations: 7.938 kB / 0.5951 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.2029, allocations: 0 / 0.5951 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2029, allocations: 3.938 kB / 0.5951 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007546/0.2036, allocations: 319.3 kB / 0.5954 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.893e-05/0.2037, allocations: 81.02 kB / 0.5955 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.2037, allocations: 7.922 kB / 0.5955 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003206/0.204, allocations: 51.95 kB / 0.5955 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.2041, allocations: 0 / 0.5955 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.2041, allocations: 7.984 kB / 0.5955 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.394e-05/0.2042, allocations: 105.5 kB / 0.5957 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2042, allocations: 3.938 kB / 0.5957 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002526/0.2044, allocations: 27.98 kB / 0.5957 GB, free: 10.36 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.0001285/0.2046, allocations: 99.25 kB / 0.5958 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007209/0.2053, allocations: 195.8 kB / 0.596 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2053, allocations: 4.125 kB / 0.596 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003328/0.2056, allocations: 99.86 kB / 0.5961 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.206, allocations: 15.94 kB / 0.5961 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006877/0.2067, allocations: 309.3 kB / 0.5964 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.207, allocations: 0.7004 MB / 0.5971 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.897e-05/0.207, allocations: 16 kB / 0.5971 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.422e-05/0.2071, allocations: 15.42 kB / 0.5971 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.2071, allocations: 0 / 0.5971 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of Templates: time 0.003725/0.2108, allocations: 1.353 MB / 0.5984 GB, free: 7.512 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)