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.1979/0.1998, allocations: 80.85 MB / 0.5899 GB, free: 6.984 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.002021/0.2018, allocations: 0.6306 MB / 0.5905 GB, free: 6.344 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003549/0.2022, allocations: 67.84 kB / 0.5906 GB, free: 6.277 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.099e-05/0.2022, allocations: 0 / 0.5906 GB, free: 6.277 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.41e-05/0.2023, allocations: 4 kB / 0.5906 GB, free: 6.273 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.865e-05/0.2023, allocations: 11.92 kB / 0.5906 GB, free: 6.262 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003326/0.2027, allocations: 35.95 kB / 0.5906 GB, free: 6.227 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.095e-05/0.2028, allocations: 23.98 kB / 0.5906 GB, free: 6.203 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.511e-05/0.2028, allocations: 0 / 0.5906 GB, free: 6.203 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.048e-05/0.2029, allocations: 19.92 kB / 0.5907 GB, free: 6.184 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001981/0.2031, allocations: 75.91 kB / 0.5907 GB, free: 6.109 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.2031, allocations: 0 / 0.5907 GB, free: 6.109 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.604e-05/0.2032, allocations: 39.91 kB / 0.5908 GB, free: 6.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.067e-05/0.2032, allocations: 23.92 kB / 0.5908 GB, free: 6.047 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.265e-05/0.2033, allocations: 19.88 kB / 0.5908 GB, free: 6.027 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001258/0.2034, allocations: 71.77 kB / 0.5909 GB, free: 5.957 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.2034, allocations: 0 / 0.5909 GB, free: 5.957 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2034, allocations: 0 / 0.5909 GB, free: 5.957 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.2034, allocations: 0 / 0.5909 GB, free: 5.957 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.0003383/0.2038, allocations: 359.7 kB / 0.5912 GB, free: 5.559 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.2038, allocations: 8.031 kB / 0.5912 GB, free: 5.551 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.2039, allocations: 12.84 kB / 0.5912 GB, free: 5.539 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.482e-05/0.204, allocations: 168.3 kB / 0.5914 GB, free: 5.336 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.204, allocations: 4.312 kB / 0.5914 GB, free: 5.332 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.204, allocations: 12.3 kB / 0.5914 GB, free: 5.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.2042, allocations: 178.9 kB / 0.5916 GB, free: 5.121 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.2043, allocations: 7.938 kB / 0.5916 GB, free: 5.113 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.2043, allocations: 7.984 kB / 0.5916 GB, free: 5.105 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4e-05/0.2043, allocations: 27.92 kB / 0.5916 GB, free: 5.078 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.153e-05/0.2044, allocations: 35.91 kB / 0.5917 GB, free: 5.043 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000716/0.2051, allocations: 0.9023 MB / 0.5925 GB, free: 4.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.047e-05/0.2052, allocations: 165.1 kB / 0.5927 GB, free: 3.898 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.912e-05/0.2052, allocations: 84.14 kB / 0.5928 GB, free: 3.812 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.2053, allocations: 75.28 kB / 0.5929 GB, free: 3.738 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.132e-05/0.2053, allocations: 117.8 kB / 0.593 GB, free: 3.613 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.2053, allocations: 0 / 0.593 GB, free: 3.613 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 7.286e-05/0.2054, allocations: 37.61 kB / 0.593 GB, free: 3.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001642/0.2056, allocations: 387.7 kB / 0.5934 GB, free: 3.117 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.2057, allocations: 160.2 kB / 0.5935 GB, free: 2.953 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.2057, allocations: 33.7 kB / 0.5936 GB, free: 2.914 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.942e-05/0.2058, allocations: 155 kB / 0.5937 GB, free: 2.758 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.783e-06/0.2059, allocations: 12 kB / 0.5937 GB, free: 2.746 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-05/0.2059, allocations: 49.61 kB / 0.5938 GB, free: 2.691 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.206, allocations: 322.8 kB / 0.5941 GB, free: 2.367 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.893e-05/0.2061, allocations: 23.98 kB / 0.5941 GB, free: 2.344 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/0.2063, allocations: 223.5 kB / 0.5943 GB, free: 2.031 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.2065, allocations: 197.7 kB / 0.5945 GB, free: 1.773 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.2065, allocations: 4 kB / 0.5945 GB, free: 1.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002858/0.2068, allocations: 193.1 kB / 0.5947 GB, free: 1.574 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.2068, allocations: 8.594 kB / 0.5947 GB, free: 1.566 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.2068, allocations: 4 kB / 0.5947 GB, free: 1.562 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.2068, allocations: 12 kB / 0.5947 GB, free: 1.551 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.2069, allocations: 39.92 kB / 0.5948 GB, free: 1.512 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.207, allocations: 7.984 kB / 0.5948 GB, free: 1.504 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.091e-05/0.2071, allocations: 27.75 kB / 0.5948 GB, free: 1.477 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.2071, allocations: 11.94 kB / 0.5948 GB, free: 1.465 MB / 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.0001333/0.2072, allocations: 217.9 kB / 0.595 GB, free: 1.242 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.568e-05/0.2073, allocations: 116.8 kB / 0.5951 GB, free: 1.121 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.745e-05/0.2074, allocations: 116.8 kB / 0.5952 GB, free: 1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.276e-05/0.2075, allocations: 184.2 kB / 0.5954 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.515e-05/0.2075, allocations: 180.3 kB / 0.5956 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.586e-05/0.2076, allocations: 184.2 kB / 0.5957 GB, free: 452 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/0.2079, allocations: 417.2 kB / 0.5961 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.933e-05/0.2079, allocations: 109.1 kB / 0.5963 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.259e-05/0.208, allocations: 116.9 kB / 0.5964 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.759e-05/0.208, allocations: 180.2 kB / 0.5965 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.349e-05/0.2081, allocations: 180.9 kB / 0.5967 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.58e-05/0.2082, allocations: 176.3 kB / 0.5969 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.55e-05/0.2083, allocations: 184.2 kB / 0.5971 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.2084, allocations: 311.8 kB / 0.5973 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.185e-05/0.2085, allocations: 185.9 kB / 0.5975 GB, free: 14.47 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.486e-05/0.2086, allocations: 196.5 kB / 0.5977 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.722e-05/0.2087, allocations: 108.9 kB / 0.5978 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.602e-05/0.2087, allocations: 184.3 kB / 0.598 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.932e-05/0.2088, allocations: 101 kB / 0.5981 GB, free: 13.87 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.55e-05/0.2089, allocations: 117.5 kB / 0.5982 GB, free: 13.75 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2089, allocations: 0 / 0.5982 GB, free: 13.75 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003306/0.2092, allocations: 24 kB / 0.5982 GB, free: 13.73 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.0001782/0.2094, allocations: 194.5 kB / 0.5984 GB, free: 13.53 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001712/0.2096, allocations: 76.09 kB / 0.5985 GB, free: 13.46 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.2096, allocations: 0 / 0.5985 GB, free: 13.46 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.2096, allocations: 4 kB / 0.5985 GB, free: 13.45 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.21, allocations: 468.6 kB / 0.5989 GB, free: 12.99 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003194/0.2103, allocations: 256.6 kB / 0.5992 GB, free: 12.71 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.2106, allocations: 0.689 MB / 0.5999 GB, free: 12 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002143/0.2108, allocations: 52.59 kB / 0.5999 GB, free: 11.95 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.453e-05/0.2108, allocations: 11.44 kB / 0.5999 GB, free: 11.94 MB / 462.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2108, allocations: 4 kB / 0.5999 GB, free: 11.93 MB / 462.1 MB Notification: Performance of Templates: time 0.00449/0.2153, allocations: 1.785 MB / 0.6017 GB, free: 10.19 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (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)