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.001695/0.001695, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001303/0.001303, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.809/1.809, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.63/1.63, allocations: 251.9 MB / 0.51 GB, free: 4.82 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.0008565/0.0008566, allocations: 19.28 kB / 0.6241 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6232/0.6241, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002199/0.6264, allocations: 1.19 MB / 0.7291 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006692/0.6271, allocations: 180.4 kB / 0.7293 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.002e-05/0.6272, allocations: 0 / 0.7293 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.118e-05/0.6272, allocations: 3.938 kB / 0.7293 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.6273, allocations: 0 / 0.7293 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002289/0.6276, allocations: 31.95 kB / 0.7293 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.6277, allocations: 47.89 kB / 0.7294 GB, free: 9.973 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.6279, allocations: 31.84 kB / 0.7294 GB, free: 9.941 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.628, allocations: 31.91 kB / 0.7295 GB, free: 9.91 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.6282, allocations: 43.81 kB / 0.7295 GB, free: 9.867 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.142e-05/0.6282, allocations: 4 kB / 0.7295 GB, free: 9.863 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.135e-05/0.6282, allocations: 4 kB / 0.7295 GB, free: 9.859 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.893e-05/0.6283, allocations: 15.92 kB / 0.7295 GB, free: 9.844 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.697e-05/0.6283, allocations: 25.7 kB / 0.7295 GB, free: 9.812 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.6284, allocations: 59.86 kB / 0.7296 GB, free: 9.754 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6284, allocations: 4 kB / 0.7296 GB, free: 9.75 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.144e-06/0.6284, allocations: 0 / 0.7296 GB, free: 9.75 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.6285, allocations: 0 / 0.7296 GB, free: 9.75 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.0008735/0.6293, allocations: 389.1 kB / 0.73 GB, free: 9.324 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.533e-05/0.6294, allocations: 8.031 kB / 0.73 GB, free: 9.316 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.186e-05/0.6295, allocations: 7.906 kB / 0.73 GB, free: 9.309 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.6298, allocations: 178.9 kB / 0.7302 GB, free: 9.094 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.606e-05/0.6299, allocations: 12 kB / 0.7302 GB, free: 9.082 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.686e-05/0.6299, allocations: 4 kB / 0.7302 GB, free: 9.078 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004207/0.6303, allocations: 121.6 kB / 0.7303 GB, free: 8.953 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.6304, allocations: 0 / 0.7303 GB, free: 8.953 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.6304, allocations: 0 / 0.7303 GB, free: 8.953 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.6304, allocations: 8 kB / 0.7303 GB, free: 8.945 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003896/0.6308, allocations: 111.9 kB / 0.7304 GB, free: 8.836 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006545/0.6315, allocations: 352.5 kB / 0.7307 GB, free: 8.441 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006329/0.6321, allocations: 134.5 kB / 0.7309 GB, free: 8.301 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.6322, allocations: 0 / 0.7309 GB, free: 8.301 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.6322, allocations: 34.56 kB / 0.7309 GB, free: 8.258 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 2.324e-06/0.6322, allocations: 3.984 kB / 0.7309 GB, free: 8.254 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0007196/0.6329, allocations: 225.5 kB / 0.7311 GB, free: 8.027 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.633, allocations: 51.41 kB / 0.7312 GB, free: 7.965 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.6331, allocations: 121.8 kB / 0.7313 GB, free: 7.836 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.309e-05/0.6331, allocations: 25.7 kB / 0.7313 GB, free: 7.805 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.563e-05/0.6332, allocations: 100 kB / 0.7314 GB, free: 7.703 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.6333, allocations: 15.75 kB / 0.7314 GB, free: 7.688 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.047e-05/0.6333, allocations: 7.938 kB / 0.7314 GB, free: 7.68 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.6334, allocations: 322.8 kB / 0.7317 GB, free: 7.355 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.6336, allocations: 51.95 kB / 0.7318 GB, free: 7.305 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/0.6338, allocations: 63.95 kB / 0.7319 GB, free: 7.242 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001917/0.634, allocations: 55.95 kB / 0.7319 GB, free: 7.188 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.634, allocations: 0 / 0.7319 GB, free: 7.188 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004573/0.6345, allocations: 158 kB / 0.7321 GB, free: 7.027 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.6345, allocations: 4 kB / 0.7321 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.6345, allocations: 0 / 0.7321 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.6346, allocations: 3.953 kB / 0.7321 GB, free: 7.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.6347, allocations: 31.97 kB / 0.7321 GB, free: 6.988 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.6348, allocations: 4.062 kB / 0.7321 GB, free: 6.984 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.6349, allocations: 23.97 kB / 0.7321 GB, free: 6.961 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.6349, allocations: 3.938 kB / 0.7321 GB, free: 6.957 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 (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 initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001233/0.635, allocations: 113.8 kB / 0.7322 GB, free: 6.836 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.6351, allocations: 7.906 kB / 0.7322 GB, free: 6.828 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005115/0.6356, allocations: 177.9 kB / 0.7324 GB, free: 6.648 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.6356, allocations: 3.953 kB / 0.7324 GB, free: 6.645 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.769e-06/0.6356, allocations: 4 kB / 0.7324 GB, free: 6.641 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.6356, allocations: 4 kB / 0.7324 GB, free: 6.637 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002397/0.6359, allocations: 193.6 kB / 0.7326 GB, free: 6.398 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.6359, allocations: 0 / 0.7326 GB, free: 6.398 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.6361, allocations: 31.91 kB / 0.7326 GB, free: 6.367 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.6361, allocations: 4 kB / 0.7326 GB, free: 6.363 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.6361, allocations: 0 / 0.7326 GB, free: 6.363 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.6361, allocations: 0 / 0.7326 GB, free: 6.363 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.6361, allocations: 3.953 kB / 0.7326 GB, free: 6.359 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004976/0.6366, allocations: 263.3 kB / 0.7329 GB, free: 6.086 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.274e-05/0.6367, allocations: 88.95 kB / 0.733 GB, free: 5.98 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.6367, allocations: 0 / 0.733 GB, free: 5.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.6368, allocations: 19.97 kB / 0.733 GB, free: 5.961 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.999e-05/0.6369, allocations: 19.97 kB / 0.733 GB, free: 5.941 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.637, allocations: 11.95 kB / 0.733 GB, free: 5.93 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.508e-05/0.637, allocations: 95.27 kB / 0.7331 GB, free: 5.836 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.51e-07/0.637, allocations: 0 / 0.7331 GB, free: 5.836 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002349/0.6373, allocations: 15.94 kB / 0.7331 GB, free: 5.82 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001656/0.6375, allocations: 107.2 kB / 0.7332 GB, free: 5.707 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004654/0.6379, allocations: 119.9 kB / 0.7334 GB, free: 5.59 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.6379, allocations: 0 / 0.7334 GB, free: 5.59 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000229/0.6382, allocations: 79.88 kB / 0.7334 GB, free: 5.512 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.6385, allocations: 11.94 kB / 0.7334 GB, free: 5.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005544/0.639, allocations: 185.3 kB / 0.7336 GB, free: 5.285 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/0.6395, allocations: 0.6965 MB / 0.7343 GB, free: 4.562 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.293e-05/0.6396, allocations: 15.94 kB / 0.7343 GB, free: 4.543 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.949e-05/0.6396, allocations: 19.42 kB / 0.7343 GB, free: 4.523 MB / 0.545 GB Notification: Performance of SimCode: time 5.71e-07/0.6396, allocations: 0 / 0.7343 GB, free: 4.523 MB / 0.545 GB Notification: Performance of Templates: time 0.004598/0.6442, allocations: 1.296 MB / 0.7356 GB, free: 3.234 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: