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.0008241/0.0008242, allocations: 97.48 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.007611/0.007611, allocations: 170.8 kB / 16.27 MB, free: 6.32 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.366/1.366, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.014/1.014, allocations: 135.3 MB / 426.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003205/0.0003206, allocations: 12.28 kB / 0.5076 GB, free: 4.742 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.162, allocations: 82.31 MB / 0.588 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0008374/0.1629, allocations: 323 kB / 0.5883 GB, free: 2.281 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003539/0.1633, allocations: 71.84 kB / 0.5884 GB, free: 2.211 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.012e-05/0.1633, allocations: 0 / 0.5884 GB, free: 2.211 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.801e-05/0.1634, allocations: 0 / 0.5884 GB, free: 2.211 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.865e-05/0.1634, allocations: 11.92 kB / 0.5884 GB, free: 2.199 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.1637, allocations: 39.95 kB / 0.5884 GB, free: 2.16 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.221e-05/0.1638, allocations: 27.91 kB / 0.5884 GB, free: 2.133 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.466e-05/0.1638, allocations: 4 kB / 0.5884 GB, free: 2.129 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.854e-05/0.1639, allocations: 15.92 kB / 0.5885 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001918/0.1641, allocations: 63.94 kB / 0.5885 GB, free: 2.051 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.1641, allocations: 0 / 0.5885 GB, free: 2.051 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.1642, allocations: 43.89 kB / 0.5886 GB, free: 2.008 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.312e-05/0.1643, allocations: 23.91 kB / 0.5886 GB, free: 1.984 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.413e-05/0.1643, allocations: 41.58 kB / 0.5886 GB, free: 1.938 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.1644, allocations: 71.78 kB / 0.5887 GB, free: 1.867 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1645, allocations: 0 / 0.5887 GB, free: 1.867 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.1645, allocations: 0 / 0.5887 GB, free: 1.867 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1645, allocations: 0 / 0.5887 GB, free: 1.867 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.0003127/0.1648, allocations: 351.7 kB / 0.589 GB, free: 1.473 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.1648, allocations: 8.031 kB / 0.589 GB, free: 1.465 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.105e-05/0.1649, allocations: 12.84 kB / 0.589 GB, free: 1.453 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.977e-05/0.165, allocations: 164.3 kB / 0.5892 GB, free: 1.254 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.165, allocations: 8.359 kB / 0.5892 GB, free: 1.246 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.165, allocations: 384 / 0.5892 GB, free: 1.246 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.1653, allocations: 185.3 kB / 0.5894 GB, free: 1.043 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.1653, allocations: 3.938 kB / 0.5894 GB, free: 1.039 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.1653, allocations: 4 kB / 0.5894 GB, free: 1.035 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.544e-05/0.1654, allocations: 15.98 kB / 0.5894 GB, free: 1.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.043e-05/0.1654, allocations: 39.91 kB / 0.5894 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006933/0.1661, allocations: 0.9062 MB / 0.5903 GB, free: 4 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.507e-05/0.1662, allocations: 173.1 kB / 0.5905 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.552e-05/0.1663, allocations: 84.14 kB / 0.5906 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.1663, allocations: 79.22 kB / 0.5906 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.595e-05/0.1664, allocations: 113.8 kB / 0.5908 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.1664, allocations: 0 / 0.5908 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 9.14e-05/0.1665, allocations: 37.59 kB / 0.5908 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001553/0.1666, allocations: 387.7 kB / 0.5912 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.1668, allocations: 163.2 kB / 0.5913 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1668, allocations: 29.7 kB / 0.5913 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.174e-05/0.1669, allocations: 155.1 kB / 0.5915 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.827e-06/0.1669, allocations: 0 / 0.5915 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/0.167, allocations: 25.7 kB / 0.5915 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.1671, allocations: 322.8 kB / 0.5918 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.008e-05/0.1671, allocations: 31.91 kB / 0.5919 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.1673, allocations: 218.6 kB / 0.5921 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001953/0.1675, allocations: 193.7 kB / 0.5923 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/0.1675, allocations: 8.094 kB / 0.5923 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000306/0.1678, allocations: 193.7 kB / 0.5924 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1679, allocations: 9.906 kB / 0.5925 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.1679, allocations: 8 kB / 0.5925 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.1679, allocations: 4 kB / 0.5925 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.168, allocations: 43.86 kB / 0.5925 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.168, allocations: 11.92 kB / 0.5925 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.382e-05/0.1681, allocations: 31.69 kB / 0.5925 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.1682, allocations: 12 kB / 0.5926 GB, free: 13.41 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.0001205/0.1683, allocations: 209 kB / 0.5928 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.506e-05/0.1684, allocations: 120.9 kB / 0.5929 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.346e-05/0.1684, allocations: 116.8 kB / 0.593 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.503e-05/0.1685, allocations: 180.2 kB / 0.5932 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.238e-05/0.1686, allocations: 177.9 kB / 0.5933 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.379e-05/0.1686, allocations: 184.2 kB / 0.5935 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.1689, allocations: 425.2 kB / 0.5939 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.198e-05/0.1689, allocations: 104.9 kB / 0.594 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.929e-05/0.169, allocations: 105 kB / 0.5941 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.532e-05/0.169, allocations: 184.2 kB / 0.5943 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.797e-05/0.1691, allocations: 184.2 kB / 0.5945 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-05/0.1692, allocations: 184.1 kB / 0.5946 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.13e-05/0.1692, allocations: 188.2 kB / 0.5948 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.1694, allocations: 307.8 kB / 0.5951 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.383e-05/0.1695, allocations: 185.9 kB / 0.5953 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.608e-05/0.1695, allocations: 184.3 kB / 0.5955 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.601e-05/0.1696, allocations: 117.1 kB / 0.5956 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.488e-05/0.1697, allocations: 180.2 kB / 0.5957 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.402e-05/0.1697, allocations: 109 kB / 0.5958 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.004e-05/0.1698, allocations: 121.2 kB / 0.596 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1698, allocations: 0 / 0.596 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000332/0.1702, allocations: 24 kB / 0.596 GB, free: 9.676 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.0002062/0.1704, allocations: 182.5 kB / 0.5962 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001441/0.1705, allocations: 75.78 kB / 0.5962 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.1705, allocations: 0 / 0.5962 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.476e-06/0.1706, allocations: 3.984 kB / 0.5962 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004154/0.171, allocations: 0.5393 MB / 0.5968 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003512/0.1713, allocations: 238.6 kB / 0.597 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.1716, allocations: 0.697 MB / 0.5977 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002127/0.1719, allocations: 48.61 kB / 0.5977 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.71e-05/0.1719, allocations: 19.38 kB / 0.5977 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.1719, allocations: 0 / 0.5977 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of Templates: time 0.004601/0.1765, allocations: 1.737 MB / 0.5994 GB, free: 6.117 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)