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.Min.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.Min,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001252/0.001252, allocations: 194.8 kB / 16.14 MB, free: 6.703 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.761/1.761, allocations: 205.1 MB / 222 MB, free: 4.762 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.609/1.609, allocations: 251.7 MB / 0.5088 GB, free: 3.355 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.001801/0.001801, allocations: 67.91 kB / 0.6216 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.613/0.6149, allocations: 104.7 MB / 0.7238 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002946/0.6179, allocations: 1.545 MB / 0.7253 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004041/0.6183, allocations: 192.2 kB / 0.7255 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.195e-05/0.6184, allocations: 0 / 0.7255 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.93e-05/0.6184, allocations: 3.938 kB / 0.7255 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.351e-05/0.6185, allocations: 7.938 kB / 0.7255 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001399/0.6186, allocations: 31.97 kB / 0.7256 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.6188, allocations: 83.81 kB / 0.7256 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.6189, allocations: 27.92 kB / 0.7257 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.587e-05/0.619, allocations: 35.84 kB / 0.7257 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.712e-05/0.619, allocations: 47.81 kB / 0.7257 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.6191, allocations: 4 kB / 0.7257 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.68e-05/0.6191, allocations: 4 kB / 0.7257 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.595e-05/0.6191, allocations: 15.92 kB / 0.7258 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.101e-05/0.6192, allocations: 43.78 kB / 0.7258 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.6193, allocations: 75.72 kB / 0.7259 GB, free: 11.02 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.6193, allocations: 4 kB / 0.7259 GB, free: 11.02 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.51e-07/0.6193, allocations: 0 / 0.7259 GB, free: 11.02 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.6194, allocations: 0 / 0.7259 GB, free: 11.02 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.0006614/0.62, allocations: 389.3 kB / 0.7263 GB, free: 10.59 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.6201, allocations: 8.031 kB / 0.7263 GB, free: 10.58 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.6201, allocations: 8.844 kB / 0.7263 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.6203, allocations: 184.2 kB / 0.7264 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.6203, allocations: 4.375 kB / 0.7264 GB, free: 10.35 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.6203, allocations: 12.36 kB / 0.7265 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003275/0.6207, allocations: 108.7 kB / 0.7266 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.6207, allocations: 192 / 0.7266 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.6207, allocations: 7.875 kB / 0.7266 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.6207, allocations: 0 / 0.7266 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003816/0.6211, allocations: 99.91 kB / 0.7267 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005959/0.6217, allocations: 348.5 kB / 0.727 GB, free: 9.734 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006542/0.6224, allocations: 122.6 kB / 0.7271 GB, free: 9.605 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001921/0.6226, allocations: 48.81 kB / 0.7272 GB, free: 9.555 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.6226, allocations: 0 / 0.7272 GB, free: 9.555 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.6227, allocations: 42.5 kB / 0.7272 GB, free: 9.504 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 2.845e-06/0.6227, allocations: 4 kB / 0.7272 GB, free: 9.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.000684/0.6234, allocations: 185.4 kB / 0.7274 GB, free: 9.312 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.379e-05/0.6234, allocations: 51.41 kB / 0.7274 GB, free: 9.25 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.6236, allocations: 117.8 kB / 0.7275 GB, free: 9.125 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.6236, allocations: 29.7 kB / 0.7276 GB, free: 9.09 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.819e-05/0.6237, allocations: 96.03 kB / 0.7277 GB, free: 8.992 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.31e-05/0.6237, allocations: 19.73 kB / 0.7277 GB, free: 8.973 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.521e-05/0.6238, allocations: 29.7 kB / 0.7277 GB, free: 8.938 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.624, allocations: 322.8 kB / 0.728 GB, free: 8.613 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.6241, allocations: 43.95 kB / 0.7281 GB, free: 8.57 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.6243, allocations: 51.95 kB / 0.7281 GB, free: 8.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003542/0.6247, allocations: 100.7 kB / 0.7282 GB, free: 8.418 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.6247, allocations: 0 / 0.7282 GB, free: 8.418 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004196/0.6251, allocations: 137.5 kB / 0.7283 GB, free: 8.277 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.6252, allocations: 4 kB / 0.7283 GB, free: 8.273 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.6252, allocations: 0 / 0.7283 GB, free: 8.273 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.6252, allocations: 0 / 0.7283 GB, free: 8.273 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.6254, allocations: 23.97 kB / 0.7284 GB, free: 8.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.6254, allocations: 0 / 0.7284 GB, free: 8.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.6255, allocations: 15.97 kB / 0.7284 GB, free: 8.234 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.6255, allocations: 4 kB / 0.7284 GB, free: 8.23 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,min1.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.0001016/0.6256, allocations: 125.7 kB / 0.7285 GB, free: 8.098 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/0.6257, allocations: 3.906 kB / 0.7285 GB, free: 8.094 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004536/0.6261, allocations: 157.9 kB / 0.7287 GB, free: 7.934 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.6261, allocations: 4 kB / 0.7287 GB, free: 7.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.6261, allocations: 0 / 0.7287 GB, free: 7.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.6261, allocations: 4 kB / 0.7287 GB, free: 7.926 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.6264, allocations: 201.5 kB / 0.7289 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.6264, allocations: 0 / 0.7289 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.6265, allocations: 27.91 kB / 0.7289 GB, free: 7.652 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.6265, allocations: 3.938 kB / 0.7289 GB, free: 7.648 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.6266, allocations: 0 / 0.7289 GB, free: 7.648 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.6266, allocations: 4 kB / 0.7289 GB, free: 7.645 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6266, allocations: 0.625 kB / 0.7289 GB, free: 7.645 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004319/0.627, allocations: 251.2 kB / 0.7291 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.066e-05/0.6271, allocations: 84.95 kB / 0.7292 GB, free: 7.281 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.6271, allocations: 4 kB / 0.7292 GB, free: 7.277 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.6272, allocations: 11.97 kB / 0.7292 GB, free: 7.266 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.639e-05/0.6273, allocations: 19.98 kB / 0.7292 GB, free: 7.246 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.6273, allocations: 7.984 kB / 0.7293 GB, free: 7.238 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.948e-05/0.6274, allocations: 99.64 kB / 0.7293 GB, free: 7.141 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6274, allocations: 0 / 0.7293 GB, free: 7.141 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000227/0.6277, allocations: 16 kB / 0.7294 GB, free: 7.125 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 (min1.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.0001532/0.6278, allocations: 106.5 kB / 0.7295 GB, free: 7.016 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004044/0.6282, allocations: 103.9 kB / 0.7296 GB, free: 6.914 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.6282, allocations: 0 / 0.7296 GB, free: 6.914 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002085/0.6284, allocations: 67.88 kB / 0.7296 GB, free: 6.848 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.6288, allocations: 8 kB / 0.7296 GB, free: 6.84 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005344/0.6294, allocations: 195.9 kB / 0.7298 GB, free: 6.617 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.6297, allocations: 0.6926 MB / 0.7305 GB, free: 5.898 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.388e-05/0.6298, allocations: 15.73 kB / 0.7305 GB, free: 5.883 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.234e-05/0.6299, allocations: 15.44 kB / 0.7305 GB, free: 5.867 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.6299, allocations: 0 / 0.7305 GB, free: 5.867 MB / 0.545 GB Notification: Performance of Templates: time 0.003516/0.6334, allocations: 1.352 MB / 0.7319 GB, free: 4.523 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1)