Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 110.5 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002154/0.002154, allocations: 216.7 kB / 23.01 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8627/0.8627, allocations: 134 MB / 447.2 MB, free: 10.24 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002308/0.002308, allocations: 66.81 kB / 0.6198 GB, free: 6.742 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1738, allocations: 85.91 MB / 0.7037 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.002043/0.1758, allocations: 0.6108 MB / 0.7043 GB, free: 304 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003893/0.1762, allocations: 71.84 kB / 0.7044 GB, free: 232 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.558e-05/0.1762, allocations: 0 / 0.7044 GB, free: 232 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.388e-05/0.1763, allocations: 0 / 0.7044 GB, free: 232 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.288e-05/0.1763, allocations: 11.94 kB / 0.7044 GB, free: 220 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003597/0.1767, allocations: 43.94 kB / 0.7044 GB, free: 176 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.893e-05/0.1768, allocations: 27.91 kB / 0.7044 GB, free: 148 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.197e-05/0.1768, allocations: 8.391 kB / 0.7045 GB, free: 140 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.974e-05/0.1769, allocations: 12 kB / 0.7045 GB, free: 128 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002151/0.1771, allocations: 67.88 kB / 0.7045 GB, free: 60 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.1771, allocations: 0 / 0.7045 GB, free: 60 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.1772, allocations: 47.94 kB / 0.7046 GB, free: 12 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.574e-05/0.1773, allocations: 27.91 kB / 0.7046 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.665e-05/0.1773, allocations: 19.88 kB / 0.7046 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.1775, allocations: 67.73 kB / 0.7047 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1775, allocations: 0 / 0.7047 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1775, allocations: 0 / 0.7047 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.1775, allocations: 0 / 0.7047 GB, free: 15.9 MB / 0.5294 GB 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.000394/0.1779, allocations: 290.1 kB / 0.705 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.1779, allocations: 8.031 kB / 0.705 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.256e-05/0.178, allocations: 12.83 kB / 0.705 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.1781, allocations: 110.5 kB / 0.7051 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.1781, allocations: 4.375 kB / 0.7051 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.1781, allocations: 4.375 kB / 0.7051 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002949/0.1784, allocations: 187.3 kB / 0.7053 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.1784, allocations: 0 / 0.7053 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.1784, allocations: 3.984 kB / 0.7053 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.796e-05/0.1785, allocations: 27.98 kB / 0.7053 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.49e-05/0.1786, allocations: 39.84 kB / 0.7053 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008429/0.1794, allocations: 0.8741 MB / 0.7062 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.1795, allocations: 173.1 kB / 0.7064 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.663e-05/0.1796, allocations: 80.14 kB / 0.7064 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.677e-05/0.1796, allocations: 79.28 kB / 0.7065 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.624e-05/0.1797, allocations: 109.8 kB / 0.7066 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.1797, allocations: 4 kB / 0.7066 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 9.571e-05/0.1798, allocations: 41.59 kB / 0.7067 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002278/0.18, allocations: 391.7 kB / 0.707 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.1802, allocations: 171.8 kB / 0.7072 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.1802, allocations: 25.7 kB / 0.7072 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.1803, allocations: 147.5 kB / 0.7074 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.231e-06/0.1803, allocations: 4 kB / 0.7074 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.971e-05/0.1804, allocations: 53.66 kB / 0.7074 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1806, allocations: 326.8 kB / 0.7077 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.972e-05/0.1806, allocations: 27.97 kB / 0.7078 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.1808, allocations: 220 kB / 0.708 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/0.1811, allocations: 197.8 kB / 0.7082 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.696e-06/0.1811, allocations: 4 kB / 0.7082 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003351/0.1814, allocations: 193.1 kB / 0.7083 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.1814, allocations: 7.938 kB / 0.7084 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.153e-05/0.1815, allocations: 8 kB / 0.7084 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.1815, allocations: 7.938 kB / 0.7084 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.1816, allocations: 40.58 kB / 0.7084 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.1816, allocations: 8 kB / 0.7084 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.98e-05/0.1817, allocations: 27.83 kB / 0.7084 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.1818, allocations: 16 kB / 0.7085 GB, free: 11.59 MB / 0.5294 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.0001608/0.1819, allocations: 209 kB / 0.7087 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.164e-05/0.182, allocations: 116.9 kB / 0.7088 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.802e-05/0.1821, allocations: 112.8 kB / 0.7089 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001106/0.1822, allocations: 192.2 kB / 0.7091 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-05/0.1823, allocations: 180.2 kB / 0.7092 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.24e-05/0.1824, allocations: 176.3 kB / 0.7094 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002909/0.1827, allocations: 396.2 kB / 0.7098 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.843e-05/0.1827, allocations: 105 kB / 0.7099 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.554e-05/0.1828, allocations: 101 kB / 0.71 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.319e-05/0.1829, allocations: 184.2 kB / 0.7101 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.119e-05/0.1829, allocations: 180.3 kB / 0.7103 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.149e-05/0.183, allocations: 192.1 kB / 0.7105 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.682e-05/0.1831, allocations: 180.3 kB / 0.7107 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.1833, allocations: 311.7 kB / 0.711 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.33e-05/0.1834, allocations: 112.9 kB / 0.7111 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.1835, allocations: 184.2 kB / 0.7113 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.1836, allocations: 108.9 kB / 0.7114 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.756e-05/0.1837, allocations: 188.4 kB / 0.7115 GB, free: 8.238 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.856e-05/0.1837, allocations: 105 kB / 0.7116 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001007/0.1838, allocations: 122 kB / 0.7118 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1838, allocations: 0 / 0.7118 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003504/0.1842, allocations: 31.94 kB / 0.7118 GB, free: 7.98 MB / 0.5294 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.0002223/0.1844, allocations: 178.5 kB / 0.712 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001828/0.1846, allocations: 72.97 kB / 0.712 GB, free: 7.727 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.942e-06/0.1846, allocations: 4 kB / 0.712 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.342e-06/0.1846, allocations: 7.969 kB / 0.712 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004565/0.1851, allocations: 463.7 kB / 0.7125 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004025/0.1855, allocations: 258.2 kB / 0.7127 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.1858, allocations: 0.693 MB / 0.7134 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.437e-05/0.1859, allocations: 19.56 kB / 0.7134 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of SimCode: time 3.9e-07/0.1859, allocations: 0 / 0.7134 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of Templates: time 0.004269/0.1901, allocations: 1.715 MB / 0.7151 GB, free: 4.535 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.191712335916236] Failed to read output from testmodel.py, exit status != 0: 0.1983696857932955 0.215105872 0.034289685 Calling exit ...