Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0009355/0.0009355, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001012/0.001012, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 205.4 MB / 222.1 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5876/0.5876, allocations: 95.59 MB / 366 MB, free: 10.36 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005439/0.000544, allocations: 20 kB / 446.8 MB, free: 9.355 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2839, allocations: 70.32 MB / 0.505 GB, free: 16.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0006926/0.2846, allocations: 293.7 kB / 0.5053 GB, free: 16.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002673/0.2849, allocations: 59.89 kB / 0.5053 GB, free: 16.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.305e-05/0.285, allocations: 0 / 0.5053 GB, free: 16.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.98e-05/0.285, allocations: 7.984 kB / 0.5053 GB, free: 16.15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.712e-05/0.2851, allocations: 0 / 0.5053 GB, free: 16.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003256/0.2854, allocations: 39.89 kB / 0.5054 GB, free: 16.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.907e-05/0.2855, allocations: 19.97 kB / 0.5054 GB, free: 16.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.062e-05/0.2856, allocations: 2.578 kB / 0.5054 GB, free: 16.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.075e-05/0.2856, allocations: 23.98 kB / 0.5054 GB, free: 16.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000227/0.2858, allocations: 71.86 kB / 0.5055 GB, free: 16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.2858, allocations: 0 / 0.5055 GB, free: 16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.286, allocations: 31.97 kB / 0.5055 GB, free: 15.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.45e-05/0.286, allocations: 19.97 kB / 0.5055 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.492e-05/0.286, allocations: 37.58 kB / 0.5056 GB, free: 15.9 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.896e-05/0.2861, allocations: 39.94 kB / 0.5056 GB, free: 15.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2861, allocations: 0 / 0.5056 GB, free: 15.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.2862, allocations: 0 / 0.5056 GB, free: 15.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.2862, allocations: 0 / 0.5056 GB, free: 15.86 MB / 382.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.0003131/0.2865, allocations: 353.3 kB / 0.506 GB, free: 15.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.2865, allocations: 11.98 kB / 0.506 GB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.351e-05/0.2866, allocations: 7.906 kB / 0.506 GB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.757e-05/0.2866, allocations: 171 kB / 0.5061 GB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.2867, allocations: 4 kB / 0.5061 GB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.896e-06/0.2867, allocations: 0 / 0.5061 GB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.2869, allocations: 188.9 kB / 0.5063 GB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.2869, allocations: 3.938 kB / 0.5063 GB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.2869, allocations: 4 kB / 0.5063 GB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-05/0.287, allocations: 19.98 kB / 0.5064 GB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.901e-05/0.287, allocations: 39.89 kB / 0.5064 GB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004716/0.2875, allocations: 0.9062 MB / 0.5073 GB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.891e-05/0.2876, allocations: 173.1 kB / 0.5074 GB, free: 13.81 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.2876, allocations: 83.23 kB / 0.5075 GB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.2876, allocations: 109.8 kB / 0.5076 GB, free: 13.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.2876, allocations: 0 / 0.5076 GB, free: 13.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.248e-05/0.2877, allocations: 36.75 kB / 0.5077 GB, free: 13.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.15e-05/0.2878, allocations: 387.7 kB / 0.508 GB, free: 13.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.2879, allocations: 172.6 kB / 0.5082 GB, free: 12.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.2879, allocations: 29.7 kB / 0.5082 GB, free: 12.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.465e-05/0.288, allocations: 151.3 kB / 0.5084 GB, free: 12.76 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-06/0.288, allocations: 0 / 0.5084 GB, free: 12.76 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.288, allocations: 8 kB / 0.5084 GB, free: 12.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.621e-05/0.2881, allocations: 314.8 kB / 0.5087 GB, free: 12.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.436e-05/0.2881, allocations: 28.34 kB / 0.5087 GB, free: 12.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.618e-05/0.2882, allocations: 219.3 kB / 0.5089 GB, free: 12.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.333e-05/0.2883, allocations: 63.88 kB / 0.509 GB, free: 12.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2883, allocations: 4 kB / 0.509 GB, free: 12.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002479/0.2885, allocations: 189.7 kB / 0.5092 GB, free: 11.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.2886, allocations: 15.89 kB / 0.5092 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.2886, allocations: 8.031 kB / 0.5092 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.2886, allocations: 8 kB / 0.5092 GB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.2887, allocations: 39.92 kB / 0.5092 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.2887, allocations: 4 kB / 0.5092 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.379e-05/0.2888, allocations: 27.75 kB / 0.5093 GB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.2888, allocations: 12 kB / 0.5093 GB, free: 11.73 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.609e-05/0.2889, allocations: 216.9 kB / 0.5095 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.619e-05/0.289, allocations: 108.9 kB / 0.5096 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.959e-05/0.289, allocations: 124.8 kB / 0.5097 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.516e-05/0.2891, allocations: 184.2 kB / 0.5099 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.421e-05/0.2891, allocations: 176.3 kB / 0.51 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-05/0.2891, allocations: 180.2 kB / 0.5102 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.2893, allocations: 421.2 kB / 0.5106 GB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-05/0.2893, allocations: 105 kB / 0.5107 GB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.524e-05/0.2893, allocations: 104.9 kB / 0.5108 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.872e-05/0.2894, allocations: 180.3 kB / 0.511 GB, free: 9.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.247e-05/0.2894, allocations: 188.3 kB / 0.5112 GB, free: 9.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.809e-05/0.2894, allocations: 184.2 kB / 0.5113 GB, free: 9.461 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.537e-05/0.2895, allocations: 176.3 kB / 0.5115 GB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.03e-05/0.2895, allocations: 315.7 kB / 0.5118 GB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.628e-05/0.2896, allocations: 194.2 kB / 0.512 GB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.509e-05/0.2896, allocations: 184.3 kB / 0.5122 GB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.466e-05/0.2897, allocations: 109 kB / 0.5123 GB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.2898, allocations: 192.2 kB / 0.5125 GB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.953e-05/0.2898, allocations: 101 kB / 0.5126 GB, free: 8.133 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.353e-05/0.2898, allocations: 121.4 kB / 0.5127 GB, free: 8.016 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2899, allocations: 0 / 0.5127 GB, free: 8.016 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003014/0.2902, allocations: 28 kB / 0.5127 GB, free: 7.988 MB / 382.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 (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.0001604/0.2903, allocations: 182.5 kB / 0.5129 GB, free: 7.797 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000139/0.2905, allocations: 75.78 kB / 0.5129 GB, free: 7.723 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2905, allocations: 0 / 0.5129 GB, free: 7.723 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.804e-06/0.2905, allocations: 0 / 0.5129 GB, free: 7.723 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001966/0.2907, allocations: 0.5315 MB / 0.5135 GB, free: 7.188 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002438/0.2909, allocations: 234.5 kB / 0.5137 GB, free: 6.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.2911, allocations: 0.6971 MB / 0.5144 GB, free: 6.207 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001813/0.2913, allocations: 60.58 kB / 0.5144 GB, free: 6.148 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.423e-05/0.2913, allocations: 11.44 kB / 0.5144 GB, free: 6.137 MB / 382.1 MB Notification: Performance of SimCode: time 4e-07/0.2913, allocations: 0 / 0.5144 GB, free: 6.137 MB / 382.1 MB Notification: Performance of Templates: time 0.003766/0.2951, allocations: 1.701 MB / 0.5161 GB, free: 4.473 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) Environment - environmentSimulation: