Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001168/0.001168, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 186.2 kB / 16.62 MB, free: 6.582 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.117/1.117, allocations: 205.1 MB / 222.5 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.48/1.48, allocations: 292.3 MB / 0.549 GB, free: 12.78 MB / 462.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.001253/0.001253, allocations: 70.88 kB / 0.6723 GB, free: 25.97 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1628, allocations: 114.5 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.00163/0.1645, allocations: 0.6119 MB / 0.7847 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002613/0.1648, allocations: 67.78 kB / 0.7848 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.839e-05/0.1648, allocations: 4 kB / 0.7848 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.121e-05/0.1648, allocations: 0 / 0.7848 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.335e-05/0.1649, allocations: 4 kB / 0.7848 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.1651, allocations: 47.88 kB / 0.7848 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.122e-05/0.1652, allocations: 19.98 kB / 0.7849 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.365e-05/0.1652, allocations: 4 kB / 0.7849 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.208e-05/0.1653, allocations: 19.91 kB / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.1654, allocations: 55.95 kB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.1654, allocations: 3.938 kB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.807e-05/0.1655, allocations: 47.89 kB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.038e-05/0.1656, allocations: 19.92 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.457e-05/0.1656, allocations: 19.86 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.928e-05/0.1657, allocations: 63.8 kB / 0.7851 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.1657, allocations: 0 / 0.7851 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1657, allocations: 4 kB / 0.7851 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.596e-06/0.1657, allocations: 0 / 0.7851 GB, free: 11.74 MB / 0.6075 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.0002768/0.166, allocations: 363.4 kB / 0.7854 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.166, allocations: 12.03 kB / 0.7854 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.4e-05/0.1661, allocations: 8.844 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.704e-05/0.1661, allocations: 180.2 kB / 0.7856 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.1662, allocations: 384 / 0.7856 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.695e-06/0.1662, allocations: 4.375 kB / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.1664, allocations: 181.9 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.1664, allocations: 3.938 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.1664, allocations: 0 / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.492e-05/0.1664, allocations: 23.97 kB / 0.7858 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.401e-05/0.1665, allocations: 35.91 kB / 0.7859 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005189/0.167, allocations: 0.8985 MB / 0.7867 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.186e-05/0.1671, allocations: 173.1 kB / 0.7869 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.324e-05/0.1671, allocations: 80.14 kB / 0.787 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.1672, allocations: 79.22 kB / 0.7871 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.61e-05/0.1672, allocations: 109.8 kB / 0.7872 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.1672, allocations: 0 / 0.7872 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.723e-05/0.1673, allocations: 41.61 kB / 0.7872 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/0.1674, allocations: 391.7 kB / 0.7876 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.1675, allocations: 169.6 kB / 0.7877 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.1676, allocations: 25.7 kB / 0.7878 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.46e-05/0.1676, allocations: 147.1 kB / 0.7879 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.629e-06/0.1676, allocations: 4 kB / 0.7879 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.776e-05/0.1677, allocations: 53.61 kB / 0.788 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.153e-05/0.1678, allocations: 326.8 kB / 0.7883 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.824e-05/0.1678, allocations: 35.91 kB / 0.7883 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.168, allocations: 213.8 kB / 0.7885 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.1681, allocations: 205.7 kB / 0.7887 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.1681, allocations: 0 / 0.7887 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002565/0.1684, allocations: 197.4 kB / 0.7889 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.1684, allocations: 4 kB / 0.7889 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.1684, allocations: 8 kB / 0.7889 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.1685, allocations: 8.031 kB / 0.7889 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.1686, allocations: 47.86 kB / 0.789 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.1686, allocations: 11.92 kB / 0.789 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.161e-05/0.1687, allocations: 23.78 kB / 0.789 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.1687, allocations: 16.38 kB / 0.789 GB, free: 7.238 MB / 0.6075 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 9.723e-05/0.1688, allocations: 213.6 kB / 0.7892 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.73e-05/0.1688, allocations: 112.9 kB / 0.7893 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.545e-05/0.1689, allocations: 124.6 kB / 0.7894 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.77e-05/0.1689, allocations: 188.2 kB / 0.7896 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.492e-05/0.169, allocations: 176.3 kB / 0.7898 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.253e-05/0.169, allocations: 188.2 kB / 0.79 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.1692, allocations: 417.2 kB / 0.7904 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.977e-05/0.1693, allocations: 104.9 kB / 0.7905 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.481e-05/0.1693, allocations: 105 kB / 0.7906 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.453e-05/0.1693, allocations: 180.3 kB / 0.7907 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.224e-05/0.1694, allocations: 189.2 kB / 0.7909 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.474e-05/0.1695, allocations: 180.2 kB / 0.7911 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.079e-05/0.1695, allocations: 184.2 kB / 0.7913 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.1696, allocations: 307.7 kB / 0.7916 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.99e-05/0.1697, allocations: 189.9 kB / 0.7917 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.568e-05/0.1697, allocations: 184.3 kB / 0.7919 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.609e-05/0.1698, allocations: 112.9 kB / 0.792 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.884e-05/0.1699, allocations: 184.5 kB / 0.7922 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.563e-05/0.1699, allocations: 101 kB / 0.7923 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.252e-05/0.17, allocations: 123.2 kB / 0.7924 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.17, allocations: 0 / 0.7924 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002763/0.1703, allocations: 28 kB / 0.7924 GB, free: 3.496 MB / 0.6075 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.0001402/0.1704, allocations: 190.5 kB / 0.7926 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001251/0.1705, allocations: 76.94 kB / 0.7927 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1705, allocations: 0 / 0.7927 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.1705, allocations: 192 / 0.7927 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.1709, allocations: 475.7 kB / 0.7931 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002222/0.1711, allocations: 220.8 kB / 0.7934 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000198/0.1713, allocations: 0.6968 MB / 0.794 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001349/0.1714, allocations: 48.61 kB / 0.7941 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.318e-05/0.1715, allocations: 19.38 kB / 0.7941 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of SimCode: time 2.91e-07/0.1715, allocations: 0 / 0.7941 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of Templates: time 0.003268/0.1747, allocations: 1.661 MB / 0.7957 GB, free: 96 kB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)