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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006006/0.006006, allocations: 99.73 kB / 15.73 MB, free: 5.594 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.001077/0.001077, allocations: 197.2 kB / 16.67 MB, free: 5.527 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.196/1.196, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.252/1.252, allocations: 251.7 MB / 0.5094 GB, free: 412 kB / 430.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.001255/0.001255, allocations: 79.89 kB / 0.7258 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4808/0.482, allocations: 104.7 MB / 0.8281 GB, free: 2.574 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001428/0.4835, allocations: 0.5992 MB / 0.8287 GB, free: 1.973 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0002674/0.4838, allocations: 73.69 kB / 0.8287 GB, free: 1.902 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.167e-05/0.4838, allocations: 0 / 0.8287 GB, free: 1.902 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 2.455e-05/0.4838, allocations: 0 / 0.8287 GB, free: 1.902 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 3.71e-05/0.4839, allocations: 11.98 kB / 0.8287 GB, free: 1.891 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002512/0.4841, allocations: 39.89 kB / 0.8288 GB, free: 1.852 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 5.929e-05/0.4842, allocations: 27.97 kB / 0.8288 GB, free: 1.824 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.422e-05/0.4843, allocations: 7.984 kB / 0.8288 GB, free: 1.816 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 2.294e-05/0.4843, allocations: 15.98 kB / 0.8288 GB, free: 1.801 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/0.4845, allocations: 67.83 kB / 0.8289 GB, free: 1.734 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.4845, allocations: 0 / 0.8289 GB, free: 1.734 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 8.128e-05/0.4846, allocations: 39.89 kB / 0.8289 GB, free: 1.695 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 3.131e-05/0.4846, allocations: 27.92 kB / 0.829 GB, free: 1.668 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.572e-05/0.4846, allocations: 19.86 kB / 0.829 GB, free: 1.648 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.4847, allocations: 63.8 kB / 0.829 GB, free: 1.586 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.4848, allocations: 0 / 0.829 GB, free: 1.586 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.042e-06/0.4848, allocations: 0 / 0.829 GB, free: 1.586 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.4848, allocations: 0 / 0.829 GB, free: 1.586 MB / 0.6231 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.0003466/0.4851, allocations: 363.1 kB / 0.8294 GB, free: 1.184 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.4852, allocations: 8.031 kB / 0.8294 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.884e-05/0.4852, allocations: 8.844 kB / 0.8294 GB, free: 1.168 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.433e-05/0.4853, allocations: 166.6 kB / 0.8296 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.4853, allocations: 8.375 kB / 0.8296 GB, free: 0.9609 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.4853, allocations: 4.359 kB / 0.8296 GB, free: 0.957 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/0.4856, allocations: 179.5 kB / 0.8297 GB, free: 0.7578 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.4856, allocations: 3.938 kB / 0.8297 GB, free: 0.7539 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.4856, allocations: 4 kB / 0.8297 GB, free: 0.75 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.715e-05/0.4856, allocations: 23.98 kB / 0.8298 GB, free: 0.7266 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.887e-05/0.4857, allocations: 39.91 kB / 0.8298 GB, free: 0.6875 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005574/0.4863, allocations: 0.91 MB / 0.8307 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 6.246e-05/0.4863, allocations: 165.1 kB / 0.8309 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.247e-05/0.4864, allocations: 80.14 kB / 0.8309 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.4864, allocations: 79.22 kB / 0.831 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.4864, allocations: 117.8 kB / 0.8311 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.4864, allocations: 0 / 0.8311 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of matching and sorting (n=0): time 6.681e-05/0.4865, allocations: 33.61 kB / 0.8312 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/0.4866, allocations: 391.7 kB / 0.8315 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.4868, allocations: 164.3 kB / 0.8317 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.4868, allocations: 33.7 kB / 0.8317 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.683e-05/0.4869, allocations: 147 kB / 0.8319 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.877e-06/0.4869, allocations: 7.938 kB / 0.8319 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.265e-05/0.4869, allocations: 57.61 kB / 0.8319 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.869e-05/0.487, allocations: 326.8 kB / 0.8322 GB, free: 14 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.496e-05/0.487, allocations: 27.92 kB / 0.8323 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.4872, allocations: 215.7 kB / 0.8325 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.4873, allocations: 205.7 kB / 0.8327 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.4874, allocations: 0 / 0.8327 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002445/0.4876, allocations: 185.2 kB / 0.8328 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.4876, allocations: 8 kB / 0.8328 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.4876, allocations: 4.094 kB / 0.8328 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.4877, allocations: 16.53 kB / 0.8329 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.4878, allocations: 43.92 kB / 0.8329 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.4878, allocations: 19.92 kB / 0.8329 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.226e-05/0.4879, allocations: 27.75 kB / 0.8329 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.4879, allocations: 8 kB / 0.833 GB, free: 13.09 MB / 0.6387 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 9.83e-05/0.488, allocations: 213 kB / 0.8332 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.528e-05/0.488, allocations: 112.9 kB / 0.8333 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.828e-05/0.4881, allocations: 112.8 kB / 0.8334 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.353e-05/0.4881, allocations: 188.2 kB / 0.8336 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.254e-05/0.4882, allocations: 182.5 kB / 0.8337 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.433e-05/0.4882, allocations: 184.2 kB / 0.8339 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.4884, allocations: 413.2 kB / 0.8343 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.741e-05/0.4885, allocations: 112.9 kB / 0.8344 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.396e-05/0.4885, allocations: 105 kB / 0.8345 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.065e-05/0.4885, allocations: 180.3 kB / 0.8347 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.411e-05/0.4886, allocations: 184.2 kB / 0.8349 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.473e-05/0.4886, allocations: 180.2 kB / 0.835 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.083e-05/0.4887, allocations: 180.2 kB / 0.8352 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.4888, allocations: 315.7 kB / 0.8355 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.758e-05/0.4889, allocations: 189.9 kB / 0.8357 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.642e-05/0.4889, allocations: 184.2 kB / 0.8359 GB, free: 9.914 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.221e-05/0.489, allocations: 112.9 kB / 0.836 GB, free: 9.797 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.125e-05/0.4891, allocations: 180.3 kB / 0.8361 GB, free: 9.613 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/0.4891, allocations: 101 kB / 0.8362 GB, free: 9.508 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 6.048e-05/0.4891, allocations: 121.4 kB / 0.8363 GB, free: 9.391 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.282e-06/0.4892, allocations: 0 / 0.8363 GB, free: 9.391 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002721/0.4894, allocations: 31.94 kB / 0.8364 GB, free: 9.359 MB / 0.6387 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.0001521/0.4896, allocations: 193.3 kB / 0.8366 GB, free: 9.164 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001267/0.4897, allocations: 72.78 kB / 0.8366 GB, free: 9.094 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4897, allocations: 4 kB / 0.8366 GB, free: 9.09 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.4897, allocations: 336 / 0.8366 GB, free: 9.09 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.49, allocations: 467.5 kB / 0.8371 GB, free: 8.629 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002185/0.4903, allocations: 232.7 kB / 0.8373 GB, free: 8.375 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001937/0.4905, allocations: 0.6893 MB / 0.838 GB, free: 7.66 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001524/0.4906, allocations: 64.58 kB / 0.838 GB, free: 7.598 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.422e-05/0.4906, allocations: 19.38 kB / 0.8381 GB, free: 7.578 MB / 0.6387 GB Notification: Performance of SimCode: time 2.2e-07/0.4906, allocations: 0 / 0.8381 GB, free: 7.578 MB / 0.6387 GB Notification: Performance of Templates: time 0.003428/0.4941, allocations: 1.682 MB / 0.8397 GB, free: 5.93 MB / 0.6387 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)