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.0009746/0.0009747, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008712/0.008713, allocations: 171.2 kB / 16.26 MB, free: 6.613 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.967/1.967, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.856/1.856, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0006123/0.0006124, allocations: 15.34 kB / 0.6743 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3161, allocations: 116.3 MB / 0.7879 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001068/0.3172, allocations: 0.4932 MB / 0.7884 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.3183, allocations: 0.8682 MB / 0.7892 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.81e-05/0.3183, allocations: 0 / 0.7892 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.206e-05/0.3184, allocations: 3.938 kB / 0.7892 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.946e-05/0.3185, allocations: 11.91 kB / 0.7892 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001728/0.3187, allocations: 27.97 kB / 0.7893 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.3188, allocations: 79.83 kB / 0.7893 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.3189, allocations: 23.98 kB / 0.7894 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.313e-05/0.319, allocations: 35.84 kB / 0.7894 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.3191, allocations: 43.81 kB / 0.7894 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.3191, allocations: 4 kB / 0.7894 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.535e-05/0.3192, allocations: 4 kB / 0.7894 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.617e-05/0.3192, allocations: 19.86 kB / 0.7895 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.41e-05/0.3193, allocations: 53.5 kB / 0.7895 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.3194, allocations: 83.7 kB / 0.7896 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3194, allocations: 0 / 0.7896 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.492e-06/0.3194, allocations: 0 / 0.7896 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.3194, allocations: 0 / 0.7896 GB, free: 9.797 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.0006955/0.3201, allocations: 395.5 kB / 0.79 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.3202, allocations: 8.031 kB / 0.79 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.266e-05/0.3202, allocations: 8.844 kB / 0.79 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.3204, allocations: 176.2 kB / 0.7902 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.3205, allocations: 8.375 kB / 0.7902 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.3205, allocations: 4.375 kB / 0.7902 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003406/0.3208, allocations: 118.2 kB / 0.7903 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.3209, allocations: 192 / 0.7903 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.3209, allocations: 11.94 kB / 0.7903 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3209, allocations: 0 / 0.7903 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003913/0.3213, allocations: 115.9 kB / 0.7904 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005783/0.3219, allocations: 344.6 kB / 0.7907 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006437/0.3225, allocations: 126.6 kB / 0.7909 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002286/0.3228, allocations: 68.81 kB / 0.7909 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.3228, allocations: 7.922 kB / 0.7909 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.3228, allocations: 34.5 kB / 0.791 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.3228, allocations: 0 / 0.791 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0007327/0.3236, allocations: 217.5 kB / 0.7912 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.3236, allocations: 55.41 kB / 0.7912 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.3238, allocations: 121.8 kB / 0.7913 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.3238, allocations: 25.7 kB / 0.7914 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.796e-05/0.3239, allocations: 99.97 kB / 0.7915 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.3239, allocations: 15.81 kB / 0.7915 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-05/0.324, allocations: 21.7 kB / 0.7915 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.3242, allocations: 314.8 kB / 0.7918 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.3244, allocations: 55.95 kB / 0.7918 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001848/0.3246, allocations: 59.95 kB / 0.7919 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003783/0.325, allocations: 128.7 kB / 0.792 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.325, allocations: 0 / 0.792 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004393/0.3254, allocations: 157.5 kB / 0.7922 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.3254, allocations: 11.98 kB / 0.7922 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3255, allocations: 0 / 0.7922 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.3255, allocations: 0 / 0.7922 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.3256, allocations: 31.97 kB / 0.7922 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3257, allocations: 0 / 0.7922 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.3258, allocations: 19.98 kB / 0.7922 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.3258, allocations: 8.484 kB / 0.7922 GB, free: 6.855 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 0.0001074/0.3259, allocations: 121.7 kB / 0.7924 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.326, allocations: 11.89 kB / 0.7924 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005253/0.3265, allocations: 173.9 kB / 0.7925 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3265, allocations: 0 / 0.7925 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.3265, allocations: 0 / 0.7925 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3265, allocations: 0 / 0.7925 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002228/0.3268, allocations: 213.5 kB / 0.7927 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3268, allocations: 0 / 0.7927 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.3269, allocations: 31.97 kB / 0.7928 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3269, allocations: 3.938 kB / 0.7928 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.044e-05/0.327, allocations: 4 kB / 0.7928 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.327, allocations: 80 / 0.7928 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.327, allocations: 3.984 kB / 0.7928 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004977/0.3275, allocations: 259.3 kB / 0.793 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.748e-05/0.3276, allocations: 81.02 kB / 0.7931 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.3276, allocations: 7.984 kB / 0.7931 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.3278, allocations: 19.98 kB / 0.7931 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.384e-05/0.3279, allocations: 19.97 kB / 0.7932 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.3279, allocations: 4 kB / 0.7932 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.145e-05/0.328, allocations: 91.27 kB / 0.7932 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.328, allocations: 0 / 0.7932 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002266/0.3282, allocations: 16 kB / 0.7933 GB, free: 5.715 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.0001376/0.3283, allocations: 111.1 kB / 0.7934 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004616/0.3288, allocations: 131.9 kB / 0.7935 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3288, allocations: 0 / 0.7935 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002157/0.329, allocations: 67.95 kB / 0.7936 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.3294, allocations: 11.92 kB / 0.7936 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004742/0.3299, allocations: 201.3 kB / 0.7938 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003878/0.3303, allocations: 0.6887 MB / 0.7944 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.967e-05/0.3304, allocations: 19.92 kB / 0.7945 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.336e-05/0.3304, allocations: 11.44 kB / 0.7945 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of SimCode: time 3e-07/0.3304, allocations: 0 / 0.7945 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of Templates: time 0.003938/0.3344, allocations: 1.34 MB / 0.7958 GB, free: 3.086 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: