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.00142/0.00142, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 188.9 kB / 16.62 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.648/1.648, allocations: 205.1 MB / 222.5 MB, free: 4.574 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.926/1.926, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001693/0.001693, allocations: 68.95 kB / 0.6723 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3163, allocations: 114.6 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002644/0.319, allocations: 0.7733 MB / 0.7849 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.3204, allocations: 0.8631 MB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.701e-05/0.3205, allocations: 8 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.623e-05/0.3206, allocations: 7.875 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.3207, allocations: 3.938 kB / 0.7858 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002288/0.3209, allocations: 47.88 kB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.3211, allocations: 83.83 kB / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.3212, allocations: 27.97 kB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.3213, allocations: 39.84 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.926e-05/0.3214, allocations: 47.83 kB / 0.786 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.298e-05/0.3215, allocations: 8 kB / 0.786 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.003e-05/0.3215, allocations: 8 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.072e-05/0.3215, allocations: 19.91 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.208e-05/0.3216, allocations: 35.8 kB / 0.7861 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.3218, allocations: 87.72 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.3218, allocations: 3.938 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3218, allocations: 0 / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.3218, allocations: 0 / 0.7861 GB, free: 10.68 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.000785/0.3226, allocations: 395.1 kB / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.3227, allocations: 12.03 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.833e-05/0.3227, allocations: 8.844 kB / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.3229, allocations: 192.1 kB / 0.7867 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.3229, allocations: 4.375 kB / 0.7867 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.323, allocations: 8.375 kB / 0.7867 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003343/0.3233, allocations: 109.3 kB / 0.7868 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.3233, allocations: 192 / 0.7868 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.3234, allocations: 7.938 kB / 0.7868 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.3234, allocations: 0 / 0.7868 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003929/0.3238, allocations: 99.84 kB / 0.7869 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006599/0.3244, allocations: 336.7 kB / 0.7873 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006716/0.3251, allocations: 122.5 kB / 0.7874 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/0.3253, allocations: 52.81 kB / 0.7874 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.199e-05/0.3254, allocations: 7.984 kB / 0.7874 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.3254, allocations: 34.56 kB / 0.7875 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.3254, allocations: 0 / 0.7875 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.000779/0.3262, allocations: 177.5 kB / 0.7876 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.3263, allocations: 55.41 kB / 0.7877 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.3264, allocations: 125.7 kB / 0.7878 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.3264, allocations: 29.64 kB / 0.7878 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.058e-05/0.3265, allocations: 92.08 kB / 0.7879 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.777e-05/0.3265, allocations: 19.72 kB / 0.7879 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.212e-05/0.3266, allocations: 25.7 kB / 0.788 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.3267, allocations: 322.8 kB / 0.7883 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.3269, allocations: 47.95 kB / 0.7883 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.3271, allocations: 43.95 kB / 0.7884 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003644/0.3275, allocations: 104.8 kB / 0.7885 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3275, allocations: 0 / 0.7885 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000412/0.3279, allocations: 133.5 kB / 0.7886 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.3279, allocations: 11.94 kB / 0.7886 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.3279, allocations: 0 / 0.7886 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.3279, allocations: 0 / 0.7886 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.3281, allocations: 27.91 kB / 0.7886 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.3281, allocations: 0 / 0.7886 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.3283, allocations: 19.97 kB / 0.7887 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.609e-06/0.3283, allocations: 0 / 0.7887 GB, free: 7.879 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.603e-05/0.3284, allocations: 118.4 kB / 0.7888 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.3284, allocations: 7.906 kB / 0.7888 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004978/0.3289, allocations: 165.8 kB / 0.7889 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3289, allocations: 3.938 kB / 0.7889 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.3289, allocations: 4 kB / 0.7889 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.329, allocations: 0 / 0.7889 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002205/0.3292, allocations: 205.5 kB / 0.7891 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3292, allocations: 3.984 kB / 0.7891 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.3294, allocations: 23.97 kB / 0.7892 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3294, allocations: 0 / 0.7892 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.3294, allocations: 0 / 0.7892 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3294, allocations: 0 / 0.7892 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3294, allocations: 0 / 0.7892 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004651/0.3299, allocations: 239.9 kB / 0.7894 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.268e-05/0.3299, allocations: 81.11 kB / 0.7895 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.33, allocations: 0 / 0.7895 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.3301, allocations: 19.97 kB / 0.7895 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.761e-05/0.3302, allocations: 23.92 kB / 0.7895 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.3302, allocations: 0 / 0.7895 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.017e-05/0.3303, allocations: 99.27 kB / 0.7896 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3303, allocations: 0 / 0.7896 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002638/0.3306, allocations: 15.91 kB / 0.7896 GB, free: 6.789 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.0001438/0.3307, allocations: 103.2 kB / 0.7897 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004404/0.3312, allocations: 112 kB / 0.7898 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3312, allocations: 4 kB / 0.7898 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002132/0.3314, allocations: 63.88 kB / 0.7899 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.3318, allocations: 8.703 kB / 0.7899 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004659/0.3322, allocations: 182.1 kB / 0.7901 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.3325, allocations: 0.6885 MB / 0.7907 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.003e-05/0.3326, allocations: 12 kB / 0.7908 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.882e-05/0.3327, allocations: 15.42 kB / 0.7908 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.3327, allocations: 0 / 0.7908 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of Templates: time 0.004257/0.337, allocations: 1.575 MB / 0.7923 GB, free: 3.98 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)