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.001673/0.001673, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001997/0.001997, allocations: 193.4 kB / 16.14 MB, free: 6.699 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.683/1.683, allocations: 205.1 MB / 222 MB, free: 4.988 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.6129/0.6129, allocations: 95.47 MB / 364.8 MB, free: 10.18 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.00148/0.00148, allocations: 75.89 kB / 444.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3517, allocations: 69.06 MB / 0.5017 GB, free: 17.65 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001664/0.3534, allocations: 0.6327 MB / 0.5023 GB, free: 17.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002886/0.3537, allocations: 59.86 kB / 0.5024 GB, free: 16.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.657e-05/0.3537, allocations: 0 / 0.5024 GB, free: 16.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.857e-05/0.3538, allocations: 0 / 0.5024 GB, free: 16.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.744e-05/0.3538, allocations: 11.94 kB / 0.5024 GB, free: 16.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.3541, allocations: 39.89 kB / 0.5024 GB, free: 16.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.853e-05/0.3541, allocations: 27.95 kB / 0.5025 GB, free: 16.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.101e-05/0.3542, allocations: 4 kB / 0.5025 GB, free: 16.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.162e-05/0.3542, allocations: 15.94 kB / 0.5025 GB, free: 16.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.3544, allocations: 67.91 kB / 0.5025 GB, free: 16.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.3544, allocations: 4 kB / 0.5025 GB, free: 16.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.631e-05/0.3545, allocations: 39.89 kB / 0.5026 GB, free: 16.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.28e-05/0.3545, allocations: 19.94 kB / 0.5026 GB, free: 16.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.379e-05/0.3546, allocations: 23.86 kB / 0.5026 GB, free: 16.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.3547, allocations: 63.8 kB / 0.5027 GB, free: 16.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3547, allocations: 0 / 0.5027 GB, free: 16.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.3547, allocations: 0 / 0.5027 GB, free: 16.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.227e-06/0.3547, allocations: 0 / 0.5027 GB, free: 16.64 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.000278/0.355, allocations: 361.5 kB / 0.503 GB, free: 16.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.355, allocations: 11.98 kB / 0.503 GB, free: 16.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.711e-05/0.3551, allocations: 8.844 kB / 0.503 GB, free: 16.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.919e-05/0.3551, allocations: 172.3 kB / 0.5032 GB, free: 16.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.3551, allocations: 8.375 kB / 0.5032 GB, free: 16.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.3551, allocations: 7.938 kB / 0.5032 GB, free: 16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.3553, allocations: 170.8 kB / 0.5034 GB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.3554, allocations: 7.938 kB / 0.5034 GB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.3554, allocations: 0 / 0.5034 GB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.611e-05/0.3554, allocations: 31.97 kB / 0.5034 GB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.572e-05/0.3555, allocations: 31.92 kB / 0.5035 GB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004907/0.356, allocations: 0.9138 MB / 0.5044 GB, free: 14.76 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.033e-05/0.356, allocations: 168.2 kB / 0.5045 GB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.754e-05/0.3561, allocations: 84.14 kB / 0.5046 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.3561, allocations: 79.28 kB / 0.5047 GB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.3561, allocations: 113.8 kB / 0.5048 GB, free: 14.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.3561, allocations: 0 / 0.5048 GB, free: 14.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 6.835e-05/0.3562, allocations: 37.69 kB / 0.5048 GB, free: 14.26 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.9e-05/0.3563, allocations: 387.7 kB / 0.5052 GB, free: 13.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.3564, allocations: 171.2 kB / 0.5053 GB, free: 13.63 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.3564, allocations: 29.7 kB / 0.5054 GB, free: 13.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.403e-05/0.3565, allocations: 147.1 kB / 0.5055 GB, free: 13.45 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.819e-06/0.3565, allocations: 0 / 0.5055 GB, free: 13.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.678e-05/0.3565, allocations: 57.61 kB / 0.5056 GB, free: 13.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.574e-05/0.3566, allocations: 322.8 kB / 0.5059 GB, free: 13.06 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.245e-05/0.3566, allocations: 23.98 kB / 0.5059 GB, free: 13.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.3568, allocations: 216.8 kB / 0.5061 GB, free: 12.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.3569, allocations: 213.8 kB / 0.5063 GB, free: 12.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.3569, allocations: 7.938 kB / 0.5063 GB, free: 12.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002358/0.3571, allocations: 193 kB / 0.5065 GB, free: 12.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.3572, allocations: 10.66 kB / 0.5065 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3572, allocations: 4 kB / 0.5065 GB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.3572, allocations: 8.656 kB / 0.5065 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.3573, allocations: 39.92 kB / 0.5066 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.3573, allocations: 11.94 kB / 0.5066 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8e-05/0.3574, allocations: 27.75 kB / 0.5066 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.3574, allocations: 8 kB / 0.5066 GB, free: 12.15 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.8e-05/0.3575, allocations: 217 kB / 0.5068 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.279e-05/0.3575, allocations: 112.8 kB / 0.5069 GB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.939e-05/0.3576, allocations: 112.8 kB / 0.507 GB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.218e-05/0.3576, allocations: 188.2 kB / 0.5072 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.526e-05/0.3577, allocations: 180.3 kB / 0.5074 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.3e-05/0.3577, allocations: 180.2 kB / 0.5076 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.3578, allocations: 421.2 kB / 0.508 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/0.3578, allocations: 104.9 kB / 0.5081 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.33e-05/0.3579, allocations: 104.9 kB / 0.5082 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.556e-05/0.3579, allocations: 184.3 kB / 0.5083 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.3579, allocations: 184.1 kB / 0.5085 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.27e-05/0.358, allocations: 180.2 kB / 0.5087 GB, free: 9.887 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.472e-05/0.358, allocations: 192.2 kB / 0.5089 GB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.084e-05/0.3581, allocations: 311.7 kB / 0.5092 GB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.166e-05/0.3581, allocations: 194 kB / 0.5093 GB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.771e-05/0.3581, allocations: 184.3 kB / 0.5095 GB, free: 8.961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.241e-05/0.3582, allocations: 108.9 kB / 0.5096 GB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.813e-05/0.3582, allocations: 176.3 kB / 0.5098 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.3583, allocations: 101 kB / 0.5099 GB, free: 8.562 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.307e-05/0.3583, allocations: 123.2 kB / 0.51 GB, free: 8.441 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3583, allocations: 3.938 kB / 0.51 GB, free: 8.438 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002938/0.3586, allocations: 28 kB / 0.51 GB, free: 8.41 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 (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.0001578/0.3588, allocations: 186.5 kB / 0.5102 GB, free: 8.215 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001213/0.3589, allocations: 76.84 kB / 0.5103 GB, free: 8.141 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.3589, allocations: 4 kB / 0.5103 GB, free: 8.137 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.3589, allocations: 0 / 0.5103 GB, free: 8.137 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.3592, allocations: 0.5302 MB / 0.5108 GB, free: 7.602 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002337/0.3595, allocations: 250.7 kB / 0.511 GB, free: 7.328 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/0.3596, allocations: 0.6893 MB / 0.5117 GB, free: 6.613 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002062/0.3598, allocations: 52.59 kB / 0.5118 GB, free: 6.562 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.183e-05/0.3598, allocations: 15.38 kB / 0.5118 GB, free: 6.547 MB / 382.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3598, allocations: 4 kB / 0.5118 GB, free: 6.543 MB / 382.1 MB Notification: Performance of Templates: time 0.003497/0.3633, allocations: 1.752 MB / 0.5135 GB, free: 4.82 MB / 382.1 MB 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)