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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.48/1.48, allocations: 252 MB / 268 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001117/0.001117, allocations: 184 kB / 327.6 MB, free: 2.086 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.866/1.866, allocations: 205.4 MB / 0.5786 GB, free: 20.15 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 81.92 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003199/0.0003199, allocations: 11.09 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2095, allocations: 106.3 MB / 0.9015 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001478/0.211, allocations: 1.202 MB / 0.9026 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003719/0.2114, allocations: 180.3 kB / 0.9028 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.863e-05/0.2114, allocations: 4 kB / 0.9028 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.507e-05/0.2115, allocations: 7.922 kB / 0.9028 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.499e-05/0.2116, allocations: 3.938 kB / 0.9028 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001666/0.2118, allocations: 43.95 kB / 0.9029 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.516e-05/0.2118, allocations: 71.89 kB / 0.9029 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.212, allocations: 35.84 kB / 0.903 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.3e-05/0.2121, allocations: 27.86 kB / 0.903 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.439e-05/0.2121, allocations: 43.81 kB / 0.903 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.2122, allocations: 8 kB / 0.9031 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.456e-05/0.2122, allocations: 4 kB / 0.9031 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.167e-05/0.2122, allocations: 11.92 kB / 0.9031 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.359e-05/0.2123, allocations: 57.5 kB / 0.9031 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.054e-05/0.2124, allocations: 59.84 kB / 0.9032 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2124, allocations: 0 / 0.9032 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.744e-06/0.2124, allocations: 0 / 0.9032 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.2124, allocations: 0 / 0.9032 GB, free: 61.71 MB / 0.6042 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.0005468/0.2129, allocations: 387.6 kB / 0.9035 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.213, allocations: 8.031 kB / 0.9036 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.597e-05/0.213, allocations: 8.844 kB / 0.9036 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.2131, allocations: 180.2 kB / 0.9037 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.2132, allocations: 4.375 kB / 0.9037 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.2132, allocations: 8.375 kB / 0.9037 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002903/0.2135, allocations: 114.2 kB / 0.9039 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.2135, allocations: 192 / 0.9039 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.2135, allocations: 7.938 kB / 0.9039 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.2135, allocations: 0 / 0.9039 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003517/0.2139, allocations: 127.8 kB / 0.904 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004705/0.2144, allocations: 344.5 kB / 0.9043 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005857/0.215, allocations: 134.6 kB / 0.9044 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.2152, allocations: 64.81 kB / 0.9045 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.2152, allocations: 0 / 0.9045 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.2152, allocations: 42.5 kB / 0.9045 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.2152, allocations: 0 / 0.9045 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0006208/0.2158, allocations: 213.5 kB / 0.9048 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.2159, allocations: 55.41 kB / 0.9048 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.5e-05/0.216, allocations: 125.7 kB / 0.9049 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.216, allocations: 29.7 kB / 0.905 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.875e-05/0.2161, allocations: 96.08 kB / 0.905 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.2161, allocations: 19.64 kB / 0.9051 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.217e-06/0.2161, allocations: 4 kB / 0.9051 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.063e-05/0.2162, allocations: 318.8 kB / 0.9054 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.2164, allocations: 55.95 kB / 0.9054 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.2165, allocations: 63.89 kB / 0.9055 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003377/0.2169, allocations: 117.2 kB / 0.9056 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2169, allocations: 0 / 0.9056 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003945/0.2173, allocations: 165.6 kB / 0.9058 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.2173, allocations: 4 kB / 0.9058 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2173, allocations: 4 kB / 0.9058 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.2174, allocations: 0 / 0.9058 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.2175, allocations: 31.97 kB / 0.9058 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.2176, allocations: 0 / 0.9058 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.2177, allocations: 27.83 kB / 0.9058 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.2177, allocations: 4 kB / 0.9058 GB, free: 58.78 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.883e-05/0.2178, allocations: 121.8 kB / 0.9059 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/0.2178, allocations: 7.906 kB / 0.9059 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004491/0.2183, allocations: 166 kB / 0.9061 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.2183, allocations: 0 / 0.9061 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.2183, allocations: 4 kB / 0.9061 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.2183, allocations: 0 / 0.9061 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.2185, allocations: 197.5 kB / 0.9063 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2185, allocations: 4 kB / 0.9063 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.2187, allocations: 35.91 kB / 0.9063 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2187, allocations: 0 / 0.9063 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.2187, allocations: 0 / 0.9063 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2187, allocations: 0 / 0.9063 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2187, allocations: 3.984 kB / 0.9063 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004127/0.2191, allocations: 263.3 kB / 0.9066 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.995e-05/0.2192, allocations: 93.03 kB / 0.9067 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.2192, allocations: 3.938 kB / 0.9067 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.2193, allocations: 19.98 kB / 0.9067 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.817e-05/0.2194, allocations: 19.97 kB / 0.9067 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.2194, allocations: 3.938 kB / 0.9067 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.304e-05/0.2195, allocations: 95.27 kB / 0.9068 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2195, allocations: 0 / 0.9068 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002149/0.2197, allocations: 23.91 kB / 0.9068 GB, free: 57.64 MB / 0.6042 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.0001279/0.2198, allocations: 103.1 kB / 0.9069 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004292/0.2203, allocations: 127.9 kB / 0.9071 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2203, allocations: 0 / 0.9071 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001863/0.2205, allocations: 71.89 kB / 0.9071 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.2208, allocations: 14.22 kB / 0.9071 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004271/0.2213, allocations: 219.1 kB / 0.9073 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001395/0.2214, allocations: 0.6926 MB / 0.908 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.496e-05/0.2215, allocations: 15.42 kB / 0.908 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of SimCode: time 3.11e-07/0.2215, allocations: 0 / 0.908 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of Templates: time 0.002343/0.2238, allocations: 1.231 MB / 0.9092 GB, free: 55.11 MB / 0.6042 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)