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.000937/0.000937, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009526/0.0009527, allocations: 190.8 kB / 16.25 MB, free: 6.621 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.131/1.131, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.455/1.455, allocations: 292.3 MB / 0.5485 GB, free: 13.67 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.001262/0.001262, allocations: 67.45 kB / 0.671 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1656, allocations: 114.5 MB / 0.7829 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001602/0.1672, allocations: 0.6743 MB / 0.7835 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002635/0.1675, allocations: 63.84 kB / 0.7836 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.797e-05/0.1675, allocations: 4 kB / 0.7836 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.984e-05/0.1676, allocations: 0 / 0.7836 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.114e-05/0.1676, allocations: 11.94 kB / 0.7836 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.1679, allocations: 39.95 kB / 0.7836 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.865e-05/0.168, allocations: 35.89 kB / 0.7837 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.396e-05/0.168, allocations: 0 / 0.7837 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.232e-05/0.168, allocations: 15.92 kB / 0.7837 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.1682, allocations: 71.92 kB / 0.7837 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.1682, allocations: 0 / 0.7837 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.117e-05/0.1683, allocations: 35.95 kB / 0.7838 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.395e-05/0.1684, allocations: 27.92 kB / 0.7838 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.772e-05/0.1684, allocations: 19.88 kB / 0.7838 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.1685, allocations: 67.78 kB / 0.7839 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1685, allocations: 0 / 0.7839 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1685, allocations: 0 / 0.7839 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.1685, allocations: 0 / 0.7839 GB, free: 12.86 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.0002986/0.1688, allocations: 363.7 kB / 0.7842 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.1689, allocations: 12.02 kB / 0.7843 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/0.1689, allocations: 20.77 kB / 0.7843 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.723e-05/0.169, allocations: 176.3 kB / 0.7844 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.169, allocations: 4.375 kB / 0.7844 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.169, allocations: 4.375 kB / 0.7844 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.1692, allocations: 175.4 kB / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.1692, allocations: 0 / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.1693, allocations: 8 kB / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-05/0.1693, allocations: 23.98 kB / 0.7846 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.907e-05/0.1694, allocations: 35.91 kB / 0.7847 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005583/0.1699, allocations: 0.9023 MB / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.623e-05/0.17, allocations: 177.1 kB / 0.7857 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.414e-05/0.17, allocations: 80.14 kB / 0.7858 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.1701, allocations: 79.28 kB / 0.7859 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/0.1701, allocations: 113.8 kB / 0.786 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.232e-06/0.1701, allocations: 0 / 0.786 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.894e-05/0.1702, allocations: 37.61 kB / 0.786 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.1703, allocations: 387.7 kB / 0.7864 GB, free: 10 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.1704, allocations: 169.2 kB / 0.7866 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.1705, allocations: 29.7 kB / 0.7866 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.341e-05/0.1705, allocations: 147.1 kB / 0.7867 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.574e-06/0.1705, allocations: 3.984 kB / 0.7867 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.574e-05/0.1706, allocations: 61.61 kB / 0.7868 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.983e-05/0.1707, allocations: 322.8 kB / 0.7871 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.569e-05/0.1707, allocations: 27.97 kB / 0.7871 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.1709, allocations: 214.5 kB / 0.7873 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.171, allocations: 197.8 kB / 0.7875 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.171, allocations: 4 kB / 0.7875 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002475/0.1713, allocations: 189.1 kB / 0.7877 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.1713, allocations: 8 kB / 0.7877 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.1713, allocations: 4 kB / 0.7877 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.1713, allocations: 12.59 kB / 0.7877 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.1714, allocations: 39.92 kB / 0.7878 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.1715, allocations: 11.94 kB / 0.7878 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.228e-05/0.1715, allocations: 27.78 kB / 0.7878 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.1716, allocations: 11.98 kB / 0.7878 GB, free: 8.355 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 0.0001004/0.1717, allocations: 213.7 kB / 0.788 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.108e-05/0.1717, allocations: 112.9 kB / 0.7881 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.879e-05/0.1718, allocations: 116.8 kB / 0.7882 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-05/0.1718, allocations: 188.2 kB / 0.7884 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.036e-05/0.1719, allocations: 180.2 kB / 0.7886 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.235e-05/0.1719, allocations: 184.4 kB / 0.7888 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.1721, allocations: 421.2 kB / 0.7892 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.645e-05/0.1722, allocations: 104.9 kB / 0.7893 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.714e-05/0.1722, allocations: 105 kB / 0.7894 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.329e-05/0.1723, allocations: 189.3 kB / 0.7895 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.099e-05/0.1723, allocations: 176.3 kB / 0.7897 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-05/0.1724, allocations: 188.2 kB / 0.7899 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.511e-05/0.1724, allocations: 180.2 kB / 0.7901 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001195/0.1725, allocations: 315.7 kB / 0.7904 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.19e-05/0.1726, allocations: 193.9 kB / 0.7905 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.284e-05/0.1727, allocations: 180.3 kB / 0.7907 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.036e-05/0.1728, allocations: 113.1 kB / 0.7908 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.305e-05/0.1728, allocations: 180.2 kB / 0.791 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.364e-05/0.1729, allocations: 109 kB / 0.7911 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.925e-05/0.1729, allocations: 122.4 kB / 0.7912 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1729, allocations: 0 / 0.7912 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002889/0.1732, allocations: 28 kB / 0.7912 GB, free: 4.609 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.0001663/0.1734, allocations: 182.5 kB / 0.7914 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001233/0.1735, allocations: 80.7 kB / 0.7915 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1735, allocations: 0 / 0.7915 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.1736, allocations: 0 / 0.7915 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.1739, allocations: 471.7 kB / 0.7919 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002243/0.1741, allocations: 253.1 kB / 0.7922 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001965/0.1743, allocations: 0.6929 MB / 0.7929 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001474/0.1745, allocations: 56.38 kB / 0.7929 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.481e-05/0.1745, allocations: 15.44 kB / 0.7929 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.1745, allocations: 0 / 0.7929 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of Templates: time 0.003468/0.178, allocations: 1.789 MB / 0.7947 GB, free: 1.055 MB / 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)