Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.404/1.404, allocations: 252 MB / 267.6 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 188.8 kB / 327.3 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.746/1.746, allocations: 205.4 MB / 0.5783 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007444/0.0007444, allocations: 88.06 kB / 0.6829 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003317/0.0003316, allocations: 15.12 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2002, allocations: 106.3 MB / 0.9008 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0006351/0.2009, allocations: 338.3 kB / 0.9012 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002861/0.2012, allocations: 67.88 kB / 0.9012 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.918e-05/0.2012, allocations: 3.938 kB / 0.9012 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.852e-05/0.2013, allocations: 0 / 0.9012 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.738e-05/0.2013, allocations: 11.98 kB / 0.9012 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002572/0.2016, allocations: 39.89 kB / 0.9013 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.257e-05/0.2017, allocations: 23.97 kB / 0.9013 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.676e-05/0.2017, allocations: 9.234 kB / 0.9013 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.139e-05/0.2018, allocations: 19.92 kB / 0.9013 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.2019, allocations: 71.94 kB / 0.9014 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.202, allocations: 3.984 kB / 0.9014 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.373e-05/0.2021, allocations: 35.95 kB / 0.9014 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.076e-05/0.2021, allocations: 15.94 kB / 0.9014 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.421e-05/0.2021, allocations: 29.7 kB / 0.9015 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.923e-05/0.2022, allocations: 47.92 kB / 0.9015 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.2022, allocations: 0 / 0.9015 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2023, allocations: 0 / 0.9015 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.2023, allocations: 0 / 0.9015 GB, free: 63.24 MB / 0.6042 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.0002448/0.2025, allocations: 347.3 kB / 0.9019 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.2026, allocations: 11.97 kB / 0.9019 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.399e-05/0.2026, allocations: 11.91 kB / 0.9019 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.177e-05/0.2027, allocations: 171.2 kB / 0.902 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.2027, allocations: 8 kB / 0.902 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-06/0.2027, allocations: 0 / 0.902 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.2029, allocations: 175.3 kB / 0.9022 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.2029, allocations: 0 / 0.9022 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.2029, allocations: 0 / 0.9022 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-05/0.203, allocations: 31.91 kB / 0.9022 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.495e-05/0.203, allocations: 39.91 kB / 0.9023 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004458/0.2035, allocations: 0.9022 MB / 0.9032 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.402e-05/0.2036, allocations: 177.1 kB / 0.9033 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.653e-05/0.2036, allocations: 80.14 kB / 0.9034 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.2036, allocations: 75.28 kB / 0.9035 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.2036, allocations: 109.8 kB / 0.9036 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.2036, allocations: 0 / 0.9036 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 7.134e-05/0.2037, allocations: 41.67 kB / 0.9036 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.156e-05/0.2038, allocations: 395.7 kB / 0.904 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.2039, allocations: 166.8 kB / 0.9042 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.2039, allocations: 29.7 kB / 0.9042 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.131e-05/0.204, allocations: 147.2 kB / 0.9043 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.807e-06/0.204, allocations: 4 kB / 0.9043 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.204, allocations: 4 kB / 0.9043 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.587e-05/0.2041, allocations: 322.8 kB / 0.9046 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.368e-05/0.2041, allocations: 32.34 kB / 0.9047 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.2042, allocations: 218.9 kB / 0.9049 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.493e-05/0.2043, allocations: 59.91 kB / 0.9049 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.2043, allocations: 0 / 0.9049 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000243/0.2046, allocations: 193.2 kB / 0.9051 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.2046, allocations: 4 kB / 0.9051 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.2046, allocations: 8 kB / 0.9051 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.2046, allocations: 4 kB / 0.9051 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.2047, allocations: 39.92 kB / 0.9052 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.2047, allocations: 8.547 kB / 0.9052 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.547e-05/0.2048, allocations: 31.75 kB / 0.9052 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.2049, allocations: 16 kB / 0.9052 GB, free: 59.02 MB / 0.6042 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.924e-05/0.2049, allocations: 212.9 kB / 0.9054 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.65e-05/0.205, allocations: 116.8 kB / 0.9055 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.804e-05/0.205, allocations: 112.9 kB / 0.9057 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.517e-05/0.2051, allocations: 180.2 kB / 0.9058 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.838e-05/0.2051, allocations: 184.3 kB / 0.906 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-05/0.2051, allocations: 184.2 kB / 0.9062 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.2053, allocations: 421.1 kB / 0.9066 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-05/0.2053, allocations: 109 kB / 0.9067 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.488e-05/0.2053, allocations: 101 kB / 0.9068 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.41e-05/0.2054, allocations: 180.2 kB / 0.907 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.354e-05/0.2054, allocations: 188.3 kB / 0.9071 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.64e-05/0.2054, allocations: 184.4 kB / 0.9073 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-05/0.2055, allocations: 184.3 kB / 0.9075 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.292e-05/0.2055, allocations: 315.6 kB / 0.9078 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.511e-05/0.2056, allocations: 186 kB / 0.908 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.465e-05/0.2056, allocations: 188.2 kB / 0.9081 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.517e-05/0.2057, allocations: 109 kB / 0.9082 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.149e-05/0.2058, allocations: 188.1 kB / 0.9084 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.2058, allocations: 101 kB / 0.9085 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.286e-05/0.2058, allocations: 115.8 kB / 0.9086 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2058, allocations: 4 kB / 0.9086 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002885/0.2061, allocations: 24 kB / 0.9087 GB, free: 55.28 MB / 0.6042 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.0001539/0.2063, allocations: 186.5 kB / 0.9088 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001323/0.2064, allocations: 73.03 kB / 0.9089 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.2064, allocations: 4.062 kB / 0.9089 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.054e-06/0.2065, allocations: 3.938 kB / 0.9089 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.2067, allocations: 0.534 MB / 0.9094 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000224/0.207, allocations: 268.2 kB / 0.9097 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.2071, allocations: 0.6971 MB / 0.9104 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.517e-05/0.2071, allocations: 15.44 kB / 0.9104 GB, free: 53.44 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2071, allocations: 0 / 0.9104 GB, free: 53.44 MB / 0.6042 GB Notification: Performance of Templates: time 0.0027/0.2098, allocations: 1.695 MB / 0.912 GB, free: 51.77 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)