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.001118/0.001119, allocations: 103.5 kB / 16.35 MB, free: 5.879 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.001046/0.001046, allocations: 192.4 kB / 17.28 MB, free: 5.516 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.421/1.421, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.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.804/1.804, allocations: 292.3 MB / 0.5496 GB, free: 17.62 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.001441/0.001441, allocations: 75.91 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2696, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002418/0.2721, allocations: 0.7746 MB / 0.7855 GB, free: 2.383 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.2733, allocations: 0.8631 MB / 0.7864 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.238e-05/0.2734, allocations: 4 kB / 0.7864 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.289e-05/0.2734, allocations: 7.875 kB / 0.7864 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.73e-05/0.2735, allocations: 7.938 kB / 0.7864 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002118/0.2738, allocations: 43.89 kB / 0.7864 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.2739, allocations: 83.81 kB / 0.7865 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.2741, allocations: 23.98 kB / 0.7866 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.925e-05/0.2742, allocations: 39.84 kB / 0.7866 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.794e-05/0.2743, allocations: 51.81 kB / 0.7866 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.837e-05/0.2743, allocations: 8 kB / 0.7866 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 2.224e-05/0.2743, allocations: 12 kB / 0.7867 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.984e-05/0.2744, allocations: 15.92 kB / 0.7867 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.466e-05/0.2744, allocations: 43.78 kB / 0.7867 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.2746, allocations: 83.72 kB / 0.7868 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2746, allocations: 0 / 0.7868 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2746, allocations: 0 / 0.7868 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.2746, allocations: 0 / 0.7868 GB, free: 1.086 MB / 0.6544 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.0006949/0.2753, allocations: 391.2 kB / 0.7872 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.2754, allocations: 16.03 kB / 0.7872 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.267e-05/0.2754, allocations: 12.84 kB / 0.7872 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.2756, allocations: 180.1 kB / 0.7874 GB, free: 420 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.2756, allocations: 8.359 kB / 0.7874 GB, free: 412 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.2756, allocations: 4.375 kB / 0.7874 GB, free: 408 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003163/0.2759, allocations: 102.2 kB / 0.7875 GB, free: 300 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.276, allocations: 192 / 0.7875 GB, free: 300 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.276, allocations: 3.938 kB / 0.7875 GB, free: 296 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.276, allocations: 8 kB / 0.7875 GB, free: 288 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003727/0.2764, allocations: 99.91 kB / 0.7876 GB, free: 188 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3979/0.6743, allocations: 339.4 kB / 0.7879 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006628/0.675, allocations: 120.5 kB / 0.788 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000174/0.6752, allocations: 61.12 kB / 0.7881 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.6752, allocations: 1.094 kB / 0.7881 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.6752, allocations: 33.25 kB / 0.7881 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 2.154e-06/0.6752, allocations: 0 / 0.7881 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0006074/0.6759, allocations: 185.5 kB / 0.7883 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.6759, allocations: 54.75 kB / 0.7883 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.875e-05/0.676, allocations: 122.1 kB / 0.7885 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.676, allocations: 26.39 kB / 0.7885 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.971e-05/0.676, allocations: 94.14 kB / 0.7886 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.6761, allocations: 21.55 kB / 0.7886 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.716e-05/0.6761, allocations: 28.16 kB / 0.7886 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.149e-05/0.6762, allocations: 318.8 kB / 0.7889 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.6763, allocations: 46.92 kB / 0.789 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.6765, allocations: 47.02 kB / 0.789 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003017/0.6768, allocations: 99.45 kB / 0.7891 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.6768, allocations: 0 / 0.7891 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003614/0.6772, allocations: 137.9 kB / 0.7892 GB, free: 48 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.6772, allocations: 8.594 kB / 0.7892 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.6772, allocations: 0 / 0.7892 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.6772, allocations: 6.906 kB / 0.7893 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.6774, allocations: 23.55 kB / 0.7893 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.6774, allocations: 0 / 0.7893 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.6776, allocations: 22.34 kB / 0.7893 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.6776, allocations: 3.469 kB / 0.7893 GB, free: 47.99 MB / 0.6544 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 7.011e-05/0.6776, allocations: 122.6 kB / 0.7894 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.161e-05/0.6777, allocations: 6.688 kB / 0.7894 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004462/0.6781, allocations: 147.9 kB / 0.7896 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.6782, allocations: 5 kB / 0.7896 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.6782, allocations: 2.859 kB / 0.7896 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.6782, allocations: 2.906 kB / 0.7896 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.6783, allocations: 204.2 kB / 0.7898 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.6783, allocations: 2.625 kB / 0.7898 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/0.6785, allocations: 28.69 kB / 0.7898 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.6785, allocations: 0 / 0.7898 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.6785, allocations: 1.719 kB / 0.7898 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.6785, allocations: 2.625 kB / 0.7898 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.6786, allocations: 0 / 0.7898 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003928/0.679, allocations: 235.2 kB / 0.79 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.222e-05/0.679, allocations: 83.59 kB / 0.7901 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.679, allocations: 4.5 kB / 0.7901 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.6792, allocations: 16.2 kB / 0.7901 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.021e-05/0.6793, allocations: 19.84 kB / 0.7901 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-06/0.6793, allocations: 2.625 kB / 0.7902 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.185e-05/0.6793, allocations: 98.44 kB / 0.7902 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.6793, allocations: 0.625 kB / 0.7902 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002369/0.6796, allocations: 16.56 kB / 0.7903 GB, free: 47.34 MB / 0.6544 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.0001137/0.6797, allocations: 100.3 kB / 0.7904 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003947/0.6801, allocations: 105.2 kB / 0.7905 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.6801, allocations: 0.5 kB / 0.7905 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001864/0.6803, allocations: 64.7 kB / 0.7905 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.6806, allocations: 23.05 kB / 0.7905 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003957/0.681, allocations: 175.2 kB / 0.7907 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.6812, allocations: 0.6898 MB / 0.7914 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.537e-05/0.6812, allocations: 8.656 kB / 0.7914 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.737e-05/0.6813, allocations: 23.88 kB / 0.7914 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of SimCode: time 3.1e-07/0.6813, allocations: 0 / 0.7914 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of Templates: time 0.003351/0.6847, allocations: 1.579 MB / 0.793 GB, free: 46.4 MB / 0.6544 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1)