Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1914/0.1921, allocations: 82.23 MB / 0.5941 GB, free: 5.559 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0008895/0.193, allocations: 306.8 kB / 0.5944 GB, free: 5.258 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003519/0.1934, allocations: 67.84 kB / 0.5945 GB, free: 5.191 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.85e-05/0.1934, allocations: 0 / 0.5945 GB, free: 5.191 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.918e-05/0.1935, allocations: 4 kB / 0.5945 GB, free: 5.188 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.762e-05/0.1935, allocations: 3.938 kB / 0.5945 GB, free: 5.184 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002891/0.1938, allocations: 43.95 kB / 0.5945 GB, free: 5.141 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.229e-05/0.1939, allocations: 23.97 kB / 0.5946 GB, free: 5.117 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.786e-05/0.194, allocations: 4 kB / 0.5946 GB, free: 5.113 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.199e-05/0.194, allocations: 19.91 kB / 0.5946 GB, free: 5.094 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002276/0.1943, allocations: 59.94 kB / 0.5946 GB, free: 5.035 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.1943, allocations: 4 kB / 0.5946 GB, free: 5.031 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.1944, allocations: 43.89 kB / 0.5947 GB, free: 4.988 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.138e-05/0.1945, allocations: 19.91 kB / 0.5947 GB, free: 4.969 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.232e-05/0.1945, allocations: 45.58 kB / 0.5947 GB, free: 4.918 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.1947, allocations: 63.8 kB / 0.5948 GB, free: 4.855 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1947, allocations: 4 kB / 0.5948 GB, free: 4.852 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1947, allocations: 0 / 0.5948 GB, free: 4.852 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.1947, allocations: 0 / 0.5948 GB, free: 4.852 MB / 446.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.0003897/0.1951, allocations: 355.7 kB / 0.5951 GB, free: 4.457 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.1952, allocations: 8.031 kB / 0.5952 GB, free: 4.449 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.33e-05/0.1952, allocations: 8.844 kB / 0.5952 GB, free: 4.441 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.1953, allocations: 172.3 kB / 0.5953 GB, free: 4.234 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.1954, allocations: 384 / 0.5953 GB, free: 4.234 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.1954, allocations: 4.359 kB / 0.5953 GB, free: 4.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002704/0.1957, allocations: 178.9 kB / 0.5955 GB, free: 4.031 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1957, allocations: 3.938 kB / 0.5955 GB, free: 4.027 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.1957, allocations: 11.92 kB / 0.5955 GB, free: 4.016 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.39e-05/0.1957, allocations: 19.98 kB / 0.5955 GB, free: 3.996 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.928e-05/0.1958, allocations: 35.91 kB / 0.5956 GB, free: 3.961 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007503/0.1966, allocations: 0.9101 MB / 0.5965 GB, free: 2.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.717e-05/0.1967, allocations: 169.1 kB / 0.5966 GB, free: 2.805 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.927e-05/0.1967, allocations: 80.14 kB / 0.5967 GB, free: 2.723 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.405e-05/0.1968, allocations: 75.28 kB / 0.5968 GB, free: 2.648 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.562e-05/0.1969, allocations: 113.8 kB / 0.5969 GB, free: 2.527 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.1969, allocations: 0 / 0.5969 GB, free: 2.527 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 8.525e-05/0.1969, allocations: 37.61 kB / 0.5969 GB, free: 2.484 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001899/0.1971, allocations: 395.7 kB / 0.5973 GB, free: 2.023 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.1973, allocations: 160.3 kB / 0.5974 GB, free: 1.859 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.1973, allocations: 29.7 kB / 0.5975 GB, free: 1.824 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.884e-05/0.1974, allocations: 159 kB / 0.5976 GB, free: 1.664 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.827e-06/0.1974, allocations: 0 / 0.5976 GB, free: 1.664 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-05/0.1975, allocations: 29.7 kB / 0.5976 GB, free: 1.629 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.1976, allocations: 314.8 kB / 0.5979 GB, free: 1.312 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.268e-05/0.1977, allocations: 27.97 kB / 0.598 GB, free: 1.285 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.1978, allocations: 222.5 kB / 0.5982 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/0.198, allocations: 201.7 kB / 0.5984 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.1981, allocations: 0 / 0.5984 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003136/0.1984, allocations: 193.4 kB / 0.5986 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.1984, allocations: 8 kB / 0.5986 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.1984, allocations: 11.92 kB / 0.5986 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.1984, allocations: 4 kB / 0.5986 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.1986, allocations: 39.92 kB / 0.5986 GB, free: 464 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.1986, allocations: 11.94 kB / 0.5986 GB, free: 452 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.636e-05/0.1987, allocations: 23.75 kB / 0.5987 GB, free: 428 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.1987, allocations: 12.38 kB / 0.5987 GB, free: 416 kB / 446.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.0001251/0.1989, allocations: 217.9 kB / 0.5989 GB, free: 188 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.958e-05/0.1989, allocations: 116.9 kB / 0.599 GB, free: 64 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.719e-05/0.199, allocations: 116.8 kB / 0.5991 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.059e-05/0.1991, allocations: 180.3 kB / 0.5993 GB, free: 15.76 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-05/0.1992, allocations: 184.2 kB / 0.5994 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.715e-05/0.1992, allocations: 192.2 kB / 0.5996 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002497/0.1995, allocations: 413.2 kB / 0.6 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-05/0.1995, allocations: 108.9 kB / 0.6001 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.058e-05/0.1996, allocations: 104.9 kB / 0.6002 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.817e-05/0.1997, allocations: 180.2 kB / 0.6004 GB, free: 14.51 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.428e-05/0.1997, allocations: 188.1 kB / 0.6006 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.956e-05/0.1998, allocations: 185 kB / 0.6008 GB, free: 14.13 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.43e-05/0.1999, allocations: 184.2 kB / 0.6009 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.2, allocations: 311.7 kB / 0.6012 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.851e-05/0.2001, allocations: 186 kB / 0.6014 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.726e-05/0.2002, allocations: 188.5 kB / 0.6016 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.195e-05/0.2003, allocations: 108.9 kB / 0.6017 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.327e-05/0.2004, allocations: 180.3 kB / 0.6019 GB, free: 12.92 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-05/0.2004, allocations: 113 kB / 0.602 GB, free: 12.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.774e-05/0.2005, allocations: 113.7 kB / 0.6021 GB, free: 12.69 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2005, allocations: 3.938 kB / 0.6021 GB, free: 12.69 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003291/0.2008, allocations: 28 kB / 0.6021 GB, free: 12.66 MB / 462.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.0001804/0.201, allocations: 182.5 kB / 0.6023 GB, free: 12.47 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001483/0.2012, allocations: 72.91 kB / 0.6024 GB, free: 12.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.2012, allocations: 0 / 0.6024 GB, free: 12.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.765e-06/0.2012, allocations: 192 / 0.6024 GB, free: 12.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.2016, allocations: 0.5419 MB / 0.6029 GB, free: 11.86 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002879/0.2019, allocations: 242.5 kB / 0.6031 GB, free: 11.59 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.2021, allocations: 0.6971 MB / 0.6038 GB, free: 10.87 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002031/0.2024, allocations: 48.61 kB / 0.6038 GB, free: 10.82 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.09e-05/0.2024, allocations: 15.44 kB / 0.6039 GB, free: 10.8 MB / 462.1 MB Notification: Performance of SimCode: time 2.655e-06/0.2024, allocations: 0 / 0.6039 GB, free: 10.8 MB / 462.1 MB Notification: Performance of Templates: time 0.004479/0.2069, allocations: 1.746 MB / 0.6056 GB, free: 9.098 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) Environment - environmentSimulation: