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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.00104, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.00113/0.00113, allocations: 187.4 kB / 16.25 MB, free: 6.145 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.228/1.228, allocations: 205.1 MB / 222.1 MB, free: 4.598 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.499/1.499, allocations: 292.3 MB / 0.5486 GB, free: 13.61 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.001623/0.001623, allocations: 74.28 kB / 0.6711 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1748, allocations: 114.5 MB / 0.783 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.00164/0.1765, allocations: 0.6859 MB / 0.7836 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002518/0.1767, allocations: 67.84 kB / 0.7837 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.676e-05/0.1768, allocations: 0 / 0.7837 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.467e-05/0.1768, allocations: 0 / 0.7837 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.418e-05/0.1768, allocations: 8 kB / 0.7837 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002298/0.1771, allocations: 47.89 kB / 0.7838 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.512e-05/0.1771, allocations: 23.97 kB / 0.7838 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.1772, allocations: 4 kB / 0.7838 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.28e-05/0.1772, allocations: 19.91 kB / 0.7838 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.1774, allocations: 63.94 kB / 0.7839 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.1774, allocations: 4 kB / 0.7839 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.718e-05/0.1775, allocations: 35.95 kB / 0.7839 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.083e-05/0.1775, allocations: 19.92 kB / 0.7839 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.666e-05/0.1776, allocations: 27.86 kB / 0.784 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.1777, allocations: 71.72 kB / 0.784 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1777, allocations: 4 kB / 0.784 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1777, allocations: 0 / 0.784 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.1777, allocations: 0 / 0.784 GB, free: 12.7 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.0002793/0.178, allocations: 359.7 kB / 0.7844 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.178, allocations: 12.03 kB / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.653e-05/0.1781, allocations: 38.73 kB / 0.7844 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.979e-05/0.1781, allocations: 8.844 kB / 0.7844 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.945e-05/0.1782, allocations: 172.3 kB / 0.7846 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.1782, allocations: 4.375 kB / 0.7846 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.1782, allocations: 8.297 kB / 0.7846 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.1784, allocations: 171.3 kB / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-06/0.1784, allocations: 0 / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.1784, allocations: 7.938 kB / 0.7848 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.832e-05/0.1785, allocations: 31.91 kB / 0.7848 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.629e-05/0.1785, allocations: 35.92 kB / 0.7848 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005276/0.1791, allocations: 0.9023 MB / 0.7857 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.204e-05/0.1791, allocations: 173.1 kB / 0.7859 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.379e-05/0.1792, allocations: 84.08 kB / 0.786 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.1792, allocations: 75.28 kB / 0.786 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.1792, allocations: 117.8 kB / 0.7861 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.1792, allocations: 0 / 0.7861 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.818e-05/0.1793, allocations: 37.59 kB / 0.7862 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/0.1794, allocations: 391.7 kB / 0.7866 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.1796, allocations: 165.2 kB / 0.7867 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.1796, allocations: 29.69 kB / 0.7867 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.462e-05/0.1797, allocations: 147.2 kB / 0.7869 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.216e-06/0.1797, allocations: 0 / 0.7869 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.045e-05/0.1797, allocations: 61.61 kB / 0.7869 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.958e-05/0.1798, allocations: 318.8 kB / 0.7872 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.248e-05/0.1798, allocations: 23.98 kB / 0.7873 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.18, allocations: 222.5 kB / 0.7875 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.1802, allocations: 205.7 kB / 0.7877 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1802, allocations: 0 / 0.7877 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002627/0.1804, allocations: 193.1 kB / 0.7879 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.1804, allocations: 8 kB / 0.7879 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.1805, allocations: 4 kB / 0.7879 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.1805, allocations: 16.59 kB / 0.7879 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.1806, allocations: 39.92 kB / 0.7879 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.1806, allocations: 8 kB / 0.7879 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.309e-05/0.1807, allocations: 27.69 kB / 0.788 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.1807, allocations: 12 kB / 0.788 GB, free: 8.16 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 0.0001002/0.1808, allocations: 220.9 kB / 0.7882 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.441e-05/0.1809, allocations: 105 kB / 0.7883 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.352e-05/0.1809, allocations: 120.8 kB / 0.7884 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.357e-05/0.181, allocations: 184.2 kB / 0.7886 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.375e-05/0.181, allocations: 184.3 kB / 0.7888 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.58e-05/0.1811, allocations: 180.2 kB / 0.7889 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.1813, allocations: 421.2 kB / 0.7893 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.769e-05/0.1813, allocations: 105 kB / 0.7894 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.468e-05/0.1813, allocations: 104.9 kB / 0.7895 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.944e-05/0.1814, allocations: 181.3 kB / 0.7897 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.728e-05/0.1814, allocations: 188.1 kB / 0.7899 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.44e-05/0.1815, allocations: 184.2 kB / 0.7901 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.312e-05/0.1815, allocations: 180.3 kB / 0.7902 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.1816, allocations: 315.6 kB / 0.7905 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.042e-05/0.1817, allocations: 197.9 kB / 0.7907 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.957e-05/0.1818, allocations: 180.5 kB / 0.7909 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.522e-05/0.1818, allocations: 105 kB / 0.791 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.1819, allocations: 180.2 kB / 0.7912 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/0.1819, allocations: 113 kB / 0.7913 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.276e-05/0.182, allocations: 118.4 kB / 0.7914 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.182, allocations: 0 / 0.7914 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002801/0.1823, allocations: 32 kB / 0.7914 GB, free: 4.414 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.000348/0.1826, allocations: 0.8359 MB / 0.7922 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001181/0.1828, allocations: 67.78 kB / 0.7923 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1828, allocations: 4 kB / 0.7923 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/0.1828, allocations: 1.312 kB / 0.7923 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.1831, allocations: 471.6 kB / 0.7927 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004072/0.1835, allocations: 294.4 kB / 0.793 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/0.1837, allocations: 0.689 MB / 0.7937 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000176/0.1839, allocations: 60.38 kB / 0.7938 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.558e-05/0.1839, allocations: 23.44 kB / 0.7938 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of SimCode: time 3.2e-07/0.1839, allocations: 0 / 0.7938 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9291/1.113, allocations: 2.943 MB / 0.7967 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002129/1.113, allocations: 216.5 kB / 0.7969 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.716/2.829, allocations: 0 / 0.7969 GB, free: 14.83 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_IsMonotonic.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)