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.001164/0.001164, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001301/0.001301, allocations: 198.5 kB / 16.14 MB, free: 6.645 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.358/1.358, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9913/0.9913, allocations: 135.1 MB / 425.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 59.47 kB / 0.5047 GB, free: 5.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1747, allocations: 80.93 MB / 0.5837 GB, free: 5.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001769/0.1765, allocations: 0.6504 MB / 0.5844 GB, free: 4.352 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003691/0.1769, allocations: 75.84 kB / 0.5844 GB, free: 4.277 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.038e-05/0.1769, allocations: 0 / 0.5844 GB, free: 4.277 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.414e-05/0.177, allocations: 4 kB / 0.5844 GB, free: 4.273 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.818e-05/0.177, allocations: 7.984 kB / 0.5844 GB, free: 4.266 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002818/0.1773, allocations: 39.89 kB / 0.5845 GB, free: 4.227 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.143e-05/0.1774, allocations: 19.98 kB / 0.5845 GB, free: 4.207 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.719e-05/0.1774, allocations: 4 kB / 0.5845 GB, free: 4.203 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.86e-05/0.1775, allocations: 15.92 kB / 0.5845 GB, free: 4.188 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002097/0.1777, allocations: 67.92 kB / 0.5846 GB, free: 4.121 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.1777, allocations: 0 / 0.5846 GB, free: 4.121 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.1778, allocations: 39.95 kB / 0.5846 GB, free: 4.082 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.214e-05/0.1779, allocations: 23.92 kB / 0.5846 GB, free: 4.059 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.528e-05/0.1779, allocations: 15.88 kB / 0.5847 GB, free: 4.043 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.1781, allocations: 79.7 kB / 0.5847 GB, free: 3.965 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1781, allocations: 0 / 0.5847 GB, free: 3.965 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1781, allocations: 0 / 0.5847 GB, free: 3.965 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.1781, allocations: 0 / 0.5847 GB, free: 3.965 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.0003668/0.1785, allocations: 359.7 kB / 0.5851 GB, free: 3.562 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.1785, allocations: 8.031 kB / 0.5851 GB, free: 3.555 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.267e-05/0.1786, allocations: 8.844 kB / 0.5851 GB, free: 3.547 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.1787, allocations: 168.4 kB / 0.5853 GB, free: 3.344 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.1787, allocations: 384 / 0.5853 GB, free: 3.344 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.1787, allocations: 4.359 kB / 0.5853 GB, free: 3.34 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/0.179, allocations: 183.4 kB / 0.5854 GB, free: 3.137 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.179, allocations: 0 / 0.5854 GB, free: 3.137 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.179, allocations: 7.984 kB / 0.5854 GB, free: 3.129 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.672e-05/0.179, allocations: 31.92 kB / 0.5855 GB, free: 3.098 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.504e-05/0.1791, allocations: 39.84 kB / 0.5855 GB, free: 3.059 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007307/0.1799, allocations: 0.9023 MB / 0.5864 GB, free: 2.086 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.447e-05/0.1799, allocations: 169.1 kB / 0.5866 GB, free: 1.91 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.059e-05/0.18, allocations: 80.14 kB / 0.5866 GB, free: 1.828 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.18, allocations: 83.22 kB / 0.5867 GB, free: 1.746 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.883e-05/0.1801, allocations: 113.8 kB / 0.5868 GB, free: 1.625 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.1801, allocations: 0 / 0.5868 GB, free: 1.625 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 8.118e-05/0.1802, allocations: 37.55 kB / 0.5869 GB, free: 1.582 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000185/0.1804, allocations: 391.7 kB / 0.5872 GB, free: 1.125 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.1805, allocations: 167.3 kB / 0.5874 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.1805, allocations: 29.7 kB / 0.5874 GB, free: 0.918 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.172e-05/0.1806, allocations: 147.1 kB / 0.5876 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.229e-06/0.1807, allocations: 3.984 kB / 0.5876 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.31e-05/0.1807, allocations: 61.61 kB / 0.5876 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.1808, allocations: 318.8 kB / 0.5879 GB, free: 388 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.221e-05/0.1809, allocations: 27.97 kB / 0.588 GB, free: 360 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/0.1811, allocations: 219.7 kB / 0.5882 GB, free: 44 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/0.1813, allocations: 201.7 kB / 0.5884 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1813, allocations: 0 / 0.5884 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002977/0.1816, allocations: 193.1 kB / 0.5885 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.1816, allocations: 8 kB / 0.5885 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1816, allocations: 4.656 kB / 0.5886 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.1817, allocations: 11.94 kB / 0.5886 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.1818, allocations: 39.92 kB / 0.5886 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.1818, allocations: 8 kB / 0.5886 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.242e-05/0.1819, allocations: 35.67 kB / 0.5886 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.1819, allocations: 8 kB / 0.5886 GB, free: 15.47 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.0001368/0.1821, allocations: 209.1 kB / 0.5888 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.472e-05/0.1822, allocations: 112.9 kB / 0.589 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.412e-05/0.1822, allocations: 108.9 kB / 0.5891 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-05/0.1823, allocations: 196.1 kB / 0.5892 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.887e-05/0.1824, allocations: 181.9 kB / 0.5894 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.237e-05/0.1824, allocations: 180.3 kB / 0.5896 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002623/0.1827, allocations: 421.2 kB / 0.59 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.377e-05/0.1827, allocations: 101 kB / 0.5901 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.083e-05/0.1828, allocations: 116.9 kB / 0.5902 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-05/0.1828, allocations: 184.2 kB / 0.5904 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.756e-05/0.1829, allocations: 176.3 kB / 0.5905 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.635e-05/0.183, allocations: 184.1 kB / 0.5907 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.668e-05/0.183, allocations: 180.3 kB / 0.5909 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.1832, allocations: 315.7 kB / 0.5912 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.233e-05/0.1833, allocations: 189.9 kB / 0.5914 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.873e-05/0.1834, allocations: 188.5 kB / 0.5916 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.03e-05/0.1835, allocations: 104.9 kB / 0.5917 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.851e-05/0.1836, allocations: 188.2 kB / 0.5918 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.408e-05/0.1836, allocations: 109.1 kB / 0.5919 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.898e-05/0.1837, allocations: 117.6 kB / 0.5921 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1837, allocations: 0 / 0.5921 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003017/0.184, allocations: 28 kB / 0.5921 GB, free: 11.73 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.0002084/0.1842, allocations: 182.5 kB / 0.5923 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001454/0.1844, allocations: 84.39 kB / 0.5923 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.1844, allocations: 4 kB / 0.5923 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.233e-06/0.1844, allocations: 0 / 0.5923 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.1848, allocations: 0.5341 MB / 0.5929 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003048/0.1851, allocations: 243.2 kB / 0.5931 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.1854, allocations: 0.6932 MB / 0.5938 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000221/0.1856, allocations: 56.53 kB / 0.5938 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.598e-05/0.1857, allocations: 11.44 kB / 0.5938 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1857, allocations: 4 kB / 0.5938 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of Templates: time 0.004282/0.19, allocations: 1.74 MB / 0.5955 GB, free: 8.164 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)