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.0009617/0.0009618, allocations: 108 kB / 15.61 MB, free: 152 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.0008923/0.0008923, allocations: 196.4 kB / 16.53 MB, free: 6.664 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.129/1.129, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.529/1.529, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.001304/0.001304, allocations: 65.11 kB / 0.6715 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1709, allocations: 114.5 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001654/0.1725, allocations: 0.62 MB / 0.784 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002628/0.1728, allocations: 63.78 kB / 0.784 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.017e-05/0.1728, allocations: 0 / 0.784 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.071e-05/0.1729, allocations: 0 / 0.784 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.844e-05/0.1729, allocations: 11.92 kB / 0.784 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.1732, allocations: 43.95 kB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.586e-05/0.1732, allocations: 31.95 kB / 0.7841 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.722e-05/0.1733, allocations: 4 kB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.974e-05/0.1733, allocations: 7.938 kB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.1735, allocations: 67.92 kB / 0.7842 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.1735, allocations: 0 / 0.7842 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.945e-05/0.1736, allocations: 47.91 kB / 0.7842 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.076e-05/0.1736, allocations: 15.92 kB / 0.7843 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.746e-05/0.1737, allocations: 15.88 kB / 0.7843 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.1738, allocations: 63.8 kB / 0.7843 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1738, allocations: 3.984 kB / 0.7843 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1738, allocations: 0 / 0.7843 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.1738, allocations: 4 kB / 0.7843 GB, free: 12.49 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.0002755/0.1741, allocations: 367.7 kB / 0.7847 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.81e-05/0.1741, allocations: 8.031 kB / 0.7847 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.518e-05/0.1742, allocations: 12.83 kB / 0.7847 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.98e-05/0.1742, allocations: 172.3 kB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.1742, allocations: 384 / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.1743, allocations: 4.359 kB / 0.7849 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.1745, allocations: 181.9 kB / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.1745, allocations: 3.938 kB / 0.7851 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.1745, allocations: 8 kB / 0.7851 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.372e-05/0.1746, allocations: 19.98 kB / 0.7851 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.898e-05/0.1746, allocations: 35.91 kB / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005323/0.1752, allocations: 0.8984 MB / 0.786 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.408e-05/0.1752, allocations: 181.1 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.936e-05/0.1753, allocations: 80.14 kB / 0.7862 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.1753, allocations: 87.16 kB / 0.7863 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.1753, allocations: 105.8 kB / 0.7864 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.1753, allocations: 0 / 0.7864 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.812e-05/0.1754, allocations: 37.61 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.1755, allocations: 391.7 kB / 0.7868 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.1757, allocations: 168.6 kB / 0.787 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.1757, allocations: 29.7 kB / 0.787 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.48e-05/0.1757, allocations: 143.2 kB / 0.7872 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.05e-06/0.1758, allocations: 3.984 kB / 0.7872 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.296e-05/0.1758, allocations: 57.61 kB / 0.7872 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.107e-05/0.1759, allocations: 322.8 kB / 0.7875 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.632e-05/0.1759, allocations: 31.91 kB / 0.7876 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.1761, allocations: 214.6 kB / 0.7878 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.1762, allocations: 201.7 kB / 0.788 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1762, allocations: 4 kB / 0.788 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002468/0.1765, allocations: 189.5 kB / 0.7881 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.1765, allocations: 8.938 kB / 0.7881 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.1765, allocations: 4 kB / 0.7881 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.1765, allocations: 15.92 kB / 0.7882 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.1767, allocations: 35.92 kB / 0.7882 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.1767, allocations: 11.94 kB / 0.7882 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.031e-05/0.1768, allocations: 27.78 kB / 0.7882 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.1768, allocations: 8 kB / 0.7882 GB, free: 8.004 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.673e-05/0.1769, allocations: 221.9 kB / 0.7885 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.627e-05/0.1769, allocations: 112.9 kB / 0.7886 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.254e-05/0.177, allocations: 120.8 kB / 0.7887 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.375e-05/0.177, allocations: 188.2 kB / 0.7889 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.341e-05/0.1771, allocations: 176.3 kB / 0.789 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-05/0.1771, allocations: 188.2 kB / 0.7892 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.1773, allocations: 417.2 kB / 0.7896 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.691e-05/0.1773, allocations: 104.9 kB / 0.7897 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.593e-05/0.1774, allocations: 101 kB / 0.7898 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.462e-05/0.1774, allocations: 184.2 kB / 0.79 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.314e-05/0.1775, allocations: 181.3 kB / 0.7901 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.416e-05/0.1775, allocations: 188.2 kB / 0.7903 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.477e-05/0.1776, allocations: 180.2 kB / 0.7905 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.1777, allocations: 319.6 kB / 0.7908 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.652e-05/0.1777, allocations: 186 kB / 0.791 GB, free: 5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.029e-05/0.1778, allocations: 184.3 kB / 0.7912 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.145e-05/0.1779, allocations: 109 kB / 0.7913 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.1779, allocations: 188.5 kB / 0.7914 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-05/0.178, allocations: 108.9 kB / 0.7915 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.941e-05/0.178, allocations: 111.2 kB / 0.7916 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.178, allocations: 4 kB / 0.7917 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002763/0.1783, allocations: 24 kB / 0.7917 GB, free: 4.258 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.0001493/0.1785, allocations: 194.5 kB / 0.7919 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000129/0.1786, allocations: 79.8 kB / 0.7919 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1786, allocations: 1.312 kB / 0.7919 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.1786, allocations: 0 / 0.7919 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.1789, allocations: 467.7 kB / 0.7924 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002148/0.1792, allocations: 228.8 kB / 0.7926 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001879/0.1793, allocations: 0.6929 MB / 0.7933 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001753/0.1795, allocations: 64.31 kB / 0.7933 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.364e-05/0.1796, allocations: 19.44 kB / 0.7934 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.1796, allocations: 0 / 0.7934 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of Templates: time 0.003337/0.1829, allocations: 1.642 MB / 0.795 GB, free: 0.8555 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)