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.001022/0.001022, 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.00109/0.00109, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.316/1.316, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00231/0.002311, allocations: 275.1 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9312/0.9312, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 91.19 kB / 0.5945 GB, free: 28.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1618, allocations: 87 MB / 0.6795 GB, free: 1.137 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.002072/0.164, allocations: 0.6483 MB / 0.6801 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003621/0.1644, allocations: 72.47 kB / 0.6802 GB, free: 436 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.118e-05/0.1644, allocations: 0 / 0.6802 GB, free: 436 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.309e-05/0.1645, allocations: 1.031 kB / 0.6802 GB, free: 436 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.303e-05/0.1645, allocations: 8.641 kB / 0.6802 GB, free: 428 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.1648, allocations: 36.52 kB / 0.6802 GB, free: 392 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.355e-05/0.1649, allocations: 27.91 kB / 0.6802 GB, free: 364 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.903e-05/0.1649, allocations: 4.719 kB / 0.6802 GB, free: 360 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.723e-05/0.1649, allocations: 15.92 kB / 0.6803 GB, free: 344 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002202/0.1652, allocations: 73.84 kB / 0.6803 GB, free: 272 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.1652, allocations: 0 / 0.6803 GB, free: 272 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.1653, allocations: 31.97 kB / 0.6804 GB, free: 240 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.518e-05/0.1654, allocations: 23.92 kB / 0.6804 GB, free: 216 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.55e-05/0.1654, allocations: 15.88 kB / 0.6804 GB, free: 200 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.1656, allocations: 72.41 kB / 0.6805 GB, free: 128 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1656, allocations: 0 / 0.6805 GB, free: 128 kB / 478.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.1656, allocations: 4 kB / 0.6805 GB, free: 124 kB / 478.1 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.1656, allocations: 0 / 0.6805 GB, free: 124 kB / 478.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.0003766/0.166, allocations: 359.8 kB / 0.6808 GB, free: 15.72 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.166, allocations: 11.97 kB / 0.6808 GB, free: 15.71 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.389e-05/0.1661, allocations: 8.844 kB / 0.6808 GB, free: 15.7 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.1663, allocations: 168.3 kB / 0.681 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.1663, allocations: 4.375 kB / 0.681 GB, free: 15.49 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.1663, allocations: 4.359 kB / 0.681 GB, free: 15.49 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/0.1665, allocations: 187.3 kB / 0.6812 GB, free: 15.28 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.1666, allocations: 0 / 0.6812 GB, free: 15.28 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.1666, allocations: 11.97 kB / 0.6812 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.376e-05/0.1666, allocations: 19.98 kB / 0.6812 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.821e-05/0.1667, allocations: 43.84 kB / 0.6812 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006789/0.1674, allocations: 0.9023 MB / 0.6821 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.238e-05/0.1675, allocations: 169.1 kB / 0.6823 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.383e-05/0.1675, allocations: 84.14 kB / 0.6824 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.1676, allocations: 75.28 kB / 0.6824 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.236e-05/0.1676, allocations: 109.8 kB / 0.6825 GB, free: 13.78 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 2.415e-06/0.1676, allocations: 0 / 0.6825 GB, free: 13.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 9.091e-05/0.1677, allocations: 41.48 kB / 0.6826 GB, free: 13.73 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001604/0.1679, allocations: 395.7 kB / 0.683 GB, free: 13.27 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.168, allocations: 165.6 kB / 0.6831 GB, free: 13.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.1681, allocations: 25.7 kB / 0.6831 GB, free: 13.07 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.847e-05/0.1682, allocations: 151.1 kB / 0.6833 GB, free: 12.92 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.97e-05/0.1683, allocations: 3.984 kB / 0.6833 GB, free: 12.91 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.639e-05/0.1683, allocations: 57.61 kB / 0.6833 GB, free: 12.85 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.1684, allocations: 314.8 kB / 0.6836 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.355e-05/0.1685, allocations: 31.97 kB / 0.6837 GB, free: 12.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.1687, allocations: 224.8 kB / 0.6839 GB, free: 12.19 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002635/0.169, allocations: 197.8 kB / 0.6841 GB, free: 11.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.269e-06/0.169, allocations: 0 / 0.6841 GB, free: 11.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003067/0.1693, allocations: 193.4 kB / 0.6843 GB, free: 11.74 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1693, allocations: 8 kB / 0.6843 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.1693, allocations: 4 kB / 0.6843 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.1694, allocations: 7.938 kB / 0.6843 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.1695, allocations: 39.92 kB / 0.6843 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.1695, allocations: 11.98 kB / 0.6843 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.174e-05/0.1696, allocations: 27.69 kB / 0.6844 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.1696, allocations: 12.38 kB / 0.6844 GB, free: 11.63 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.0001327/0.1698, allocations: 222.3 kB / 0.6846 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.165e-05/0.1698, allocations: 112.8 kB / 0.6847 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.799e-05/0.1699, allocations: 108.9 kB / 0.6848 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001633/0.1701, allocations: 188.2 kB / 0.685 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-05/0.1701, allocations: 192.2 kB / 0.6852 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.098e-05/0.1702, allocations: 180.3 kB / 0.6853 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003002/0.1705, allocations: 421.2 kB / 0.6857 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.086e-05/0.1706, allocations: 101 kB / 0.6858 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.785e-05/0.1706, allocations: 105 kB / 0.6859 GB, free: 9.914 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.82e-05/0.1707, allocations: 180.3 kB / 0.6861 GB, free: 9.73 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.369e-05/0.1708, allocations: 184.2 kB / 0.6863 GB, free: 9.543 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.743e-05/0.1708, allocations: 188.1 kB / 0.6865 GB, free: 9.352 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.05e-05/0.1709, allocations: 180.8 kB / 0.6866 GB, free: 9.168 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.171, allocations: 311.7 kB / 0.6869 GB, free: 8.84 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.179e-05/0.1711, allocations: 186 kB / 0.6871 GB, free: 8.633 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.587e-05/0.1712, allocations: 188.5 kB / 0.6873 GB, free: 8.441 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.925e-05/0.1713, allocations: 116.8 kB / 0.6874 GB, free: 8.32 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.296e-05/0.1714, allocations: 184.2 kB / 0.6876 GB, free: 8.133 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.352e-05/0.1714, allocations: 105 kB / 0.6877 GB, free: 8.023 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.282e-05/0.1715, allocations: 111.2 kB / 0.6878 GB, free: 7.914 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1715, allocations: 0 / 0.6878 GB, free: 7.914 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003288/0.1719, allocations: 28 kB / 0.6878 GB, free: 7.887 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.0001848/0.1721, allocations: 198.5 kB / 0.688 GB, free: 7.684 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001466/0.1722, allocations: 72.91 kB / 0.6881 GB, free: 7.613 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1722, allocations: 0 / 0.6881 GB, free: 7.613 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.126e-06/0.1722, allocations: 8.125 kB / 0.6881 GB, free: 7.605 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.1726, allocations: 0.5324 MB / 0.6886 GB, free: 7.07 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000372/0.173, allocations: 238.6 kB / 0.6888 GB, free: 6.812 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.1734, allocations: 0.6971 MB / 0.6895 GB, free: 6.09 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00022/0.1736, allocations: 56.58 kB / 0.6896 GB, free: 6.035 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.575e-05/0.1736, allocations: 15.44 kB / 0.6896 GB, free: 6.023 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1736, allocations: 0 / 0.6896 GB, free: 6.023 MB / 494.1 MB Notification: Performance of Templates: time 0.00439/0.178, allocations: 1.745 MB / 0.6913 GB, free: 4.309 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)