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 / 267.6 MB, free: 10.97 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.001019/0.001019, allocations: 184.1 kB / 327.3 MB, free: 2.203 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.831/1.831, allocations: 205.4 MB / 0.5783 GB, free: 20.2 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.0007391/0.0007391, allocations: 86.36 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003447/0.0003449, allocations: 10.75 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2092, allocations: 106.3 MB / 0.9008 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001654/0.2109, allocations: 1.175 MB / 0.902 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004726/0.2114, allocations: 184.3 kB / 0.9022 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.172e-05/0.2115, allocations: 4 kB / 0.9022 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.826e-05/0.2115, allocations: 3.938 kB / 0.9022 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.2116, allocations: 11.92 kB / 0.9022 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001868/0.2118, allocations: 31.97 kB / 0.9022 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.2119, allocations: 71.81 kB / 0.9023 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.2121, allocations: 27.92 kB / 0.9023 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.267e-05/0.2122, allocations: 31.84 kB / 0.9023 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.749e-05/0.2123, allocations: 39.83 kB / 0.9024 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.2123, allocations: 4 kB / 0.9024 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.582e-05/0.2123, allocations: 4 kB / 0.9024 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.883e-05/0.2124, allocations: 15.92 kB / 0.9024 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.645e-05/0.2124, allocations: 29.7 kB / 0.9024 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.773e-05/0.2125, allocations: 55.84 kB / 0.9025 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.2125, allocations: 0 / 0.9025 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.675e-06/0.2125, allocations: 8 kB / 0.9025 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.2125, allocations: 0 / 0.9025 GB, free: 62.18 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.000639/0.2132, allocations: 387.4 kB / 0.9029 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.2132, allocations: 12.02 kB / 0.9029 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.12e-05/0.2133, allocations: 11.91 kB / 0.9029 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.2134, allocations: 174.9 kB / 0.9031 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.2134, allocations: 4 kB / 0.9031 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.2135, allocations: 8 kB / 0.9031 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003126/0.2138, allocations: 109.6 kB / 0.9032 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.2138, allocations: 4 kB / 0.9032 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.2138, allocations: 0 / 0.9032 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.2138, allocations: 4 kB / 0.9032 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003615/0.2142, allocations: 119.9 kB / 0.9033 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000492/0.2147, allocations: 348.5 kB / 0.9036 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005845/0.2153, allocations: 134.5 kB / 0.9037 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/0.2155, allocations: 72.75 kB / 0.9038 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.2155, allocations: 0 / 0.9038 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.2156, allocations: 38.5 kB / 0.9039 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.2156, allocations: 0 / 0.9039 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.000645/0.2162, allocations: 225.4 kB / 0.9041 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.2163, allocations: 55.39 kB / 0.9041 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.939e-05/0.2163, allocations: 121.8 kB / 0.9042 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.2164, allocations: 25.7 kB / 0.9043 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.942e-05/0.2164, allocations: 100 kB / 0.9044 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.2164, allocations: 11.75 kB / 0.9044 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.684e-06/0.2165, allocations: 4 kB / 0.9044 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.828e-05/0.2165, allocations: 322.8 kB / 0.9047 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.2167, allocations: 55.89 kB / 0.9047 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/0.2169, allocations: 63.95 kB / 0.9048 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.217, allocations: 47.97 kB / 0.9048 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2171, allocations: 0 / 0.9048 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003827/0.2174, allocations: 161.5 kB / 0.905 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.2175, allocations: 8 kB / 0.905 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2175, allocations: 3.953 kB / 0.905 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.2175, allocations: 4 kB / 0.905 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.2177, allocations: 31.97 kB / 0.905 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.2177, allocations: 0 / 0.905 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.2178, allocations: 19.97 kB / 0.9051 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.2178, allocations: 4 kB / 0.9051 GB, free: 59.33 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.917e-05/0.2179, allocations: 117.8 kB / 0.9052 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.2179, allocations: 7.906 kB / 0.9052 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004393/0.2184, allocations: 177.9 kB / 0.9054 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.2184, allocations: 3.953 kB / 0.9054 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.2184, allocations: 4 kB / 0.9054 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2184, allocations: 0 / 0.9054 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.2186, allocations: 189.6 kB / 0.9055 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2186, allocations: 11.92 kB / 0.9056 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.2188, allocations: 35.91 kB / 0.9056 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.2188, allocations: 0 / 0.9056 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.2188, allocations: 0 / 0.9056 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2188, allocations: 0 / 0.9056 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2188, allocations: 3.953 kB / 0.9056 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000415/0.2192, allocations: 259.3 kB / 0.9058 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.568e-05/0.2193, allocations: 93.02 kB / 0.9059 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.2193, allocations: 0 / 0.9059 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.2194, allocations: 19.97 kB / 0.9059 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.89e-05/0.2195, allocations: 23.88 kB / 0.906 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.2195, allocations: 7.984 kB / 0.906 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.877e-05/0.2196, allocations: 91.27 kB / 0.9061 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2196, allocations: 0 / 0.9061 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000217/0.2198, allocations: 19.94 kB / 0.9061 GB, free: 58.18 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 (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.0001077/0.2199, allocations: 107.2 kB / 0.9062 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004088/0.2203, allocations: 120.6 kB / 0.9063 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2203, allocations: 0 / 0.9063 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000192/0.2205, allocations: 79.88 kB / 0.9064 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.2208, allocations: 8 kB / 0.9064 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004193/0.2213, allocations: 211.2 kB / 0.9066 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/0.2214, allocations: 0.6926 MB / 0.9073 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.396e-05/0.2215, allocations: 19.44 kB / 0.9073 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of SimCode: time 4.01e-07/0.2215, allocations: 3.938 kB / 0.9073 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of Templates: time 0.002564/0.2241, allocations: 1.244 MB / 0.9085 GB, free: 55.65 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)