Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001422, 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.001874/0.001874, allocations: 192.6 kB / 16.13 MB, free: 6.66 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.746/1.746, allocations: 205.1 MB / 222 MB, free: 4.734 MB / 174.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.613/1.613, allocations: 251.7 MB / 0.5088 GB, free: 3.316 MB / 414.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.001691/0.001691, allocations: 63.91 kB / 0.6216 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6897/0.6914, allocations: 104.7 MB / 0.7238 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.004154/0.6956, allocations: 1.541 MB / 0.7253 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005737/0.6962, allocations: 176.3 kB / 0.7255 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.233e-05/0.6963, allocations: 7.938 kB / 0.7255 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.672e-05/0.6964, allocations: 7.922 kB / 0.7255 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.6965, allocations: 3.938 kB / 0.7255 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.6968, allocations: 39.95 kB / 0.7256 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000134/0.6969, allocations: 75.83 kB / 0.7256 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.6971, allocations: 35.91 kB / 0.7257 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.74e-05/0.6972, allocations: 31.86 kB / 0.7257 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.6973, allocations: 39.83 kB / 0.7257 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.218e-05/0.6973, allocations: 8 kB / 0.7257 GB, free: 11.19 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.215e-05/0.6974, allocations: 4 kB / 0.7257 GB, free: 11.19 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.958e-05/0.6974, allocations: 27.89 kB / 0.7258 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.964e-05/0.6975, allocations: 31.8 kB / 0.7258 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.6976, allocations: 79.72 kB / 0.7259 GB, free: 11.05 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.6977, allocations: 0 / 0.7259 GB, free: 11.05 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.42e-07/0.6977, allocations: 0 / 0.7259 GB, free: 11.05 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.6977, allocations: 0 / 0.7259 GB, free: 11.05 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008157/0.6985, allocations: 389.3 kB / 0.7262 GB, free: 10.62 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.6986, allocations: 23.89 kB / 0.7263 GB, free: 10.6 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.737e-05/0.6986, allocations: 8.844 kB / 0.7263 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.6989, allocations: 180.2 kB / 0.7264 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.6989, allocations: 8.375 kB / 0.7265 GB, free: 10.37 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.6989, allocations: 4.375 kB / 0.7265 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004535/0.6994, allocations: 102.2 kB / 0.7266 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.6994, allocations: 192 / 0.7266 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.6995, allocations: 7.938 kB / 0.7266 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.6995, allocations: 4 kB / 0.7266 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005451/0.7, allocations: 103.8 kB / 0.7267 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007754/0.7008, allocations: 340.6 kB / 0.727 GB, free: 9.762 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009247/0.7018, allocations: 122.5 kB / 0.7271 GB, free: 9.633 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002752/0.702, allocations: 56.81 kB / 0.7272 GB, free: 9.574 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.141e-05/0.7021, allocations: 3.984 kB / 0.7272 GB, free: 9.57 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.7021, allocations: 30.56 kB / 0.7272 GB, free: 9.531 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 2.235e-06/0.7021, allocations: 4 kB / 0.7272 GB, free: 9.527 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.000993/0.7032, allocations: 177.5 kB / 0.7274 GB, free: 9.348 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.281e-05/0.7032, allocations: 55.39 kB / 0.7274 GB, free: 9.281 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.7034, allocations: 121.8 kB / 0.7275 GB, free: 9.152 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.7034, allocations: 33.7 kB / 0.7276 GB, free: 9.113 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.941e-05/0.7035, allocations: 99.97 kB / 0.7277 GB, free: 9.012 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.887e-05/0.7035, allocations: 19.75 kB / 0.7277 GB, free: 8.992 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.001e-05/0.7036, allocations: 29.7 kB / 0.7277 GB, free: 8.957 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001845/0.7038, allocations: 318.8 kB / 0.728 GB, free: 8.637 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002632/0.7041, allocations: 47.94 kB / 0.7281 GB, free: 8.59 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/0.7044, allocations: 48.27 kB / 0.7281 GB, free: 8.543 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005581/0.7049, allocations: 92.92 kB / 0.7282 GB, free: 8.449 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.705, allocations: 4 kB / 0.7282 GB, free: 8.445 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006114/0.7056, allocations: 141.5 kB / 0.7283 GB, free: 8.301 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.7056, allocations: 8 kB / 0.7283 GB, free: 8.293 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.7056, allocations: 0 / 0.7283 GB, free: 8.293 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.7057, allocations: 3.938 kB / 0.7283 GB, free: 8.289 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000244/0.7059, allocations: 23.97 kB / 0.7284 GB, free: 8.266 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/0.7059, allocations: 0 / 0.7284 GB, free: 8.266 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002397/0.7062, allocations: 15.98 kB / 0.7284 GB, free: 8.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.7062, allocations: 3.984 kB / 0.7284 GB, free: 8.246 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.000111/0.7063, allocations: 121.8 kB / 0.7285 GB, free: 8.117 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.679e-05/0.7064, allocations: 7.906 kB / 0.7285 GB, free: 8.109 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007384/0.7072, allocations: 145.9 kB / 0.7287 GB, free: 7.961 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.7072, allocations: 4 kB / 0.7287 GB, free: 7.957 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.7072, allocations: 0 / 0.7287 GB, free: 7.957 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.7072, allocations: 4 kB / 0.7287 GB, free: 7.953 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003117/0.7075, allocations: 205.5 kB / 0.7289 GB, free: 7.703 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.7076, allocations: 4 kB / 0.7289 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002413/0.7078, allocations: 23.97 kB / 0.7289 GB, free: 7.676 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.7078, allocations: 3.984 kB / 0.7289 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/0.7079, allocations: 7.984 kB / 0.7289 GB, free: 7.664 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.7079, allocations: 0 / 0.7289 GB, free: 7.664 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.7079, allocations: 4 kB / 0.7289 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006376/0.7085, allocations: 235.3 kB / 0.7291 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.114e-05/0.7086, allocations: 88.95 kB / 0.7292 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.229e-05/0.7087, allocations: 0 / 0.7292 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.7089, allocations: 23.86 kB / 0.7292 GB, free: 7.285 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.709, allocations: 19.97 kB / 0.7292 GB, free: 7.266 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.709, allocations: 0 / 0.7292 GB, free: 7.266 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.443e-05/0.7091, allocations: 103.7 kB / 0.7293 GB, free: 7.164 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7091, allocations: 0 / 0.7293 GB, free: 7.164 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002213/0.7094, allocations: 12 kB / 0.7294 GB, free: 7.152 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001355/0.7095, allocations: 103.2 kB / 0.7295 GB, free: 7.043 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005981/0.7101, allocations: 103.9 kB / 0.7296 GB, free: 6.941 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.7101, allocations: 0 / 0.7296 GB, free: 6.941 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002964/0.7104, allocations: 71.86 kB / 0.7296 GB, free: 6.871 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004684/0.7109, allocations: 4.328 kB / 0.7296 GB, free: 6.867 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005882/0.7115, allocations: 196 kB / 0.7298 GB, free: 6.645 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.7118, allocations: 0.6887 MB / 0.7305 GB, free: 5.93 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001139/0.712, allocations: 15.75 kB / 0.7305 GB, free: 5.914 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.592e-05/0.7121, allocations: 19.42 kB / 0.7305 GB, free: 5.895 MB / 0.545 GB Notification: Performance of SimCode: time 4.31e-07/0.7121, allocations: 0 / 0.7305 GB, free: 5.895 MB / 0.545 GB Notification: Performance of Templates: time 0.004548/0.7166, allocations: 1.361 MB / 0.7319 GB, free: 4.547 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1)