Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.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.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 108 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 191.9 kB / 16.53 MB, free: 6.668 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.388/1.388, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.036/1.036, allocations: 135.1 MB / 425.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 72.12 kB / 0.5054 GB, free: 5.301 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1858, allocations: 80.93 MB / 0.5844 GB, free: 4.539 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001846/0.1877, allocations: 0.574 MB / 0.5849 GB, free: 3.957 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003486/0.1881, allocations: 75.84 kB / 0.585 GB, free: 3.883 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.435e-05/0.1881, allocations: 0 / 0.585 GB, free: 3.883 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.838e-05/0.1882, allocations: 3.938 kB / 0.585 GB, free: 3.879 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.573e-05/0.1882, allocations: 7.938 kB / 0.585 GB, free: 3.871 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003224/0.1886, allocations: 39.94 kB / 0.5851 GB, free: 3.832 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.465e-05/0.1886, allocations: 31.91 kB / 0.5851 GB, free: 3.801 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.209e-05/0.1887, allocations: 0 / 0.5851 GB, free: 3.801 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.079e-05/0.1887, allocations: 19.92 kB / 0.5851 GB, free: 3.781 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000211/0.189, allocations: 63.95 kB / 0.5852 GB, free: 3.719 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.189, allocations: 3.984 kB / 0.5852 GB, free: 3.715 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.1891, allocations: 35.95 kB / 0.5852 GB, free: 3.68 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.737e-05/0.1891, allocations: 23.92 kB / 0.5852 GB, free: 3.656 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.518e-05/0.1892, allocations: 15.88 kB / 0.5853 GB, free: 3.641 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.1893, allocations: 67.8 kB / 0.5853 GB, free: 3.574 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1894, allocations: 0 / 0.5853 GB, free: 3.574 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1894, allocations: 0 / 0.5853 GB, free: 3.574 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1894, allocations: 0 / 0.5853 GB, free: 3.574 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0004373/0.1898, allocations: 367.7 kB / 0.5857 GB, free: 3.164 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.1899, allocations: 8.031 kB / 0.5857 GB, free: 3.156 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.725e-05/0.1899, allocations: 12.84 kB / 0.5857 GB, free: 3.145 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.19, allocations: 164.3 kB / 0.5858 GB, free: 2.945 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.3e-05/0.1901, allocations: 8.359 kB / 0.5859 GB, free: 2.938 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.1901, allocations: 384 / 0.5859 GB, free: 2.938 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.1904, allocations: 189.3 kB / 0.586 GB, free: 2.73 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1904, allocations: 0 / 0.586 GB, free: 2.73 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.1904, allocations: 4 kB / 0.586 GB, free: 2.727 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.823e-05/0.1905, allocations: 23.97 kB / 0.5861 GB, free: 2.703 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.121e-05/0.1905, allocations: 43.84 kB / 0.5861 GB, free: 2.66 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007348/0.1913, allocations: 0.8984 MB / 0.587 GB, free: 1.691 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.1914, allocations: 169.1 kB / 0.5871 GB, free: 1.516 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.746e-05/0.1914, allocations: 84.08 kB / 0.5872 GB, free: 1.43 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.1915, allocations: 79.28 kB / 0.5873 GB, free: 1.352 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.946e-05/0.1915, allocations: 113.8 kB / 0.5874 GB, free: 1.23 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.1916, allocations: 0 / 0.5874 GB, free: 1.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 8.869e-05/0.1916, allocations: 37.59 kB / 0.5874 GB, free: 1.188 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002139/0.1919, allocations: 387.7 kB / 0.5878 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.192, allocations: 171.1 kB / 0.588 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.1921, allocations: 29.7 kB / 0.588 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.287e-05/0.1922, allocations: 151.2 kB / 0.5881 GB, free: 380 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.457e-06/0.1922, allocations: 0 / 0.5881 GB, free: 380 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-05/0.1923, allocations: 53.61 kB / 0.5882 GB, free: 320 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1924, allocations: 322.8 kB / 0.5885 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.828e-05/0.1924, allocations: 23.98 kB / 0.5885 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/0.1926, allocations: 226.5 kB / 0.5887 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.1929, allocations: 201.8 kB / 0.5889 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1929, allocations: 4 kB / 0.5889 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002847/0.1932, allocations: 189.7 kB / 0.5891 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.1932, allocations: 12.09 kB / 0.5891 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.1932, allocations: 4 kB / 0.5891 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/0.1932, allocations: 11.94 kB / 0.5892 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.1934, allocations: 35.92 kB / 0.5892 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.1934, allocations: 11.94 kB / 0.5892 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.558e-05/0.1935, allocations: 27.69 kB / 0.5892 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.1935, allocations: 12 kB / 0.5892 GB, free: 15.08 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (21): * Single equations (assignments): 21 * 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.0001271/0.1936, allocations: 213 kB / 0.5894 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.287e-05/0.1937, allocations: 109 kB / 0.5895 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.43e-05/0.1938, allocations: 116.8 kB / 0.5897 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.061e-05/0.1938, allocations: 188.2 kB / 0.5898 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.639e-05/0.1939, allocations: 188.2 kB / 0.59 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.355e-05/0.194, allocations: 177.9 kB / 0.5902 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002339/0.1942, allocations: 425.2 kB / 0.5906 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-05/0.1943, allocations: 104.9 kB / 0.5907 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.053e-05/0.1943, allocations: 101 kB / 0.5908 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.939e-05/0.1944, allocations: 180.2 kB / 0.591 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-05/0.1944, allocations: 180.3 kB / 0.5911 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.443e-05/0.1945, allocations: 188.2 kB / 0.5913 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.877e-05/0.1946, allocations: 188.1 kB / 0.5915 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.1947, allocations: 311.7 kB / 0.5918 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.605e-05/0.1948, allocations: 190 kB / 0.592 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.866e-05/0.1949, allocations: 184.2 kB / 0.5921 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.214e-05/0.195, allocations: 109.2 kB / 0.5922 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.814e-05/0.1951, allocations: 180.3 kB / 0.5924 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.361e-05/0.1951, allocations: 109 kB / 0.5925 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.006e-05/0.1952, allocations: 116.7 kB / 0.5926 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1952, allocations: 0 / 0.5926 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003074/0.1955, allocations: 28 kB / 0.5927 GB, free: 11.34 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 (0): * Single equations (assignments): 0 * 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.000222/0.1957, allocations: 187.9 kB / 0.5928 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001719/0.1959, allocations: 79.8 kB / 0.5929 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1959, allocations: 0 / 0.5929 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.362e-06/0.1959, allocations: 0 / 0.5929 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.1963, allocations: 468.9 kB / 0.5934 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003236/0.1967, allocations: 244.7 kB / 0.5936 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.197, allocations: 0.6929 MB / 0.5943 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002313/0.1972, allocations: 48.69 kB / 0.5943 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.982e-05/0.1973, allocations: 19.38 kB / 0.5943 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1973, allocations: 0 / 0.5943 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of Templates: time 0.004273/0.2015, allocations: 1.662 MB / 0.596 GB, free: 7.938 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)