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.001294/0.001294, 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.001063/0.001063, allocations: 191 kB / 16.14 MB, free: 6.707 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.221/1.221, allocations: 205.1 MB / 222 MB, free: 4.754 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.533/1.533, allocations: 292.3 MB / 0.5484 GB, free: 13.67 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.001859/0.001859, allocations: 67.28 kB / 0.6709 GB, free: 26.61 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1904, allocations: 114.5 MB / 0.7828 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001442/0.1919, allocations: 0.6697 MB / 0.7835 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002187/0.1921, allocations: 75.78 kB / 0.7835 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.969e-06/0.1922, allocations: 4 kB / 0.7835 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.548e-05/0.1922, allocations: 0 / 0.7835 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.723e-05/0.1922, allocations: 11.92 kB / 0.7835 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001338/0.1924, allocations: 31.95 kB / 0.7836 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.582e-05/0.1924, allocations: 27.92 kB / 0.7836 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 1.992e-05/0.1924, allocations: 3.984 kB / 0.7836 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.52e-05/0.1924, allocations: 15.98 kB / 0.7836 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.1926, allocations: 63.92 kB / 0.7837 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.069e-05/0.1926, allocations: 11.94 kB / 0.7837 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.079e-05/0.1927, allocations: 31.97 kB / 0.7837 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.804e-05/0.1927, allocations: 23.91 kB / 0.7837 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.777e-05/0.1928, allocations: 19.88 kB / 0.7838 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.285e-05/0.1929, allocations: 67.78 kB / 0.7838 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.1929, allocations: 0 / 0.7838 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.31e-07/0.1929, allocations: 0 / 0.7838 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.933e-06/0.1929, allocations: 4 kB / 0.7838 GB, free: 12.84 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.0002189/0.1931, allocations: 359.7 kB / 0.7842 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.353e-05/0.1931, allocations: 12.03 kB / 0.7842 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.845e-05/0.1932, allocations: 42.75 kB / 0.7842 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.357e-05/0.1932, allocations: 8.844 kB / 0.7842 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.22e-05/0.1933, allocations: 176.2 kB / 0.7844 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.729e-06/0.1933, allocations: 384 / 0.7844 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.107e-06/0.1933, allocations: 4.375 kB / 0.7844 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.1934, allocations: 179.2 kB / 0.7846 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.457e-06/0.1935, allocations: 4 kB / 0.7846 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.1935, allocations: 0 / 0.7846 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.147e-05/0.1935, allocations: 23.97 kB / 0.7846 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.424e-05/0.1936, allocations: 43.89 kB / 0.7846 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004935/0.1941, allocations: 0.9023 MB / 0.7855 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.512e-05/0.1941, allocations: 173.1 kB / 0.7857 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.436e-05/0.1942, allocations: 88.12 kB / 0.7858 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.1942, allocations: 79.28 kB / 0.7859 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.1942, allocations: 113.8 kB / 0.786 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.1942, allocations: 0 / 0.786 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 5.499e-05/0.1943, allocations: 33.61 kB / 0.786 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.1944, allocations: 387.7 kB / 0.7864 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.1945, allocations: 167.3 kB / 0.7865 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.1946, allocations: 25.7 kB / 0.7865 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.448e-05/0.1946, allocations: 159 kB / 0.7867 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.191e-06/0.1946, allocations: 7.984 kB / 0.7867 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.05e-05/0.1947, allocations: 53.61 kB / 0.7868 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.853e-05/0.1948, allocations: 318.8 kB / 0.7871 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.884e-05/0.1948, allocations: 27.97 kB / 0.7871 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.195, allocations: 226.3 kB / 0.7873 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.1951, allocations: 193.8 kB / 0.7875 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1951, allocations: 0 / 0.7875 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002358/0.1954, allocations: 193.7 kB / 0.7877 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.1954, allocations: 8.938 kB / 0.7877 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.1954, allocations: 8.031 kB / 0.7877 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.1954, allocations: 7.938 kB / 0.7877 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.1955, allocations: 43.92 kB / 0.7877 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.1955, allocations: 7.938 kB / 0.7877 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.948e-05/0.1956, allocations: 31.69 kB / 0.7878 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.1957, allocations: 12 kB / 0.7878 GB, free: 8.289 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 9.528e-05/0.1958, allocations: 209 kB / 0.788 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.83e-05/0.1958, allocations: 113 kB / 0.7881 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.993e-05/0.1959, allocations: 128.7 kB / 0.7882 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.377e-05/0.1959, allocations: 176.3 kB / 0.7884 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.633e-05/0.196, allocations: 184.2 kB / 0.7886 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.635e-05/0.196, allocations: 188.2 kB / 0.7887 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.1962, allocations: 409.2 kB / 0.7891 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-05/0.1962, allocations: 112.9 kB / 0.7892 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.492e-05/0.1963, allocations: 105 kB / 0.7893 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.551e-05/0.1963, allocations: 185.2 kB / 0.7895 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.658e-05/0.1964, allocations: 180.2 kB / 0.7897 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.414e-05/0.1964, allocations: 180.3 kB / 0.7899 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.103e-05/0.1965, allocations: 180.2 kB / 0.79 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.1966, allocations: 319.7 kB / 0.7903 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.679e-05/0.1966, allocations: 186 kB / 0.7905 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.9e-05/0.1967, allocations: 180.2 kB / 0.7907 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.369e-05/0.1968, allocations: 113.2 kB / 0.7908 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.926e-05/0.1968, allocations: 180.3 kB / 0.791 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.73e-05/0.1969, allocations: 112.9 kB / 0.7911 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.241e-05/0.1969, allocations: 115.2 kB / 0.7912 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1969, allocations: 0 / 0.7912 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002811/0.1972, allocations: 28 kB / 0.7912 GB, free: 4.555 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.0003386/0.1976, allocations: 0.8282 MB / 0.792 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001143/0.1977, allocations: 77.06 kB / 0.7921 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1977, allocations: 3.938 kB / 0.7921 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.382e-06/0.1977, allocations: 4 kB / 0.7921 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.198, allocations: 0.5381 MB / 0.7926 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003857/0.1984, allocations: 288.1 kB / 0.7929 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001872/0.1986, allocations: 0.6971 MB / 0.7936 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001673/0.1988, allocations: 64.36 kB / 0.7936 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.457e-05/0.1988, allocations: 23.36 kB / 0.7937 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.1988, allocations: 0 / 0.7937 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.412/1.611, allocations: 2.873 MB / 0.7965 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001858/1.611, allocations: 210 kB / 0.7967 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.576/3.187, allocations: 0 / 0.7967 GB, free: 14.94 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)