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.001277/0.001277, 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.001356/0.001356, allocations: 196.9 kB / 16.53 MB, free: 6.664 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.366/1.366, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002055/0.002055, allocations: 279 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9834/0.9834, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 96.06 kB / 0.5952 GB, free: 27.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1628, allocations: 86.98 MB / 0.6802 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.00181/0.1647, allocations: 0.5988 MB / 0.6808 GB, free: 76 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003461/0.1651, allocations: 71.72 kB / 0.6808 GB, free: 4 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.347e-05/0.1651, allocations: 4.641 kB / 0.6808 GB, free: 16 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.659e-05/0.1652, allocations: 4 kB / 0.6808 GB, free: 15.99 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.099e-05/0.1652, allocations: 0.8438 kB / 0.6808 GB, free: 15.99 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.1655, allocations: 49.17 kB / 0.6809 GB, free: 15.95 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.008e-05/0.1656, allocations: 19.98 kB / 0.6809 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.428e-05/0.1656, allocations: 18.03 kB / 0.6809 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.2e-05/0.1657, allocations: 8 kB / 0.6809 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.1659, allocations: 67.88 kB / 0.681 GB, free: 15.84 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.1659, allocations: 0 / 0.681 GB, free: 15.84 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.166, allocations: 39.91 kB / 0.681 GB, free: 15.8 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.673e-05/0.1661, allocations: 23.97 kB / 0.6811 GB, free: 15.78 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.1661, allocations: 23.81 kB / 0.6811 GB, free: 15.75 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.1662, allocations: 63.8 kB / 0.6811 GB, free: 15.69 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1662, allocations: 0 / 0.6811 GB, free: 15.69 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1663, allocations: 0 / 0.6811 GB, free: 15.69 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.1663, allocations: 0 / 0.6811 GB, free: 15.69 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.000402/0.1667, allocations: 359.8 kB / 0.6815 GB, free: 15.29 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.1667, allocations: 8.031 kB / 0.6815 GB, free: 15.28 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.156e-05/0.1668, allocations: 8.844 kB / 0.6815 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.512e-05/0.1669, allocations: 176.2 kB / 0.6817 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.1669, allocations: 4.375 kB / 0.6817 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.1669, allocations: 4.375 kB / 0.6817 GB, free: 15.05 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/0.1671, allocations: 172.2 kB / 0.6818 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1672, allocations: 7.938 kB / 0.6819 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.1672, allocations: 0 / 0.6819 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.052e-05/0.1672, allocations: 27.97 kB / 0.6819 GB, free: 14.83 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.628e-05/0.1673, allocations: 39.91 kB / 0.6819 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006806/0.168, allocations: 0.9023 MB / 0.6828 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.677e-05/0.1681, allocations: 165.1 kB / 0.683 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.2e-05/0.1681, allocations: 84.14 kB / 0.683 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/0.1682, allocations: 83.2 kB / 0.6831 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.756e-05/0.1682, allocations: 113.8 kB / 0.6832 GB, free: 13.36 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 2.014e-06/0.1683, allocations: 0 / 0.6832 GB, free: 13.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.965e-05/0.1683, allocations: 37.61 kB / 0.6833 GB, free: 13.31 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002054/0.1685, allocations: 383.7 kB / 0.6836 GB, free: 12.86 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.1687, allocations: 170 kB / 0.6838 GB, free: 12.69 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.1687, allocations: 33.7 kB / 0.6838 GB, free: 12.65 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.243e-05/0.1688, allocations: 139.2 kB / 0.684 GB, free: 12.51 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.264e-06/0.1688, allocations: 8 kB / 0.684 GB, free: 12.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.2e-05/0.1689, allocations: 57.59 kB / 0.684 GB, free: 12.44 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.169, allocations: 326.7 kB / 0.6843 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.251e-05/0.1691, allocations: 31.91 kB / 0.6844 GB, free: 12.08 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/0.1693, allocations: 210.6 kB / 0.6846 GB, free: 11.78 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.1694, allocations: 205.7 kB / 0.6848 GB, free: 11.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.1695, allocations: 4 kB / 0.6848 GB, free: 11.51 MB / 494.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002884/0.1697, allocations: 181.2 kB / 0.6849 GB, free: 11.33 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.1698, allocations: 11.94 kB / 0.6849 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.1698, allocations: 4 kB / 0.6849 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.1698, allocations: 16.58 kB / 0.685 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.1699, allocations: 43.92 kB / 0.685 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.17, allocations: 11.94 kB / 0.685 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.107e-05/0.1701, allocations: 31.69 kB / 0.685 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.1701, allocations: 8 kB / 0.6851 GB, free: 11.2 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001465/0.1702, allocations: 214.3 kB / 0.6853 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.857e-05/0.1703, allocations: 112.9 kB / 0.6854 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.989e-05/0.1704, allocations: 124.8 kB / 0.6855 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.145e-05/0.1705, allocations: 184.2 kB / 0.6857 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.017e-05/0.1705, allocations: 180.3 kB / 0.6858 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.588e-05/0.1706, allocations: 184.2 kB / 0.686 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003101/0.1709, allocations: 417.2 kB / 0.6864 GB, free: 9.711 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.09e-05/0.171, allocations: 108.9 kB / 0.6865 GB, free: 9.598 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.931e-05/0.1711, allocations: 101 kB / 0.6866 GB, free: 9.492 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001149/0.1712, allocations: 184.3 kB / 0.6868 GB, free: 9.305 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001125/0.1713, allocations: 184.2 kB / 0.687 GB, free: 9.117 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.815e-05/0.1713, allocations: 180.2 kB / 0.6871 GB, free: 8.934 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.651e-05/0.1714, allocations: 180.2 kB / 0.6873 GB, free: 8.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.1716, allocations: 320.2 kB / 0.6876 GB, free: 8.414 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.64e-05/0.1716, allocations: 185.9 kB / 0.6878 GB, free: 8.207 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.698e-05/0.1717, allocations: 180.3 kB / 0.688 GB, free: 8.023 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.1719, allocations: 117.1 kB / 0.6881 GB, free: 7.902 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.397e-05/0.1719, allocations: 180.3 kB / 0.6882 GB, free: 7.719 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.251e-05/0.172, allocations: 109 kB / 0.6883 GB, free: 7.605 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.809e-05/0.1721, allocations: 125.8 kB / 0.6885 GB, free: 7.484 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1721, allocations: 0 / 0.6885 GB, free: 7.484 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003521/0.1724, allocations: 24 kB / 0.6885 GB, free: 7.461 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 (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.0002142/0.1726, allocations: 190.5 kB / 0.6887 GB, free: 7.266 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002214/0.1729, allocations: 76.78 kB / 0.6887 GB, free: 7.191 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1729, allocations: 0 / 0.6887 GB, free: 7.191 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.1729, allocations: 0 / 0.6887 GB, free: 7.191 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/0.1733, allocations: 467.7 kB / 0.6892 GB, free: 6.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003146/0.1736, allocations: 229.3 kB / 0.6894 GB, free: 6.48 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.174, allocations: 0.7006 MB / 0.6901 GB, free: 5.754 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000239/0.1742, allocations: 56.58 kB / 0.6901 GB, free: 5.699 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.222e-05/0.1743, allocations: 15.44 kB / 0.6902 GB, free: 5.684 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1743, allocations: 3.938 kB / 0.6902 GB, free: 5.68 MB / 494.1 MB Notification: Performance of Templates: time 0.004434/0.1787, allocations: 1.662 MB / 0.6918 GB, free: 4.055 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)