Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.734/1.734, allocations: 287.5 MB / 302.6 MB, free: 8.375 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001371/0.001371, allocations: 180.9 kB / 371.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.865/1.865, allocations: 205.4 MB / 0.6298 GB, free: 10.52 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001128/0.001128, allocations: 96.2 kB / 0.7432 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004488/0.0004489, allocations: 16.36 kB / 0.8661 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2911, allocations: 115.3 MB / 0.9787 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001159/0.2923, allocations: 489.5 kB / 0.9792 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.2935, allocations: 0.8439 MB / 0.98 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.239e-05/0.2937, allocations: 0 / 0.98 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.647e-05/0.2937, allocations: 3.938 kB / 0.98 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.2938, allocations: 15.91 kB / 0.98 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/0.2941, allocations: 31.97 kB / 0.98 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.2942, allocations: 75.81 kB / 0.9801 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.2944, allocations: 20 kB / 0.9801 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.2945, allocations: 27.91 kB / 0.9801 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.2946, allocations: 43.81 kB / 0.9802 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.2946, allocations: 4 kB / 0.9802 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.705e-05/0.2946, allocations: 8 kB / 0.9802 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.288e-05/0.2947, allocations: 11.92 kB / 0.9802 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.297e-05/0.2947, allocations: 37.64 kB / 0.9802 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.2948, allocations: 55.86 kB / 0.9803 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.071e-05/0.2949, allocations: 0 / 0.9803 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.226e-06/0.2949, allocations: 0 / 0.9803 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.307e-05/0.2949, allocations: 3.938 kB / 0.9803 GB, free: 26.48 MB / 0.6198 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.0007017/0.2956, allocations: 395.5 kB / 0.9807 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.738e-05/0.2957, allocations: 12.03 kB / 0.9807 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.506e-05/0.2957, allocations: 8.844 kB / 0.9807 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.2959, allocations: 176.2 kB / 0.9809 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.904e-05/0.2959, allocations: 384 / 0.9809 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.296, allocations: 8.375 kB / 0.9809 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003597/0.2963, allocations: 127 kB / 0.981 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.2964, allocations: 192 / 0.981 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.2964, allocations: 3.938 kB / 0.981 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.2964, allocations: 0 / 0.981 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000379/0.2968, allocations: 123.9 kB / 0.9811 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005892/0.2974, allocations: 348.6 kB / 0.9815 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006209/0.298, allocations: 134.6 kB / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002105/0.2983, allocations: 60.81 kB / 0.9816 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.2983, allocations: 4 kB / 0.9816 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.2983, allocations: 34.56 kB / 0.9817 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.2983, allocations: 0 / 0.9817 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0006576/0.299, allocations: 221.4 kB / 0.9819 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.299, allocations: 51.41 kB / 0.9819 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.324e-05/0.2991, allocations: 121.8 kB / 0.9821 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.2992, allocations: 29.7 kB / 0.9821 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.705e-05/0.2992, allocations: 104 kB / 0.9822 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.2992, allocations: 11.81 kB / 0.9822 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/0.2992, allocations: 4 kB / 0.9822 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.741e-05/0.2993, allocations: 318.8 kB / 0.9825 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/0.2995, allocations: 59.95 kB / 0.9826 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.2997, allocations: 55.95 kB / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003186/0.3, allocations: 117.2 kB / 0.9827 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3, allocations: 4 kB / 0.9827 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003823/0.3004, allocations: 161.4 kB / 0.9829 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.3004, allocations: 4 kB / 0.9829 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.3004, allocations: 4 kB / 0.9829 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.3005, allocations: 7.938 kB / 0.9829 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.3006, allocations: 27.97 kB / 0.9829 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.3007, allocations: 0 / 0.9829 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.3008, allocations: 23.97 kB / 0.9829 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.3008, allocations: 8 kB / 0.983 GB, free: 23.55 MB / 0.6198 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 9.872e-05/0.3009, allocations: 117.8 kB / 0.9831 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.44e-05/0.301, allocations: 7.906 kB / 0.9831 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004582/0.3014, allocations: 181.8 kB / 0.9832 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/0.3014, allocations: 4 kB / 0.9832 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3014, allocations: 3.938 kB / 0.9833 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3014, allocations: 0 / 0.9833 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.3016, allocations: 197.5 kB / 0.9834 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3016, allocations: 4 kB / 0.9834 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.3018, allocations: 31.97 kB / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.3018, allocations: 0 / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.3018, allocations: 0 / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.3018, allocations: 4 kB / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3018, allocations: 0 / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004538/0.3023, allocations: 267.2 kB / 0.9837 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.835e-05/0.3023, allocations: 89.02 kB / 0.9838 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.3024, allocations: 0 / 0.9838 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.3025, allocations: 23.97 kB / 0.9838 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.332e-05/0.3026, allocations: 15.98 kB / 0.9839 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.3026, allocations: 3.984 kB / 0.9839 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.85e-05/0.3027, allocations: 95.27 kB / 0.984 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3027, allocations: 0 / 0.984 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002161/0.3029, allocations: 20 kB / 0.984 GB, free: 22.41 MB / 0.6198 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.0001335/0.303, allocations: 99.19 kB / 0.9841 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004177/0.3035, allocations: 127.8 kB / 0.9842 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3035, allocations: 0 / 0.9842 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001985/0.3037, allocations: 75.94 kB / 0.9843 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.304, allocations: 5.828 kB / 0.9843 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004742/0.3045, allocations: 193.2 kB / 0.9845 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001927/0.3047, allocations: 0.7004 MB / 0.9851 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.064e-05/0.3048, allocations: 8 kB / 0.9851 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.404e-05/0.3049, allocations: 19.42 kB / 0.9852 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of SimCode: time 3.61e-07/0.3049, allocations: 0 / 0.9852 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of Templates: time 0.003977/0.3089, allocations: 1.298 MB / 0.9864 GB, free: 19.84 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1)