Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.004027/0.004027, allocations: 100.6 kB / 15.73 MB, free: 6.453 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.0009885/0.0009885, allocations: 199.1 kB / 16.68 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.228/1.228, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.396/1.396, allocations: 251.7 MB / 0.5094 GB, free: 2.996 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 71.89 kB / 0.7258 GB, free: 8.938 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1865, allocations: 104.7 MB / 0.8281 GB, free: 128 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001512/0.188, allocations: 0.5981 MB / 0.8287 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003219/0.1884, allocations: 67.78 kB / 0.8287 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.695e-05/0.1884, allocations: 0 / 0.8287 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.241e-05/0.1884, allocations: 3.938 kB / 0.8287 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.376e-05/0.1885, allocations: 7.984 kB / 0.8287 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.1888, allocations: 51.88 kB / 0.8288 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.976e-05/0.1889, allocations: 23.97 kB / 0.8288 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.86e-05/0.1889, allocations: 4 kB / 0.8288 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.445e-05/0.1889, allocations: 11.98 kB / 0.8288 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/0.1891, allocations: 67.88 kB / 0.8289 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.1891, allocations: 0 / 0.8289 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.149e-05/0.1892, allocations: 43.95 kB / 0.8289 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.552e-05/0.1893, allocations: 12 kB / 0.829 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.146e-05/0.1893, allocations: 23.8 kB / 0.829 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.1894, allocations: 63.8 kB / 0.829 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1895, allocations: 0 / 0.829 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1895, allocations: 3.938 kB / 0.829 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.1895, allocations: 4 kB / 0.829 GB, free: 15.15 MB / 0.6544 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.0003309/0.1898, allocations: 367.4 kB / 0.8294 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.1898, allocations: 8.031 kB / 0.8294 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/0.1899, allocations: 8.844 kB / 0.8294 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.078e-05/0.19, allocations: 168.3 kB / 0.8296 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.19, allocations: 384 / 0.8296 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.19, allocations: 4.375 kB / 0.8296 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.1902, allocations: 197.2 kB / 0.8298 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1903, allocations: 0 / 0.8298 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.1903, allocations: 4 kB / 0.8298 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.374e-05/0.1903, allocations: 27.92 kB / 0.8298 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.823e-05/0.1904, allocations: 35.91 kB / 0.8298 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005766/0.191, allocations: 0.91 MB / 0.8307 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.553e-05/0.1911, allocations: 169.5 kB / 0.8309 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.834e-05/0.1911, allocations: 80.14 kB / 0.831 GB, free: 13 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.1911, allocations: 83.31 kB / 0.831 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.352e-05/0.1912, allocations: 109.8 kB / 0.8311 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.183e-06/0.1912, allocations: 0 / 0.8311 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 7.643e-05/0.1913, allocations: 37.64 kB / 0.8312 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001433/0.1914, allocations: 391.7 kB / 0.8315 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.1916, allocations: 163.8 kB / 0.8317 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.1916, allocations: 29.7 kB / 0.8317 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.297e-05/0.1917, allocations: 155 kB / 0.8319 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.426e-06/0.1917, allocations: 0 / 0.8319 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.762e-05/0.1917, allocations: 53.7 kB / 0.8319 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.272e-05/0.1918, allocations: 322.8 kB / 0.8322 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.579e-05/0.1919, allocations: 23.98 kB / 0.8323 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.192, allocations: 222.5 kB / 0.8325 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.1922, allocations: 201.7 kB / 0.8327 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.1922, allocations: 4 kB / 0.8327 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002575/0.1925, allocations: 193.5 kB / 0.8329 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1925, allocations: 8 kB / 0.8329 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.1925, allocations: 4 kB / 0.8329 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.912e-05/0.1925, allocations: 11.94 kB / 0.8329 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.1926, allocations: 43.91 kB / 0.8329 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.1927, allocations: 4 kB / 0.8329 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.226e-05/0.1927, allocations: 27.75 kB / 0.8329 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.1928, allocations: 8 kB / 0.833 GB, free: 10.65 MB / 0.6544 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.000113/0.1929, allocations: 221.2 kB / 0.8332 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.687e-05/0.1929, allocations: 112.8 kB / 0.8333 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.346e-05/0.193, allocations: 112.8 kB / 0.8334 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.395e-05/0.1931, allocations: 192.1 kB / 0.8336 GB, free: 9.988 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.008e-05/0.1931, allocations: 176.3 kB / 0.8337 GB, free: 9.809 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.036e-05/0.1932, allocations: 180.3 kB / 0.8339 GB, free: 9.625 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.1934, allocations: 429.1 kB / 0.8343 GB, free: 9.148 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.907e-05/0.1934, allocations: 101 kB / 0.8344 GB, free: 9.043 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.717e-05/0.1934, allocations: 104.9 kB / 0.8345 GB, free: 8.934 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.616e-05/0.1935, allocations: 180.3 kB / 0.8347 GB, free: 8.75 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-05/0.1936, allocations: 176.4 kB / 0.8349 GB, free: 8.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.511e-05/0.1936, allocations: 192.1 kB / 0.835 GB, free: 8.375 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.958e-05/0.1937, allocations: 184.2 kB / 0.8352 GB, free: 8.188 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.1938, allocations: 307.7 kB / 0.8355 GB, free: 7.863 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.377e-05/0.1939, allocations: 186 kB / 0.8357 GB, free: 7.656 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.881e-05/0.1939, allocations: 192.2 kB / 0.8359 GB, free: 7.461 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.132e-05/0.194, allocations: 113.2 kB / 0.836 GB, free: 7.344 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.121e-05/0.1941, allocations: 180.2 kB / 0.8361 GB, free: 7.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.854e-05/0.1941, allocations: 101 kB / 0.8362 GB, free: 7.055 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.568e-05/0.1942, allocations: 118.1 kB / 0.8364 GB, free: 6.941 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1942, allocations: 0 / 0.8364 GB, free: 6.941 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002788/0.1945, allocations: 24 kB / 0.8364 GB, free: 6.918 MB / 0.6544 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.0001838/0.1947, allocations: 198.5 kB / 0.8366 GB, free: 6.715 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000145/0.1948, allocations: 79.77 kB / 0.8366 GB, free: 6.637 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1948, allocations: 1.312 kB / 0.8366 GB, free: 6.637 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.253e-06/0.1948, allocations: 0 / 0.8366 GB, free: 6.637 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.1952, allocations: 475.5 kB / 0.8371 GB, free: 6.168 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002692/0.1954, allocations: 240.6 kB / 0.8373 GB, free: 5.906 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.1957, allocations: 0.689 MB / 0.838 GB, free: 5.191 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001807/0.1958, allocations: 56.58 kB / 0.8381 GB, free: 5.137 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.64e-05/0.1959, allocations: 15.44 kB / 0.8381 GB, free: 5.121 MB / 0.6544 GB Notification: Performance of SimCode: time 2.51e-07/0.1959, allocations: 0 / 0.8381 GB, free: 5.121 MB / 0.6544 GB Notification: Performance of Templates: time 0.003812/0.1997, allocations: 1.689 MB / 0.8397 GB, free: 3.473 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)