Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_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.00185/0.00185, 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.002352/0.002352, allocations: 191.5 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.605/1.605, allocations: 205.1 MB / 222 MB, free: 4.984 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.72/1.72, allocations: 292.2 MB / 0.5484 GB, free: 13.7 MB / 462.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.002141/0.002141, allocations: 66.7 kB / 0.6708 GB, free: 26.51 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.3006, allocations: 114.5 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002948/0.3037, allocations: 0.8342 MB / 0.7835 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001377/0.3051, allocations: 0.876 MB / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.377e-05/0.3051, allocations: 0 / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.549e-05/0.3052, allocations: 3.938 kB / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.916e-05/0.3053, allocations: 3.938 kB / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001808/0.3055, allocations: 35.95 kB / 0.7844 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.3056, allocations: 83.77 kB / 0.7845 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001861/0.3058, allocations: 23.98 kB / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.933e-05/0.3059, allocations: 35.89 kB / 0.7845 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.3061, allocations: 51.77 kB / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.826e-05/0.3061, allocations: 4 kB / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.785e-05/0.3061, allocations: 4 kB / 0.7846 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.948e-05/0.3061, allocations: 15.97 kB / 0.7846 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.991e-05/0.3062, allocations: 31.8 kB / 0.7846 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.3063, allocations: 79.72 kB / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.3063, allocations: 4 kB / 0.7847 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3064, allocations: 3.938 kB / 0.7847 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.9e-06/0.3064, allocations: 0 / 0.7847 GB, free: 11.9 MB / 0.6075 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.0006898/0.3071, allocations: 399.4 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.3071, allocations: 12.03 kB / 0.7851 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.299e-05/0.3072, allocations: 8.844 kB / 0.7851 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.3073, allocations: 176.2 kB / 0.7853 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.3074, allocations: 8.375 kB / 0.7853 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.3074, allocations: 8.375 kB / 0.7853 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003251/0.3077, allocations: 102.2 kB / 0.7854 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.3077, allocations: 192 / 0.7854 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/0.3078, allocations: 15.92 kB / 0.7854 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.3078, allocations: 0 / 0.7854 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003602/0.3082, allocations: 99.84 kB / 0.7855 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005821/0.3087, allocations: 340.6 kB / 0.7858 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006187/0.3094, allocations: 122.5 kB / 0.786 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.3096, allocations: 56.81 kB / 0.786 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.3096, allocations: 0 / 0.786 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.3096, allocations: 34.56 kB / 0.786 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.3096, allocations: 0 / 0.786 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0006794/0.3103, allocations: 181.5 kB / 0.7862 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.3104, allocations: 59.34 kB / 0.7863 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.3105, allocations: 121.8 kB / 0.7864 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.3105, allocations: 29.7 kB / 0.7864 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.451e-05/0.3106, allocations: 92.06 kB / 0.7865 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.3106, allocations: 23.72 kB / 0.7865 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.342e-05/0.3107, allocations: 25.7 kB / 0.7865 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.3108, allocations: 322.8 kB / 0.7869 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.311, allocations: 47.89 kB / 0.7869 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.3111, allocations: 43.95 kB / 0.7869 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003229/0.3114, allocations: 105.2 kB / 0.787 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3115, allocations: 0 / 0.787 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003814/0.3118, allocations: 137.4 kB / 0.7872 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.3119, allocations: 8 kB / 0.7872 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3119, allocations: 0 / 0.7872 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.3119, allocations: 7.938 kB / 0.7872 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.3121, allocations: 27.97 kB / 0.7872 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.3121, allocations: 0 / 0.7872 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.3122, allocations: 15.97 kB / 0.7872 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.3122, allocations: 4 kB / 0.7872 GB, free: 9.09 MB / 0.6075 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,max1.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 9.584e-05/0.3123, allocations: 114.7 kB / 0.7873 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.3124, allocations: 7.906 kB / 0.7874 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004519/0.3128, allocations: 161.8 kB / 0.7875 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.3129, allocations: 0 / 0.7875 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3129, allocations: 0 / 0.7875 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.3129, allocations: 0 / 0.7875 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002024/0.3131, allocations: 197.6 kB / 0.7877 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3131, allocations: 0 / 0.7877 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.3132, allocations: 35.95 kB / 0.7877 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3133, allocations: 0 / 0.7877 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.3133, allocations: 4 kB / 0.7877 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3133, allocations: 0 / 0.7877 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3133, allocations: 0 / 0.7877 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004857/0.3138, allocations: 247.2 kB / 0.788 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.352e-05/0.3138, allocations: 81.02 kB / 0.788 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.3139, allocations: 0 / 0.788 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.314, allocations: 15.98 kB / 0.7881 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.82e-05/0.3141, allocations: 19.97 kB / 0.7881 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.3141, allocations: 3.984 kB / 0.7881 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.632e-05/0.3142, allocations: 99.27 kB / 0.7882 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3142, allocations: 0 / 0.7882 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002264/0.3144, allocations: 16 kB / 0.7882 GB, free: 8.008 MB / 0.6075 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.0001392/0.3146, allocations: 99.19 kB / 0.7883 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004025/0.315, allocations: 103.9 kB / 0.7884 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.315, allocations: 0 / 0.7884 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001971/0.3152, allocations: 67.88 kB / 0.7885 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.3156, allocations: 12.77 kB / 0.7885 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004602/0.3161, allocations: 191.8 kB / 0.7886 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.3163, allocations: 0.6926 MB / 0.7893 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.645e-05/0.3164, allocations: 15.98 kB / 0.7893 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.945e-05/0.3165, allocations: 15.44 kB / 0.7894 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of SimCode: time 3.91e-07/0.3165, allocations: 0 / 0.7894 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of Templates: time 0.003935/0.3204, allocations: 1.351 MB / 0.7907 GB, free: 5.418 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1)