Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.714/1.714, allocations: 288.2 MB / 303.2 MB, free: 8.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001183/0.001183, allocations: 187.7 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.419/1.419, allocations: 205.4 MB / 0.6305 GB, free: 9.984 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008479/0.0008479, allocations: 94.86 kB / 0.7439 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003854/0.0003854, allocations: 12.88 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.197, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0005971/0.1976, allocations: 338 kB / 0.9798 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000232/0.1979, allocations: 65.59 kB / 0.9799 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.653e-05/0.1979, allocations: 0 / 0.9799 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.748e-05/0.198, allocations: 0 / 0.9799 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.835e-05/0.198, allocations: 11.97 kB / 0.9799 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.1982, allocations: 31.97 kB / 0.9799 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.568e-05/0.1983, allocations: 27.91 kB / 0.9799 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.725e-05/0.1983, allocations: 0 / 0.9799 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.178e-05/0.1983, allocations: 23.97 kB / 0.98 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.1985, allocations: 63.94 kB / 0.98 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.006e-05/0.1985, allocations: 0 / 0.98 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.677e-05/0.1986, allocations: 39.89 kB / 0.9801 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.534e-05/0.1986, allocations: 15.98 kB / 0.9801 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.085e-05/0.1987, allocations: 33.64 kB / 0.9801 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.224e-05/0.1987, allocations: 43.94 kB / 0.9802 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.1988, allocations: 3.938 kB / 0.9802 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1988, allocations: 0 / 0.9802 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.1988, allocations: 4 kB / 0.9802 GB, free: 26.89 MB / 0.6198 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.0002598/0.199, allocations: 351.5 kB / 0.9805 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.1991, allocations: 12.02 kB / 0.9805 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.079e-05/0.1991, allocations: 38.55 kB / 0.9805 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.922e-05/0.1991, allocations: 7.906 kB / 0.9806 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.948e-05/0.1992, allocations: 170.9 kB / 0.9807 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.1992, allocations: 8 kB / 0.9807 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.1992, allocations: 0 / 0.9807 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.1994, allocations: 177 kB / 0.9809 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.1994, allocations: 3.938 kB / 0.9809 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.1995, allocations: 0 / 0.9809 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.976e-05/0.1995, allocations: 27.92 kB / 0.9809 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.962e-05/0.1996, allocations: 35.91 kB / 0.981 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005049/0.2001, allocations: 0.9024 MB / 0.9818 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.798e-05/0.2002, allocations: 177.1 kB / 0.982 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.2002, allocations: 75.28 kB / 0.9821 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.2002, allocations: 109.8 kB / 0.9822 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.2002, allocations: 0 / 0.9822 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.791e-05/0.2003, allocations: 37.61 kB / 0.9822 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.551e-05/0.2004, allocations: 391.7 kB / 0.9826 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.2005, allocations: 168.8 kB / 0.9828 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.2005, allocations: 29.7 kB / 0.9828 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.693e-05/0.2006, allocations: 147.3 kB / 0.9829 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.028e-06/0.2006, allocations: 0 / 0.9829 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/0.2006, allocations: 8 kB / 0.9829 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.793e-05/0.2007, allocations: 318.8 kB / 0.9832 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.578e-05/0.2007, allocations: 24.36 kB / 0.9833 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.2008, allocations: 227.3 kB / 0.9835 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.336e-05/0.2009, allocations: 63.84 kB / 0.9835 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.2009, allocations: 4 kB / 0.9835 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002616/0.2012, allocations: 189.5 kB / 0.9837 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.2012, allocations: 8 kB / 0.9837 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.2012, allocations: 4 kB / 0.9837 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.2013, allocations: 11.94 kB / 0.9837 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.2014, allocations: 39.92 kB / 0.9838 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.445e-06/0.2014, allocations: 4 kB / 0.9838 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.216e-05/0.2015, allocations: 31.69 kB / 0.9838 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.2015, allocations: 12 kB / 0.9838 GB, free: 22.71 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.068e-05/0.2016, allocations: 225.1 kB / 0.984 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.692e-05/0.2017, allocations: 108.9 kB / 0.9841 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.981e-05/0.2017, allocations: 117.8 kB / 0.9843 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.303e-05/0.2017, allocations: 184.2 kB / 0.9844 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.783e-05/0.2018, allocations: 180.3 kB / 0.9846 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.563e-05/0.2018, allocations: 184.2 kB / 0.9848 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.202, allocations: 425.2 kB / 0.9852 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.558e-05/0.202, allocations: 101 kB / 0.9853 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.598e-05/0.202, allocations: 104.9 kB / 0.9854 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.716e-05/0.202, allocations: 180.3 kB / 0.9856 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.047e-05/0.2021, allocations: 192.3 kB / 0.9857 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-05/0.2021, allocations: 184.3 kB / 0.9859 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.56e-05/0.2021, allocations: 180.3 kB / 0.9861 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.238e-05/0.2022, allocations: 307.8 kB / 0.9864 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.228e-05/0.2023, allocations: 198 kB / 0.9866 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.465e-05/0.2023, allocations: 188.2 kB / 0.9867 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.341e-05/0.2024, allocations: 105 kB / 0.9868 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.2024, allocations: 184.2 kB / 0.987 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.2025, allocations: 105 kB / 0.9871 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.521e-05/0.2025, allocations: 114.6 kB / 0.9872 GB, free: 19 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2025, allocations: 0 / 0.9872 GB, free: 19 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003598/0.2029, allocations: 28 kB / 0.9873 GB, free: 18.98 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003085/0.2032, allocations: 0.8359 MB / 0.9881 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001243/0.2033, allocations: 73.03 kB / 0.9881 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2034, allocations: 4 kB / 0.9881 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.704e-06/0.2034, allocations: 0 / 0.9881 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/0.2036, allocations: 0.5293 MB / 0.9887 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003971/0.204, allocations: 292.2 kB / 0.9889 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.2041, allocations: 0.6932 MB / 0.9896 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001822/0.2043, allocations: 56.59 kB / 0.9897 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.836e-05/0.2043, allocations: 23.44 kB / 0.9897 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.2043, allocations: 0 / 0.9897 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01245/0.2168, allocations: 2.753 MB / 0.9924 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001328/0.2169, allocations: 215.4 kB / 0.9926 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.464/1.681, allocations: 0 / 0.9926 GB, free: 13.56 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_IsMonotonic.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)