Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001524/0.001524, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001725/0.001725, allocations: 222.3 kB / 23 MB, free: 4.91 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.385/1.385, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002433/0.002433, allocations: 291.7 kB / 313.5 MB, free: 2.625 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.196/1.196, allocations: 180.6 MB / 0.5377 GB, free: 14.59 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.00296/0.00296, allocations: 101.7 kB / 0.7408 GB, free: 27.7 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1786, allocations: 95.38 MB / 0.8339 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001827/0.1805, allocations: 0.6156 MB / 0.8345 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003306/0.1808, allocations: 67.8 kB / 0.8346 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.067e-05/0.1808, allocations: 4 kB / 0.8346 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.876e-05/0.1808, allocations: 0 / 0.8346 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.256e-05/0.1809, allocations: 7.938 kB / 0.8346 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002926/0.1812, allocations: 39.94 kB / 0.8346 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.864e-05/0.1812, allocations: 31.95 kB / 0.8346 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.358e-05/0.1813, allocations: 4.406 kB / 0.8346 GB, free: 7 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.55e-05/0.1813, allocations: 12 kB / 0.8347 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.1815, allocations: 67.86 kB / 0.8347 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.1815, allocations: 11.88 kB / 0.8347 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.1816, allocations: 43.94 kB / 0.8348 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.794e-05/0.1817, allocations: 19.92 kB / 0.8348 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.725e-05/0.1817, allocations: 11.94 kB / 0.8348 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.1818, allocations: 67.73 kB / 0.8349 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1818, allocations: 0 / 0.8349 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.432e-06/0.1818, allocations: 0 / 0.8349 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.428e-06/0.1819, allocations: 4 kB / 0.8349 GB, free: 6.766 MB / 0.5762 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.000371/0.1822, allocations: 294.1 kB / 0.8352 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.1823, allocations: 9.344 kB / 0.8352 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.899e-05/0.1823, allocations: 8.891 kB / 0.8352 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.656e-05/0.1824, allocations: 118.4 kB / 0.8353 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.1824, allocations: 384 / 0.8353 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.1824, allocations: 8.359 kB / 0.8353 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004609/0.1829, allocations: 434.4 kB / 0.8357 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.1829, allocations: 3.938 kB / 0.8357 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.1829, allocations: 7.984 kB / 0.8357 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.173e-05/0.183, allocations: 23.98 kB / 0.8357 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.927e-05/0.183, allocations: 39.91 kB / 0.8358 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007224/0.1837, allocations: 0.8474 MB / 0.8366 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.982e-05/0.1838, allocations: 173.1 kB / 0.8368 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.791e-05/0.1839, allocations: 80.14 kB / 0.8369 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.607e-05/0.1839, allocations: 83.2 kB / 0.8369 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.303e-05/0.184, allocations: 113.8 kB / 0.837 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.184, allocations: 0 / 0.837 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.601e-05/0.1841, allocations: 33.66 kB / 0.8371 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002014/0.1843, allocations: 387.7 kB / 0.8374 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.1844, allocations: 180.8 kB / 0.8376 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.1845, allocations: 33.7 kB / 0.8376 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.955e-05/0.1846, allocations: 147.5 kB / 0.8378 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.478e-05/0.1846, allocations: 11.98 kB / 0.8378 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.599e-05/0.1846, allocations: 49.66 kB / 0.8378 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1848, allocations: 322.8 kB / 0.8382 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.145e-05/0.1848, allocations: 31.91 kB / 0.8382 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003357/0.1852, allocations: 471.6 kB / 0.8386 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002132/0.1854, allocations: 205.7 kB / 0.8388 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1854, allocations: 0 / 0.8388 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003065/0.1857, allocations: 193.3 kB / 0.839 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.1857, allocations: 8 kB / 0.839 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.1857, allocations: 4 kB / 0.839 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.1857, allocations: 8.094 kB / 0.839 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.1858, allocations: 39.86 kB / 0.8391 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.596e-05/0.1859, allocations: 20.39 kB / 0.8391 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.012e-05/0.186, allocations: 23.89 kB / 0.8391 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.186, allocations: 12 kB / 0.8391 GB, free: 1.859 MB / 0.5762 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.0001519/0.1861, allocations: 217.6 kB / 0.8393 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.463e-05/0.1862, allocations: 108.9 kB / 0.8394 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.336e-05/0.1863, allocations: 120.5 kB / 0.8395 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.652e-05/0.1864, allocations: 188.3 kB / 0.8397 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.815e-05/0.1864, allocations: 184.2 kB / 0.8399 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.776e-05/0.1865, allocations: 185.9 kB / 0.8401 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002467/0.1868, allocations: 368.9 kB / 0.8404 GB, free: 440 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.587e-05/0.1868, allocations: 104.9 kB / 0.8405 GB, free: 328 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.585e-05/0.1869, allocations: 109 kB / 0.8406 GB, free: 212 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.003e-05/0.187, allocations: 180.3 kB / 0.8408 GB, free: 24 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-05/0.1871, allocations: 184.2 kB / 0.841 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.713e-05/0.1872, allocations: 176.3 kB / 0.8412 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.165e-05/0.1872, allocations: 180.2 kB / 0.8413 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.1874, allocations: 323.6 kB / 0.8416 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.977e-05/0.1875, allocations: 108.9 kB / 0.8417 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.667e-05/0.1876, allocations: 180.3 kB / 0.8419 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.52e-05/0.1877, allocations: 112.9 kB / 0.842 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.653e-05/0.1877, allocations: 188.5 kB / 0.8422 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.564e-05/0.1878, allocations: 104.9 kB / 0.8423 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.892e-05/0.1879, allocations: 116.4 kB / 0.8424 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1879, allocations: 0 / 0.8424 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002853/0.1882, allocations: 28 kB / 0.8424 GB, free: 14.28 MB / 0.5919 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.0001952/0.1884, allocations: 190.5 kB / 0.8426 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001524/0.1885, allocations: 68.66 kB / 0.8427 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1885, allocations: 448 / 0.8427 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.136e-06/0.1885, allocations: 8.031 kB / 0.8427 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003929/0.1889, allocations: 469.9 kB / 0.8431 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003282/0.1892, allocations: 258.3 kB / 0.8434 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.65e-05/0.1893, allocations: 83.83 kB / 0.8435 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.165e-05/0.1893, allocations: 15.44 kB / 0.8435 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.1893, allocations: 0 / 0.8435 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of Templates: time 0.003509/0.1929, allocations: 1.738 MB / 0.8452 GB, free: 11.43 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.187342735007405] Failed to read output from testmodel.py, exit status != 0: 0.20009782491251826 0.21422843900000002 0.02955367 Calling exit ...