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.606/1.606, allocations: 288.4 MB / 303.3 MB, free: 8.199 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.001032/0.001033, allocations: 195 kB / 372 MB, free: 10.25 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.423/1.423, allocations: 205.4 MB / 0.6307 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.0007277/0.0007276, allocations: 94.84 kB / 0.7441 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003776/0.0003776, allocations: 13.59 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1925, allocations: 115.3 MB / 0.9797 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0005807/0.1931, allocations: 335.8 kB / 0.98 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002439/0.1934, allocations: 63.88 kB / 0.98 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.059e-05/0.1934, allocations: 0 / 0.98 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.285e-05/0.1935, allocations: 0 / 0.98 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.631e-05/0.1935, allocations: 15.92 kB / 0.9801 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.1938, allocations: 31.97 kB / 0.9801 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.945e-05/0.1938, allocations: 27.95 kB / 0.9801 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.338e-05/0.1939, allocations: 0 / 0.9801 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.196e-05/0.1939, allocations: 19.92 kB / 0.9801 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.1941, allocations: 71.92 kB / 0.9802 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.1941, allocations: 0 / 0.9802 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.179e-05/0.1942, allocations: 35.95 kB / 0.9802 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.667e-05/0.1942, allocations: 15.94 kB / 0.9802 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.151e-05/0.1942, allocations: 33.7 kB / 0.9803 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.776e-05/0.1943, allocations: 51.86 kB / 0.9803 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1943, allocations: 0 / 0.9803 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1943, allocations: 0 / 0.9803 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.1943, allocations: 0 / 0.9803 GB, free: 26.84 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.0002148/0.1946, allocations: 349.1 kB / 0.9807 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.1946, allocations: 12.02 kB / 0.9807 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.147e-05/0.1946, allocations: 42.55 kB / 0.9807 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.799e-05/0.1947, allocations: 11.84 kB / 0.9807 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.347e-05/0.1947, allocations: 171 kB / 0.9809 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.1947, allocations: 4 kB / 0.9809 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.1948, allocations: 3.984 kB / 0.9809 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.195, allocations: 175.3 kB / 0.9811 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.195, allocations: 0 / 0.9811 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.195, allocations: 11.92 kB / 0.9811 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.719e-05/0.195, allocations: 27.92 kB / 0.9811 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.672e-05/0.1951, allocations: 35.91 kB / 0.9811 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004381/0.1955, allocations: 0.9024 MB / 0.982 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.95e-05/0.1956, allocations: 169.1 kB / 0.9822 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.45e-05/0.1956, allocations: 80.14 kB / 0.9823 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.1956, allocations: 75.28 kB / 0.9823 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.1957, allocations: 117.8 kB / 0.9824 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/0.1957, allocations: 4 kB / 0.9824 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.027e-05/0.1958, allocations: 33.61 kB / 0.9825 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.589e-05/0.1958, allocations: 387.7 kB / 0.9828 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.196, allocations: 169 kB / 0.983 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.196, allocations: 25.7 kB / 0.983 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.774e-05/0.196, allocations: 155.3 kB / 0.9832 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.968e-06/0.196, allocations: 4 kB / 0.9832 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-06/0.1961, allocations: 0 / 0.9832 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.098e-05/0.1961, allocations: 326.8 kB / 0.9835 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.233e-05/0.1961, allocations: 28.34 kB / 0.9835 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.679e-05/0.1962, allocations: 215.3 kB / 0.9837 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.377e-05/0.1963, allocations: 67.84 kB / 0.9838 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1963, allocations: 4 kB / 0.9838 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002331/0.1966, allocations: 189.1 kB / 0.984 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1966, allocations: 8 kB / 0.984 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1966, allocations: 4 kB / 0.984 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.1966, allocations: 8.656 kB / 0.984 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.1967, allocations: 35.92 kB / 0.984 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.1968, allocations: 12 kB / 0.984 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.625e-05/0.1969, allocations: 31.69 kB / 0.9841 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.1969, allocations: 8 kB / 0.9841 GB, free: 22.57 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 8.378e-05/0.197, allocations: 226.6 kB / 0.9843 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.57e-05/0.197, allocations: 112.8 kB / 0.9844 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.821e-05/0.197, allocations: 112.8 kB / 0.9845 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-05/0.1971, allocations: 185.1 kB / 0.9847 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.281e-05/0.1971, allocations: 188.3 kB / 0.9849 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.276e-05/0.1971, allocations: 180.2 kB / 0.985 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.1973, allocations: 429.1 kB / 0.9854 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/0.1973, allocations: 105 kB / 0.9855 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.455e-05/0.1973, allocations: 104.9 kB / 0.9856 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.167e-05/0.1974, allocations: 180.3 kB / 0.9858 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/0.1974, allocations: 188.4 kB / 0.986 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.914e-05/0.1974, allocations: 180.3 kB / 0.9862 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.409e-05/0.1974, allocations: 176.4 kB / 0.9863 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.776e-05/0.1975, allocations: 315.7 kB / 0.9866 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.394e-05/0.1976, allocations: 197.9 kB / 0.9868 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.032e-05/0.1976, allocations: 184.3 kB / 0.987 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.086e-05/0.1977, allocations: 101 kB / 0.9871 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.292e-05/0.1977, allocations: 184.2 kB / 0.9873 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.1978, allocations: 101 kB / 0.9874 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.205e-05/0.1978, allocations: 122.8 kB / 0.9875 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1978, allocations: 0 / 0.9875 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002765/0.1981, allocations: 32 kB / 0.9875 GB, free: 18.83 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.000281/0.1984, allocations: 0.8281 MB / 0.9883 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001218/0.1985, allocations: 75.78 kB / 0.9884 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1985, allocations: 0 / 0.9884 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.826e-06/0.1985, allocations: 4 kB / 0.9884 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.1988, allocations: 0.5315 MB / 0.9889 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004073/0.1992, allocations: 290.4 kB / 0.9892 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.1993, allocations: 0.6971 MB / 0.9899 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001845/0.1995, allocations: 52.59 kB / 0.9899 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.702e-05/0.1996, allocations: 27.42 kB / 0.99 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of SimCode: time 3.4e-07/0.1996, allocations: 0 / 0.99 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01285/0.2124, allocations: 2.776 MB / 0.9927 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001315/0.2126, allocations: 210.2 kB / 0.9929 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.511/1.723, allocations: 0 / 0.9929 GB, free: 13.4 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)