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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.001565/0.001565, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 191.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.741/2.741, allocations: 472.6 MB / 0.7451 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 68.66 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.3001, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001909/0.3021, allocations: 0.5971 MB / 1.069 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003345/0.3024, allocations: 67.84 kB / 1.069 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.442e-05/0.3025, allocations: 0 / 1.069 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.217e-05/0.3025, allocations: 0 / 1.069 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.797e-05/0.3026, allocations: 11.92 kB / 1.069 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.3029, allocations: 43.95 kB / 1.069 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.814e-05/0.3029, allocations: 35.89 kB / 1.069 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.403e-05/0.303, allocations: 0 / 1.069 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.542e-05/0.303, allocations: 8 kB / 1.069 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001891/0.3032, allocations: 67.88 kB / 1.069 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.3032, allocations: 3.984 kB / 1.069 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.3034, allocations: 43.95 kB / 1.069 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.734e-05/0.3034, allocations: 15.94 kB / 1.069 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.298e-05/0.3034, allocations: 15.88 kB / 1.069 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.3036, allocations: 67.78 kB / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3036, allocations: 0 / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3036, allocations: 0 / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.3036, allocations: 4 kB / 1.069 GB, free: 9.441 MB / 0.8262 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.0003306/0.3039, allocations: 367.7 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.304, allocations: 8.031 kB / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.101e-05/0.304, allocations: 4.938 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.675e-05/0.3041, allocations: 168.3 kB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.3042, allocations: 384 / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.3042, allocations: 384 / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002373/0.3044, allocations: 192.3 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.3044, allocations: 0 / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.3044, allocations: 7.938 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-05/0.3045, allocations: 23.98 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.719e-05/0.3046, allocations: 39.84 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006311/0.3052, allocations: 0.9061 MB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.777e-05/0.3053, allocations: 173.1 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.017e-05/0.3053, allocations: 84.14 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.3054, allocations: 75.28 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.499e-05/0.3054, allocations: 109.8 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.3054, allocations: 0 / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 8.207e-05/0.3055, allocations: 37.55 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001456/0.3057, allocations: 395.7 kB / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.3058, allocations: 168.3 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.3058, allocations: 29.7 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.258e-05/0.3059, allocations: 147.1 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.08e-06/0.3059, allocations: 0 / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.244e-05/0.306, allocations: 61.55 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.792e-05/0.3061, allocations: 322.8 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.117e-05/0.3061, allocations: 23.98 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.3063, allocations: 226.5 kB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.3065, allocations: 197.8 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.3065, allocations: 0 / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002961/0.3068, allocations: 193.5 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.3069, allocations: 8 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.3069, allocations: 4 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.3069, allocations: 11.94 kB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.307, allocations: 35.92 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.307, allocations: 15.92 kB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.924e-05/0.3071, allocations: 27.78 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.3072, allocations: 8 kB / 1.073 GB, free: 4.949 MB / 0.8262 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 0.0001239/0.3073, allocations: 217.8 kB / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.197e-05/0.3074, allocations: 115 kB / 1.073 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.774e-05/0.3074, allocations: 112.6 kB / 1.073 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-05/0.3075, allocations: 196.2 kB / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.632e-05/0.3075, allocations: 180.2 kB / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.156e-05/0.3076, allocations: 184.2 kB / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002179/0.3078, allocations: 421.2 kB / 1.074 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.3e-05/0.3079, allocations: 105 kB / 1.075 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.16e-05/0.3079, allocations: 105 kB / 1.075 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.954e-05/0.308, allocations: 184.2 kB / 1.075 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.455e-05/0.308, allocations: 176.3 kB / 1.075 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-05/0.3081, allocations: 188.1 kB / 1.075 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.972e-05/0.3082, allocations: 184.3 kB / 1.075 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.3083, allocations: 315.6 kB / 1.076 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.237e-05/0.3084, allocations: 186 kB / 1.076 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.218e-05/0.3085, allocations: 192.2 kB / 1.076 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.545e-05/0.3085, allocations: 108.9 kB / 1.076 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.1e-05/0.3086, allocations: 184.5 kB / 1.076 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.088e-05/0.3087, allocations: 101 kB / 1.076 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.531e-05/0.3087, allocations: 114.4 kB / 1.076 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3087, allocations: 0 / 1.076 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003147/0.3091, allocations: 28 kB / 1.076 GB, free: 1.207 MB / 0.8262 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.0002029/0.3093, allocations: 202.5 kB / 1.077 GB, free: 1 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000151/0.3094, allocations: 75.81 kB / 1.077 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3094, allocations: 1.312 kB / 1.077 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.659e-06/0.3094, allocations: 0 / 1.077 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.3098, allocations: 481.8 kB / 1.077 GB, free: 464 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/0.3102, allocations: 232.7 kB / 1.077 GB, free: 204 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.3104, allocations: 0.689 MB / 1.078 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000234/0.3107, allocations: 52.59 kB / 1.078 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.86e-05/0.3107, allocations: 15.44 kB / 1.078 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of SimCode: time 2.61e-07/0.3107, allocations: 4 kB / 1.078 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of Templates: time 0.004208/0.3149, allocations: 1.652 MB / 1.08 GB, free: 13.8 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (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)