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.0009217/0.0009217, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.000968/0.0009681, allocations: 172.7 kB / 15.95 MB, free: 208 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.493/1.493, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.971/0.971, allocations: 135.3 MB / 426.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.000356, allocations: 23.88 kB / 0.507 GB, free: 5.117 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1902, allocations: 82.3 MB / 0.5874 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0007272/0.191, allocations: 327 kB / 0.5877 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003175/0.1913, allocations: 67.88 kB / 0.5878 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.077e-05/0.1913, allocations: 4 kB / 0.5878 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.851e-05/0.1914, allocations: 0 / 0.5878 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.55e-05/0.1914, allocations: 7.938 kB / 0.5878 GB, free: 2.59 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.1917, allocations: 31.95 kB / 0.5878 GB, free: 2.559 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.138e-05/0.1918, allocations: 27.95 kB / 0.5878 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.922e-05/0.1918, allocations: 3.938 kB / 0.5878 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.412e-05/0.1919, allocations: 27.92 kB / 0.5879 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002227/0.1921, allocations: 71.92 kB / 0.5879 GB, free: 2.43 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.1921, allocations: 0 / 0.5879 GB, free: 2.43 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.781e-05/0.1922, allocations: 35.97 kB / 0.588 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.787e-05/0.1923, allocations: 23.92 kB / 0.588 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.685e-05/0.1923, allocations: 33.64 kB / 0.588 GB, free: 2.332 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.79e-05/0.1924, allocations: 35.94 kB / 0.5881 GB, free: 2.297 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.1924, allocations: 0 / 0.5881 GB, free: 2.297 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1924, allocations: 0 / 0.5881 GB, free: 2.297 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.1924, allocations: 0 / 0.5881 GB, free: 2.297 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.0003375/0.1928, allocations: 355.5 kB / 0.5884 GB, free: 1.902 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.1928, allocations: 8.031 kB / 0.5884 GB, free: 1.895 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.1929, allocations: 7.906 kB / 0.5884 GB, free: 1.887 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.193, allocations: 167 kB / 0.5886 GB, free: 1.684 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.193, allocations: 0 / 0.5886 GB, free: 1.684 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.193, allocations: 4 kB / 0.5886 GB, free: 1.68 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.1933, allocations: 181.1 kB / 0.5887 GB, free: 1.477 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.1933, allocations: 0 / 0.5887 GB, free: 1.477 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.1933, allocations: 4 kB / 0.5887 GB, free: 1.473 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.685e-05/0.1933, allocations: 31.91 kB / 0.5888 GB, free: 1.441 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.648e-05/0.1934, allocations: 35.91 kB / 0.5888 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007172/0.1941, allocations: 0.9062 MB / 0.5897 GB, free: 440 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.479e-05/0.1942, allocations: 165.1 kB / 0.5899 GB, free: 264 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.728e-05/0.1943, allocations: 92.17 kB / 0.5899 GB, free: 168 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.1943, allocations: 75.28 kB / 0.59 GB, free: 92 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.119e-05/0.1944, allocations: 109.8 kB / 0.5901 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.1944, allocations: 0 / 0.5901 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.546e-05/0.1945, allocations: 37.55 kB / 0.5902 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001735/0.1947, allocations: 395.7 kB / 0.5905 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.1948, allocations: 167.7 kB / 0.5907 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.1948, allocations: 29.7 kB / 0.5907 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.982e-05/0.1949, allocations: 151.3 kB / 0.5909 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.138e-06/0.1949, allocations: 0 / 0.5909 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/0.1949, allocations: 7.938 kB / 0.5909 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1951, allocations: 322.8 kB / 0.5912 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.774e-05/0.1951, allocations: 24.36 kB / 0.5912 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/0.1953, allocations: 223.3 kB / 0.5914 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.061e-05/0.1954, allocations: 65.5 kB / 0.5915 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1954, allocations: 4 kB / 0.5915 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003041/0.1957, allocations: 189.7 kB / 0.5917 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.1958, allocations: 8 kB / 0.5917 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.1958, allocations: 4 kB / 0.5917 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.1958, allocations: 8 kB / 0.5917 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.1959, allocations: 35.92 kB / 0.5917 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.1959, allocations: 8 kB / 0.5917 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.767e-05/0.196, allocations: 31.69 kB / 0.5918 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.1961, allocations: 12 kB / 0.5918 GB, free: 14.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001402/0.1962, allocations: 217 kB / 0.592 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.926e-05/0.1963, allocations: 116.8 kB / 0.5921 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.294e-05/0.1964, allocations: 112.9 kB / 0.5922 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.078e-05/0.1964, allocations: 184.2 kB / 0.5924 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.822e-05/0.1965, allocations: 176.3 kB / 0.5925 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.648e-05/0.1966, allocations: 180.2 kB / 0.5927 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002461/0.1968, allocations: 429.1 kB / 0.5931 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.221e-05/0.1969, allocations: 101 kB / 0.5932 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.531e-05/0.1969, allocations: 108.9 kB / 0.5933 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.703e-05/0.197, allocations: 180.4 kB / 0.5935 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.804e-05/0.1971, allocations: 188.3 kB / 0.5937 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.774e-05/0.1971, allocations: 180.2 kB / 0.5938 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.385e-05/0.1972, allocations: 180.3 kB / 0.594 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.1974, allocations: 315.7 kB / 0.5943 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.997e-05/0.1974, allocations: 189.9 kB / 0.5945 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.488e-05/0.1975, allocations: 184.3 kB / 0.5947 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.178e-05/0.1976, allocations: 105 kB / 0.5948 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.962e-05/0.1977, allocations: 192.2 kB / 0.595 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.614e-05/0.1978, allocations: 101 kB / 0.595 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.54e-05/0.1979, allocations: 113.9 kB / 0.5952 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1979, allocations: 0 / 0.5952 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003231/0.1982, allocations: 28 kB / 0.5952 GB, free: 10.35 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 (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.0002194/0.1984, allocations: 186.5 kB / 0.5954 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001485/0.1986, allocations: 75.81 kB / 0.5954 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1986, allocations: 3.938 kB / 0.5954 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.1986, allocations: 1.312 kB / 0.5954 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.199, allocations: 0.5455 MB / 0.596 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003048/0.1993, allocations: 234.5 kB / 0.5962 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.1996, allocations: 0.697 MB / 0.5969 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002079/0.1998, allocations: 56.58 kB / 0.5969 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.556e-05/0.1998, allocations: 15.44 kB / 0.5969 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1998, allocations: 4 kB / 0.5969 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of Templates: time 0.004064/0.2039, allocations: 1.687 MB / 0.5986 GB, free: 6.824 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)