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.001242/0.001242, 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.001323/0.001324, allocations: 194 kB / 16.53 MB, free: 6.664 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.654/1.654, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.641/1.641, allocations: 251.7 MB / 0.5092 GB, free: 3.102 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.001759/0.001759, allocations: 71.89 kB / 0.6223 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6525/0.6543, allocations: 104.7 MB / 0.7245 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002933/0.6573, allocations: 1.476 MB / 0.726 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004645/0.6578, allocations: 188.3 kB / 0.7261 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.349e-05/0.6579, allocations: 0 / 0.7261 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.516e-05/0.6579, allocations: 11.86 kB / 0.7262 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.684e-05/0.658, allocations: 11.88 kB / 0.7262 GB, free: 11.22 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001767/0.6582, allocations: 47.88 kB / 0.7262 GB, free: 11.17 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.6583, allocations: 79.89 kB / 0.7263 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.6584, allocations: 23.94 kB / 0.7263 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.512e-05/0.6586, allocations: 51.7 kB / 0.7264 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.342e-05/0.6586, allocations: 43.83 kB / 0.7264 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.955e-05/0.6587, allocations: 12 kB / 0.7264 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.856e-05/0.6587, allocations: 8 kB / 0.7264 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.154e-05/0.6587, allocations: 23.91 kB / 0.7265 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.792e-05/0.6588, allocations: 35.78 kB / 0.7265 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.6589, allocations: 83.73 kB / 0.7266 GB, free: 10.82 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.6589, allocations: 0 / 0.7266 GB, free: 10.82 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.823e-06/0.6589, allocations: 0 / 0.7266 GB, free: 10.82 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.659, allocations: 4 kB / 0.7266 GB, free: 10.81 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.0006569/0.6596, allocations: 393.2 kB / 0.7269 GB, free: 10.38 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.6597, allocations: 8.031 kB / 0.727 GB, free: 10.37 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.433e-05/0.6597, allocations: 8.844 kB / 0.727 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.6599, allocations: 176.2 kB / 0.7271 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.6599, allocations: 4.375 kB / 0.7271 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.6599, allocations: 8.375 kB / 0.7271 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003173/0.6603, allocations: 102.1 kB / 0.7272 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.6603, allocations: 192 / 0.7272 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.6603, allocations: 11.94 kB / 0.7272 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.6603, allocations: 0 / 0.7272 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003733/0.6607, allocations: 99.89 kB / 0.7273 GB, free: 9.926 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005637/0.6613, allocations: 352.5 kB / 0.7277 GB, free: 9.531 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006315/0.6619, allocations: 122.6 kB / 0.7278 GB, free: 9.402 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001897/0.6621, allocations: 48.81 kB / 0.7278 GB, free: 9.352 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.6621, allocations: 4 kB / 0.7278 GB, free: 9.348 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.6622, allocations: 46.55 kB / 0.7279 GB, free: 9.293 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.6622, allocations: 0 / 0.7279 GB, free: 9.293 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0006811/0.6629, allocations: 181.4 kB / 0.7281 GB, free: 9.109 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.6629, allocations: 59.41 kB / 0.7281 GB, free: 9.039 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.663, allocations: 121.8 kB / 0.7282 GB, free: 8.91 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.663, allocations: 25.7 kB / 0.7283 GB, free: 8.879 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.964e-05/0.6631, allocations: 99.98 kB / 0.7284 GB, free: 8.777 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.6631, allocations: 15.73 kB / 0.7284 GB, free: 8.762 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.027e-05/0.6632, allocations: 25.7 kB / 0.7284 GB, free: 8.73 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.6633, allocations: 318.8 kB / 0.7287 GB, free: 8.41 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.6635, allocations: 47.95 kB / 0.7287 GB, free: 8.363 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.6637, allocations: 44.27 kB / 0.7288 GB, free: 8.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003561/0.6641, allocations: 104.9 kB / 0.7289 GB, free: 8.215 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6641, allocations: 3.938 kB / 0.7289 GB, free: 8.211 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004047/0.6645, allocations: 141.5 kB / 0.729 GB, free: 8.066 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.6645, allocations: 7.984 kB / 0.729 GB, free: 8.059 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.6645, allocations: 0 / 0.729 GB, free: 8.059 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.6646, allocations: 3.938 kB / 0.729 GB, free: 8.055 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.6647, allocations: 23.97 kB / 0.7291 GB, free: 8.031 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.6648, allocations: 0 / 0.7291 GB, free: 8.031 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.6649, allocations: 15.98 kB / 0.7291 GB, free: 8.016 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.6649, allocations: 4 kB / 0.7291 GB, free: 8.012 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.0001104/0.665, allocations: 121.8 kB / 0.7292 GB, free: 7.883 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.611e-05/0.6651, allocations: 7.891 kB / 0.7292 GB, free: 7.875 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004705/0.6655, allocations: 153.9 kB / 0.7294 GB, free: 7.719 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.6655, allocations: 0 / 0.7294 GB, free: 7.719 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.6656, allocations: 0 / 0.7294 GB, free: 7.719 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.6656, allocations: 0 / 0.7294 GB, free: 7.719 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.6658, allocations: 205.5 kB / 0.7295 GB, free: 7.469 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.6658, allocations: 0 / 0.7295 GB, free: 7.469 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.666, allocations: 23.97 kB / 0.7296 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.666, allocations: 0 / 0.7296 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.666, allocations: 0 / 0.7296 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.666, allocations: 0 / 0.7296 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.666, allocations: 8 kB / 0.7296 GB, free: 7.438 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000467/0.6665, allocations: 239.2 kB / 0.7298 GB, free: 7.188 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.301e-05/0.6665, allocations: 88.94 kB / 0.7299 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.6666, allocations: 0 / 0.7299 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.6667, allocations: 15.98 kB / 0.7299 GB, free: 7.066 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.107e-05/0.6668, allocations: 23.92 kB / 0.7299 GB, free: 7.043 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.6668, allocations: 3.984 kB / 0.7299 GB, free: 7.039 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.85e-05/0.6669, allocations: 99.7 kB / 0.73 GB, free: 6.941 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6669, allocations: 0 / 0.73 GB, free: 6.941 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002279/0.6671, allocations: 12 kB / 0.73 GB, free: 6.93 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.0001547/0.6673, allocations: 99.19 kB / 0.7301 GB, free: 6.824 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004605/0.6677, allocations: 115.8 kB / 0.7302 GB, free: 6.711 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6678, allocations: 0 / 0.7302 GB, free: 6.711 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002062/0.668, allocations: 59.95 kB / 0.7303 GB, free: 6.652 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.6684, allocations: 15.98 kB / 0.7303 GB, free: 6.637 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004538/0.6688, allocations: 178.1 kB / 0.7305 GB, free: 6.43 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.6691, allocations: 0.6923 MB / 0.7312 GB, free: 5.711 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.995e-05/0.6692, allocations: 15.75 kB / 0.7312 GB, free: 5.695 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.013e-05/0.6693, allocations: 19.42 kB / 0.7312 GB, free: 5.676 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.6693, allocations: 0 / 0.7312 GB, free: 5.676 MB / 0.545 GB Notification: Performance of Templates: time 0.004171/0.6735, allocations: 1.589 MB / 0.7327 GB, free: 4.102 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)