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.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.000796/0.000796, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001269/0.00127, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001693/0.001693, allocations: 278.9 kB / 291.4 MB, free: 1.848 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9277/0.9277, allocations: 169.5 MB / 0.5 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004905/0.0004907, allocations: 14.41 kB / 0.598 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1814, allocations: 88.55 MB / 0.6845 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0006926/0.1821, allocations: 324 kB / 0.6848 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002777/0.1824, allocations: 71.88 kB / 0.6849 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.117e-05/0.1824, allocations: 2.312 kB / 0.6849 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.373e-05/0.1825, allocations: 0 / 0.6849 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.395e-05/0.1825, allocations: 7.984 kB / 0.6849 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.1828, allocations: 39.89 kB / 0.6849 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.972e-05/0.1829, allocations: 22.7 kB / 0.6849 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.632e-05/0.1829, allocations: 4 kB / 0.6849 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.009e-05/0.183, allocations: 19.91 kB / 0.685 GB, free: 15 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002024/0.1832, allocations: 67.94 kB / 0.685 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.1832, allocations: 4 kB / 0.685 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.217e-05/0.1833, allocations: 35.95 kB / 0.6851 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.184e-05/0.1833, allocations: 19.92 kB / 0.6851 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.366e-05/0.1834, allocations: 31.27 kB / 0.6851 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.69e-05/0.1835, allocations: 43.94 kB / 0.6852 GB, free: 14.79 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1835, allocations: 0 / 0.6852 GB, free: 14.79 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1835, allocations: 0 / 0.6852 GB, free: 14.79 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.1835, allocations: 0 / 0.6852 GB, free: 14.79 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.0003/0.1838, allocations: 348.7 kB / 0.6855 GB, free: 14.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.1838, allocations: 12.03 kB / 0.6855 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.474e-05/0.1839, allocations: 8.438 kB / 0.6855 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.879e-05/0.184, allocations: 173.4 kB / 0.6857 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.184, allocations: 3.984 kB / 0.6857 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.184, allocations: 4 kB / 0.6857 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002439/0.1843, allocations: 176.4 kB / 0.6859 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.1843, allocations: 0 / 0.6859 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.1843, allocations: 6.078 kB / 0.6859 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.454e-05/0.1843, allocations: 27.91 kB / 0.6859 GB, free: 13.94 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.475e-05/0.1844, allocations: 35.91 kB / 0.6859 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006231/0.185, allocations: 0.9031 MB / 0.6868 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.4e-05/0.1851, allocations: 173.1 kB / 0.687 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.815e-05/0.1852, allocations: 84.97 kB / 0.687 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.1852, allocations: 75.94 kB / 0.6871 GB, free: 12.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.729e-05/0.1852, allocations: 107.3 kB / 0.6872 GB, free: 12.48 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.1852, allocations: 0 / 0.6872 GB, free: 12.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.28e-05/0.1853, allocations: 45.55 kB / 0.6873 GB, free: 12.43 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001534/0.1855, allocations: 384.5 kB / 0.6876 GB, free: 11.98 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.1856, allocations: 168.8 kB / 0.6878 GB, free: 11.81 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.1857, allocations: 30.33 kB / 0.6878 GB, free: 11.78 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.324e-05/0.1857, allocations: 147.3 kB / 0.688 GB, free: 11.63 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.047e-05/0.1857, allocations: 5.984 kB / 0.688 GB, free: 11.62 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.613e-06/0.1858, allocations: 8 kB / 0.688 GB, free: 11.62 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.616e-05/0.1859, allocations: 318.8 kB / 0.6883 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.733e-05/0.1859, allocations: 28.34 kB / 0.6883 GB, free: 11.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.1861, allocations: 223.2 kB / 0.6885 GB, free: 10.96 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.901e-05/0.1862, allocations: 63.91 kB / 0.6886 GB, free: 10.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.1862, allocations: 0 / 0.6886 GB, free: 10.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002685/0.1864, allocations: 193.3 kB / 0.6888 GB, free: 10.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.1865, allocations: 6.5 kB / 0.6888 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.1865, allocations: 4 kB / 0.6888 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.1865, allocations: 11.98 kB / 0.6888 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.1866, allocations: 43.92 kB / 0.6888 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.1866, allocations: 4 kB / 0.6888 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.56e-05/0.1867, allocations: 28.22 kB / 0.6889 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.1868, allocations: 19.94 kB / 0.6889 GB, free: 10.59 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001212/0.1869, allocations: 213.6 kB / 0.6891 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.14e-05/0.1869, allocations: 120.8 kB / 0.6892 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.871e-05/0.187, allocations: 112.8 kB / 0.6893 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.959e-05/0.1871, allocations: 176.3 kB / 0.6895 GB, free: 9.945 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-05/0.1871, allocations: 180.2 kB / 0.6896 GB, free: 9.762 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.86e-05/0.1872, allocations: 184.8 kB / 0.6898 GB, free: 9.574 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002132/0.1874, allocations: 429.1 kB / 0.6902 GB, free: 9.098 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.183e-05/0.1875, allocations: 101 kB / 0.6903 GB, free: 8.992 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.399e-05/0.1875, allocations: 113 kB / 0.6904 GB, free: 8.875 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.826e-05/0.1876, allocations: 180.5 kB / 0.6906 GB, free: 8.691 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.882e-05/0.1876, allocations: 188.2 kB / 0.6908 GB, free: 8.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.713e-05/0.1877, allocations: 184.2 kB / 0.691 GB, free: 8.312 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.206e-05/0.1878, allocations: 184.2 kB / 0.6911 GB, free: 8.125 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.1879, allocations: 315.6 kB / 0.6914 GB, free: 7.793 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.048e-05/0.188, allocations: 186 kB / 0.6916 GB, free: 7.586 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.122e-05/0.1881, allocations: 188.2 kB / 0.6918 GB, free: 7.395 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.572e-05/0.1882, allocations: 109 kB / 0.6919 GB, free: 7.281 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.587e-05/0.1882, allocations: 180.2 kB / 0.6921 GB, free: 7.098 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.299e-05/0.1883, allocations: 101 kB / 0.6922 GB, free: 6.992 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.001e-05/0.1883, allocations: 115.8 kB / 0.6923 GB, free: 6.879 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1883, allocations: 0 / 0.6923 GB, free: 6.879 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002912/0.1886, allocations: 31.98 kB / 0.6923 GB, free: 6.848 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000176/0.1888, allocations: 182.5 kB / 0.6925 GB, free: 6.66 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001484/0.189, allocations: 76.84 kB / 0.6926 GB, free: 6.586 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.189, allocations: 0 / 0.6926 GB, free: 6.586 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.845e-06/0.189, allocations: 4.188 kB / 0.6926 GB, free: 6.582 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.1893, allocations: 0.5341 MB / 0.6931 GB, free: 6.043 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002723/0.1896, allocations: 246.5 kB / 0.6933 GB, free: 5.777 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.1899, allocations: 0.6893 MB / 0.694 GB, free: 5.062 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001847/0.1901, allocations: 56.58 kB / 0.694 GB, free: 5.008 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.542e-05/0.1901, allocations: 11.44 kB / 0.6941 GB, free: 4.996 MB / 494.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1901, allocations: 4 kB / 0.6941 GB, free: 4.992 MB / 494.1 MB Notification: Performance of Templates: time 0.003832/0.1939, allocations: 1.688 MB / 0.6957 GB, free: 3.336 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.makefile (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)