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.0008778/0.0008779, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00494/0.00494, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.324/1.324, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001722/0.001722, allocations: 262.2 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9713/0.9713, allocations: 169.5 MB / 0.5004 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005048/0.0005049, allocations: 13.19 kB / 0.5987 GB, free: 28.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1635, allocations: 88.55 MB / 0.6851 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0007676/0.1643, allocations: 333.5 kB / 0.6855 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002978/0.1646, allocations: 71.86 kB / 0.6855 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.705e-05/0.1647, allocations: 0 / 0.6855 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.674e-05/0.1647, allocations: 7.812 kB / 0.6855 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.201e-05/0.1648, allocations: 10.75 kB / 0.6855 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002147/0.165, allocations: 31.95 kB / 0.6856 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.367e-05/0.165, allocations: 27.97 kB / 0.6856 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.956e-05/0.1651, allocations: 4 kB / 0.6856 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.383e-05/0.1651, allocations: 11.98 kB / 0.6856 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.1653, allocations: 75.8 kB / 0.6857 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.1653, allocations: 0 / 0.6857 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.799e-05/0.1654, allocations: 41.48 kB / 0.6857 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.444e-05/0.1655, allocations: 19.98 kB / 0.6857 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.327e-05/0.1655, allocations: 49.5 kB / 0.6858 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.1656, allocations: 67.8 kB / 0.6859 GB, free: 14.33 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1656, allocations: 0 / 0.6859 GB, free: 14.33 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.1657, allocations: 2.281 kB / 0.6859 GB, free: 14.33 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.1657, allocations: 0 / 0.6859 GB, free: 14.33 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.0002883/0.166, allocations: 339.8 kB / 0.6862 GB, free: 13.95 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.166, allocations: 12.03 kB / 0.6862 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.166, allocations: 8.844 kB / 0.6862 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.046e-05/0.1661, allocations: 164.8 kB / 0.6864 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.1662, allocations: 8.969 kB / 0.6864 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.1662, allocations: 7.984 kB / 0.6864 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/0.1664, allocations: 176.2 kB / 0.6865 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.1664, allocations: 3.938 kB / 0.6865 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.1665, allocations: 7.984 kB / 0.6866 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.966e-05/0.1665, allocations: 20.61 kB / 0.6866 GB, free: 13.49 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.46e-05/0.1666, allocations: 39.91 kB / 0.6866 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006971/0.1673, allocations: 0.9077 MB / 0.6875 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.846e-05/0.1674, allocations: 165.1 kB / 0.6877 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.318e-05/0.1674, allocations: 80.14 kB / 0.6877 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.603e-05/0.1675, allocations: 79.91 kB / 0.6878 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.761e-05/0.1675, allocations: 117.8 kB / 0.6879 GB, free: 12.02 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.1675, allocations: 0 / 0.6879 GB, free: 12.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.419e-05/0.1676, allocations: 33.61 kB / 0.688 GB, free: 11.98 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001537/0.1678, allocations: 391.7 kB / 0.6883 GB, free: 11.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.1679, allocations: 169.2 kB / 0.6885 GB, free: 11.35 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.1679, allocations: 25.7 kB / 0.6885 GB, free: 11.32 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.687e-05/0.168, allocations: 159.1 kB / 0.6887 GB, free: 11.16 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.946e-06/0.168, allocations: 0 / 0.6887 GB, free: 11.16 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.1681, allocations: 17.72 kB / 0.6887 GB, free: 11.14 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1682, allocations: 326.8 kB / 0.689 GB, free: 10.81 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.747e-05/0.1682, allocations: 23.98 kB / 0.689 GB, free: 10.79 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001878/0.1684, allocations: 222.5 kB / 0.6892 GB, free: 10.47 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.1686, allocations: 201.7 kB / 0.6894 GB, free: 10.21 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.1686, allocations: 4 kB / 0.6894 GB, free: 10.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002793/0.1689, allocations: 185.1 kB / 0.6896 GB, free: 10.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.1689, allocations: 14.45 kB / 0.6896 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.1689, allocations: 4.094 kB / 0.6896 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1689, allocations: 15.94 kB / 0.6896 GB, free: 9.988 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.1691, allocations: 47.86 kB / 0.6897 GB, free: 9.941 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.1691, allocations: 4 kB / 0.6897 GB, free: 9.938 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.624e-05/0.1692, allocations: 31.72 kB / 0.6897 GB, free: 9.906 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.1692, allocations: 8 kB / 0.6897 GB, free: 9.898 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.0001223/0.1693, allocations: 214.3 kB / 0.6899 GB, free: 9.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.763e-05/0.1694, allocations: 116.9 kB / 0.69 GB, free: 9.559 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.078e-05/0.1695, allocations: 116.8 kB / 0.6901 GB, free: 9.434 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-05/0.1695, allocations: 184.1 kB / 0.6903 GB, free: 9.246 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.869e-05/0.1696, allocations: 180.3 kB / 0.6905 GB, free: 9.062 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.525e-05/0.1696, allocations: 184.2 kB / 0.6907 GB, free: 8.875 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.1699, allocations: 417.2 kB / 0.6911 GB, free: 8.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.947e-05/0.1699, allocations: 105 kB / 0.6912 GB, free: 8.301 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.468e-05/0.1699, allocations: 112.9 kB / 0.6913 GB, free: 8.184 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-05/0.17, allocations: 180.2 kB / 0.6914 GB, free: 8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.614e-05/0.1701, allocations: 180.2 kB / 0.6916 GB, free: 7.816 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.686e-05/0.1701, allocations: 188.2 kB / 0.6918 GB, free: 7.625 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.668e-05/0.1702, allocations: 184.2 kB / 0.692 GB, free: 7.438 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.1704, allocations: 316.2 kB / 0.6923 GB, free: 7.105 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.085e-05/0.1704, allocations: 189.9 kB / 0.6925 GB, free: 6.895 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.066e-05/0.1705, allocations: 180.5 kB / 0.6926 GB, free: 6.711 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.042e-05/0.1706, allocations: 116.9 kB / 0.6927 GB, free: 6.59 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.1e-05/0.1707, allocations: 180.3 kB / 0.6929 GB, free: 6.406 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.225e-05/0.1707, allocations: 105 kB / 0.693 GB, free: 6.297 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.512e-05/0.1708, allocations: 121.5 kB / 0.6931 GB, free: 6.18 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1708, allocations: 0 / 0.6931 GB, free: 6.18 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003098/0.1711, allocations: 24 kB / 0.6932 GB, free: 6.156 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.0001862/0.1713, allocations: 194.5 kB / 0.6933 GB, free: 5.957 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001396/0.1714, allocations: 76.09 kB / 0.6934 GB, free: 5.883 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1714, allocations: 0 / 0.6934 GB, free: 5.883 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.363e-06/0.1715, allocations: 0 / 0.6934 GB, free: 5.883 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.1718, allocations: 0.5312 MB / 0.6939 GB, free: 5.348 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003026/0.1721, allocations: 250.5 kB / 0.6942 GB, free: 5.078 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.1725, allocations: 0.6893 MB / 0.6948 GB, free: 4.363 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001971/0.1727, allocations: 52.59 kB / 0.6949 GB, free: 4.312 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.538e-05/0.1727, allocations: 15.44 kB / 0.6949 GB, free: 4.297 MB / 494.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1727, allocations: 0 / 0.6949 GB, free: 4.297 MB / 494.1 MB Notification: Performance of Templates: time 0.004288/0.177, allocations: 1.753 MB / 0.6966 GB, free: 2.578 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)