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.001452/0.001452, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001383/0.001384, allocations: 193.6 kB / 16.14 MB, free: 6.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00254/0.00254, allocations: 277.7 kB / 290.2 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.067/1.067, allocations: 178.6 MB / 0.5068 GB, free: 4.777 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003023/0.003023, allocations: 95.75 kB / 0.6057 GB, free: 25.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.168, allocations: 89.14 MB / 0.6928 GB, free: 4.844 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001845/0.1698, allocations: 0.6779 MB / 0.6935 GB, free: 4.164 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003206/0.1702, allocations: 71.84 kB / 0.6935 GB, free: 4.094 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.63e-05/0.1702, allocations: 0 / 0.6935 GB, free: 4.094 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.834e-05/0.1703, allocations: 4 kB / 0.6935 GB, free: 4.09 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.497e-05/0.1703, allocations: 7.938 kB / 0.6935 GB, free: 4.082 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002196/0.1705, allocations: 31.95 kB / 0.6936 GB, free: 4.051 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.521e-05/0.1706, allocations: 31.95 kB / 0.6936 GB, free: 4.02 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.605e-05/0.1707, allocations: 3.938 kB / 0.6936 GB, free: 4.016 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.509e-05/0.1707, allocations: 12 kB / 0.6936 GB, free: 4.004 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/0.1709, allocations: 71.86 kB / 0.6937 GB, free: 3.934 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.1709, allocations: 3.984 kB / 0.6937 GB, free: 3.93 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.627e-05/0.171, allocations: 35.95 kB / 0.6937 GB, free: 3.895 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.631e-05/0.1711, allocations: 19.94 kB / 0.6937 GB, free: 3.875 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.653e-05/0.1711, allocations: 23.86 kB / 0.6938 GB, free: 3.852 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.1712, allocations: 63.8 kB / 0.6938 GB, free: 3.789 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1713, allocations: 4 kB / 0.6938 GB, free: 3.785 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.1713, allocations: 0 / 0.6938 GB, free: 3.785 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.1713, allocations: 0 / 0.6938 GB, free: 3.785 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.0004023/0.1717, allocations: 363.7 kB / 0.6942 GB, free: 3.379 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.1717, allocations: 8.031 kB / 0.6942 GB, free: 3.371 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.905e-05/0.1718, allocations: 12.84 kB / 0.6942 GB, free: 3.359 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.1719, allocations: 176.3 kB / 0.6944 GB, free: 3.148 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.1719, allocations: 4.375 kB / 0.6944 GB, free: 3.145 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.826e-06/0.1719, allocations: 384 / 0.6944 GB, free: 3.145 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002734/0.1722, allocations: 183.4 kB / 0.6945 GB, free: 2.941 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.1722, allocations: 0 / 0.6945 GB, free: 2.941 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.1723, allocations: 4 kB / 0.6945 GB, free: 2.938 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.521e-05/0.1723, allocations: 19.98 kB / 0.6946 GB, free: 2.918 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.372e-05/0.1724, allocations: 43.91 kB / 0.6946 GB, free: 2.875 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008143/0.1732, allocations: 0.9023 MB / 0.6955 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.1733, allocations: 169.1 kB / 0.6956 GB, free: 1.727 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.201e-05/0.1734, allocations: 80.14 kB / 0.6957 GB, free: 1.645 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.586e-05/0.1734, allocations: 75.28 kB / 0.6958 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.769e-05/0.1735, allocations: 117.8 kB / 0.6959 GB, free: 1.445 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.133e-06/0.1735, allocations: 0 / 0.6959 GB, free: 1.445 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 9.155e-05/0.1736, allocations: 41.53 kB / 0.6959 GB, free: 1.398 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002232/0.1738, allocations: 387.7 kB / 0.6963 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.174, allocations: 166.9 kB / 0.6965 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.1741, allocations: 29.7 kB / 0.6965 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.1742, allocations: 155 kB / 0.6967 GB, free: 0.582 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.242e-06/0.1742, allocations: 4 kB / 0.6967 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.347e-05/0.1743, allocations: 57.61 kB / 0.6967 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.1744, allocations: 322.8 kB / 0.697 GB, free: 196 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.383e-05/0.1745, allocations: 23.98 kB / 0.697 GB, free: 172 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.1747, allocations: 219.8 kB / 0.6972 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002251/0.175, allocations: 205.8 kB / 0.6974 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.175, allocations: 0 / 0.6974 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003823/0.1754, allocations: 189.1 kB / 0.6976 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.1754, allocations: 8 kB / 0.6976 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.1754, allocations: 4 kB / 0.6976 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.1754, allocations: 8.594 kB / 0.6976 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.1756, allocations: 47.92 kB / 0.6977 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.1756, allocations: 11.94 kB / 0.6977 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.749e-05/0.1757, allocations: 23.78 kB / 0.6977 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.1757, allocations: 12 kB / 0.6977 GB, free: 15.29 MB / 0.4981 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.0001523/0.1759, allocations: 209 kB / 0.6979 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.236e-05/0.176, allocations: 118.8 kB / 0.698 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.876e-05/0.1761, allocations: 116.8 kB / 0.6982 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.858e-05/0.1761, allocations: 188.2 kB / 0.6983 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.67e-05/0.1762, allocations: 176.3 kB / 0.6985 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-05/0.1763, allocations: 188.2 kB / 0.6987 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003054/0.1766, allocations: 413.2 kB / 0.6991 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-05/0.1767, allocations: 112.9 kB / 0.6992 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.025e-05/0.1767, allocations: 105 kB / 0.6993 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-05/0.1768, allocations: 180.2 kB / 0.6995 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.267e-05/0.1769, allocations: 176.3 kB / 0.6996 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.737e-05/0.177, allocations: 192.2 kB / 0.6998 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.283e-05/0.1771, allocations: 184.2 kB / 0.7 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.1773, allocations: 315.7 kB / 0.7003 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.1774, allocations: 190 kB / 0.7005 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.717e-05/0.1775, allocations: 176.5 kB / 0.7006 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.1776, allocations: 116.9 kB / 0.7008 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.517e-05/0.1777, allocations: 180.3 kB / 0.7009 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.523e-05/0.1778, allocations: 112.9 kB / 0.701 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.058e-05/0.1779, allocations: 119 kB / 0.7011 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1779, allocations: 3.938 kB / 0.7011 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000331/0.1782, allocations: 32.09 kB / 0.7012 GB, free: 11.54 MB / 0.4981 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.0002132/0.1784, allocations: 190.5 kB / 0.7014 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001616/0.1786, allocations: 76.53 kB / 0.7014 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1786, allocations: 0 / 0.7014 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.1786, allocations: 4 kB / 0.7014 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004476/0.1791, allocations: 0.5263 MB / 0.702 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003387/0.1794, allocations: 251.1 kB / 0.7022 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.1798, allocations: 0.6893 MB / 0.7029 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002352/0.18, allocations: 56.58 kB / 0.7029 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.89e-05/0.18, allocations: 11.44 kB / 0.7029 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of SimCode: time 4.21e-07/0.1801, allocations: 4 kB / 0.7029 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of Templates: time 0.004758/0.1848, allocations: 1.751 MB / 0.7046 GB, free: 7.965 MB / 0.4981 GB 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)