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: translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 101.5 kB / 16.29 MB, free: 6.008 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.001093/0.001093, allocations: 180.8 kB / 17.22 MB, free: 5.617 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.216/1.216, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.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.604/1.604, allocations: 292.3 MB / 0.5495 GB, free: 17.48 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.001286/0.001287, allocations: 71.91 kB / 0.6722 GB, free: 6.566 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1986, allocations: 114.6 MB / 0.7841 GB, free: 3.898 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001576/0.2002, allocations: 0.6058 MB / 0.7847 GB, free: 3.281 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003128/0.2005, allocations: 67.84 kB / 0.7847 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.041e-05/0.2006, allocations: 4 kB / 0.7847 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.101e-05/0.2006, allocations: 3.938 kB / 0.7847 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.301e-05/0.2007, allocations: 7.984 kB / 0.7847 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.201, allocations: 43.89 kB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.515e-05/0.201, allocations: 27.95 kB / 0.7848 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.45e-05/0.2011, allocations: 4 kB / 0.7848 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.34e-05/0.2011, allocations: 11.94 kB / 0.7848 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.2013, allocations: 63.92 kB / 0.7849 GB, free: 3.051 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.2013, allocations: 8 kB / 0.7849 GB, free: 3.043 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.282e-05/0.2014, allocations: 35.95 kB / 0.7849 GB, free: 3.008 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.514e-05/0.2015, allocations: 19.94 kB / 0.785 GB, free: 2.988 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.121e-05/0.2015, allocations: 23.88 kB / 0.785 GB, free: 2.965 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.2016, allocations: 63.78 kB / 0.785 GB, free: 2.902 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.2016, allocations: 3.938 kB / 0.785 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2017, allocations: 0 / 0.785 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.2017, allocations: 4 kB / 0.785 GB, free: 2.895 MB / 0.6544 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.0003536/0.202, allocations: 363.7 kB / 0.7854 GB, free: 2.488 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.2021, allocations: 16.03 kB / 0.7854 GB, free: 2.473 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.909e-05/0.2021, allocations: 8.844 kB / 0.7854 GB, free: 2.465 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.838e-05/0.2022, allocations: 164.3 kB / 0.7856 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.2022, allocations: 384 / 0.7856 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.2022, allocations: 4.375 kB / 0.7856 GB, free: 2.262 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.2025, allocations: 183.4 kB / 0.7858 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.2025, allocations: 4 kB / 0.7858 GB, free: 2.055 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.2025, allocations: 0 / 0.7858 GB, free: 2.055 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.084e-05/0.2026, allocations: 27.92 kB / 0.7858 GB, free: 2.027 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.396e-05/0.2026, allocations: 35.91 kB / 0.7858 GB, free: 1.992 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006332/0.2033, allocations: 0.9062 MB / 0.7867 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.299e-05/0.2034, allocations: 177.1 kB / 0.7869 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.168e-05/0.2034, allocations: 84.14 kB / 0.787 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.2034, allocations: 79.28 kB / 0.787 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.928e-05/0.2035, allocations: 105.8 kB / 0.7871 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 9.81e-07/0.2035, allocations: 4 kB / 0.7871 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 7.158e-05/0.2036, allocations: 37.55 kB / 0.7872 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001636/0.2037, allocations: 387.7 kB / 0.7875 GB, free: 56 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2781/0.4819, allocations: 166.2 kB / 0.7877 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.4819, allocations: 31.58 kB / 0.7877 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.983e-05/0.482, allocations: 143.5 kB / 0.7879 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.749e-06/0.482, allocations: 5.922 kB / 0.7879 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.213e-05/0.4821, allocations: 55.95 kB / 0.7879 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.535e-05/0.4821, allocations: 327.8 kB / 0.7882 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.121e-05/0.4821, allocations: 23.72 kB / 0.7883 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.08e-05/0.4822, allocations: 220.3 kB / 0.7885 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.4823, allocations: 202.3 kB / 0.7887 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.4824, allocations: 3.438 kB / 0.7887 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002268/0.4826, allocations: 189.2 kB / 0.7888 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.4826, allocations: 9.031 kB / 0.7889 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.4826, allocations: 2.938 kB / 0.7889 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.4826, allocations: 8.281 kB / 0.7889 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.4827, allocations: 40.03 kB / 0.7889 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.4828, allocations: 10.39 kB / 0.7889 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.088e-05/0.4828, allocations: 28.84 kB / 0.7889 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.4829, allocations: 7.875 kB / 0.7889 GB, free: 47.88 MB / 0.6544 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 6.956e-05/0.4829, allocations: 221.2 kB / 0.7892 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.229e-05/0.483, allocations: 111.9 kB / 0.7893 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.338e-05/0.483, allocations: 127 kB / 0.7894 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.797e-05/0.483, allocations: 179.1 kB / 0.7896 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-05/0.4831, allocations: 182.5 kB / 0.7897 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-05/0.4831, allocations: 177.3 kB / 0.7899 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.4832, allocations: 423.2 kB / 0.7903 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.4832, allocations: 103.7 kB / 0.7904 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.131e-05/0.4832, allocations: 112.6 kB / 0.7905 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.732e-05/0.4833, allocations: 176.8 kB / 0.7907 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.4833, allocations: 187 kB / 0.7909 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.781e-05/0.4833, allocations: 181.5 kB / 0.791 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.686e-05/0.4833, allocations: 180.3 kB / 0.7912 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.653e-05/0.4834, allocations: 317.8 kB / 0.7915 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.517e-05/0.4834, allocations: 188.2 kB / 0.7917 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.17e-05/0.4835, allocations: 186.2 kB / 0.7919 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.594e-05/0.4835, allocations: 110.9 kB / 0.792 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.546e-05/0.4836, allocations: 180.1 kB / 0.7921 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.4836, allocations: 102.9 kB / 0.7922 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.4e-05/0.4836, allocations: 120.2 kB / 0.7924 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4836, allocations: 3.094 kB / 0.7924 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002771/0.4839, allocations: 30.94 kB / 0.7924 GB, free: 44.38 MB / 0.6544 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.0001184/0.484, allocations: 188.8 kB / 0.7926 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001082/0.4841, allocations: 72.78 kB / 0.7926 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.4842, allocations: 2.688 kB / 0.7926 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.143e-06/0.4842, allocations: 2.719 kB / 0.7926 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.4844, allocations: 469.3 kB / 0.7931 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001829/0.4846, allocations: 220.7 kB / 0.7933 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.824e-05/0.4847, allocations: 0.6921 MB / 0.794 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001673/0.4848, allocations: 57.61 kB / 0.794 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.123e-05/0.4849, allocations: 13.56 kB / 0.794 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.4849, allocations: 0 / 0.794 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of Templates: time 0.003087/0.488, allocations: 1.662 MB / 0.7957 GB, free: 42.82 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (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 & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)