Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.833/1.833, allocations: 292.3 MB / 308.1 MB, free: 4.301 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.001269/0.001269, allocations: 178.4 kB / 376.9 MB, free: 1.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.838/1.838, allocations: 205 MB / 0.6354 GB, free: 9.797 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001132/0.001132, allocations: 102.1 kB / 0.748 GB, free: 61.18 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001417, allocations: 55.92 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2968, allocations: 114.6 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002602/0.2994, allocations: 0.8227 MB / 0.983 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001302/0.3008, allocations: 0.8671 MB / 0.9839 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.64e-05/0.3008, allocations: 0 / 0.9839 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.779e-05/0.3009, allocations: 3.938 kB / 0.9839 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.301, allocations: 7.938 kB / 0.9839 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.3013, allocations: 31.97 kB / 0.9839 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.3014, allocations: 83.81 kB / 0.984 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.3016, allocations: 27.98 kB / 0.984 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.3017, allocations: 35.8 kB / 0.9841 GB, free: 8.492 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.3018, allocations: 47.81 kB / 0.9841 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.038e-05/0.3018, allocations: 8 kB / 0.9841 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.858e-05/0.3019, allocations: 4 kB / 0.9841 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.053e-05/0.3019, allocations: 11.97 kB / 0.9841 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.759e-05/0.3019, allocations: 35.78 kB / 0.9842 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001281/0.3021, allocations: 87.72 kB / 0.9843 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.3021, allocations: 4 kB / 0.9843 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3021, allocations: 0 / 0.9843 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.299e-06/0.3021, allocations: 3.938 kB / 0.9843 GB, free: 8.293 MB / 0.7136 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.0007668/0.3029, allocations: 395.4 kB / 0.9846 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.3029, allocations: 8.031 kB / 0.9846 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.858e-05/0.303, allocations: 8.844 kB / 0.9847 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.3032, allocations: 184.2 kB / 0.9848 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.3032, allocations: 8.375 kB / 0.9848 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.3033, allocations: 4.375 kB / 0.9848 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003298/0.3036, allocations: 102.2 kB / 0.9849 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.3036, allocations: 192 / 0.9849 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.3036, allocations: 11.92 kB / 0.985 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.3037, allocations: 4 kB / 0.985 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003763/0.304, allocations: 99.91 kB / 0.9851 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005786/0.3046, allocations: 348.6 kB / 0.9854 GB, free: 7 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006166/0.3052, allocations: 118.6 kB / 0.9855 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.3055, allocations: 60.8 kB / 0.9856 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.3055, allocations: 0 / 0.9856 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.3055, allocations: 30.56 kB / 0.9856 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.3055, allocations: 3.938 kB / 0.9856 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.000664/0.3062, allocations: 185.5 kB / 0.9858 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.3062, allocations: 51.41 kB / 0.9858 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.3064, allocations: 121.8 kB / 0.9859 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.3064, allocations: 25.7 kB / 0.986 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.653e-05/0.3064, allocations: 100.1 kB / 0.9861 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.3065, allocations: 23.7 kB / 0.9861 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.782e-05/0.3065, allocations: 21.7 kB / 0.9861 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.3067, allocations: 326.8 kB / 0.9864 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.3069, allocations: 43.95 kB / 0.9864 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.3071, allocations: 47.89 kB / 0.9865 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003581/0.3074, allocations: 100.7 kB / 0.9866 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3074, allocations: 0 / 0.9866 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004046/0.3078, allocations: 133.5 kB / 0.9867 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.3079, allocations: 8 kB / 0.9867 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3079, allocations: 0 / 0.9867 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.3079, allocations: 4 kB / 0.9867 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.3081, allocations: 27.97 kB / 0.9868 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3081, allocations: 0 / 0.9868 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.3082, allocations: 11.98 kB / 0.9868 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.3082, allocations: 3.984 kB / 0.9868 GB, free: 5.496 MB / 0.7136 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,min1.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.0001066/0.3083, allocations: 125.7 kB / 0.9869 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.13e-05/0.3084, allocations: 11.91 kB / 0.9869 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004739/0.3089, allocations: 149.9 kB / 0.987 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.3089, allocations: 4 kB / 0.987 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3089, allocations: 3.938 kB / 0.9871 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3089, allocations: 3.984 kB / 0.9871 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.3091, allocations: 197.6 kB / 0.9872 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3091, allocations: 0 / 0.9872 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.3093, allocations: 27.97 kB / 0.9873 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.3093, allocations: 4 kB / 0.9873 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.3093, allocations: 3.984 kB / 0.9873 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3093, allocations: 3.938 kB / 0.9873 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.3093, allocations: 0 / 0.9873 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009226/0.3103, allocations: 0.8416 MB / 0.9881 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.684e-05/0.3103, allocations: 85.02 kB / 0.9882 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.3103, allocations: 0 / 0.9882 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.3105, allocations: 15.92 kB / 0.9882 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.586e-05/0.3106, allocations: 27.97 kB / 0.9882 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.3106, allocations: 4 kB / 0.9882 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.676e-05/0.3107, allocations: 91.7 kB / 0.9883 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3107, allocations: 0 / 0.9883 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003255/0.311, allocations: 16 kB / 0.9883 GB, free: 3.75 MB / 0.7136 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 (min1.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.0001287/0.3111, allocations: 107.2 kB / 0.9884 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004246/0.3116, allocations: 103.9 kB / 0.9885 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3116, allocations: 0 / 0.9885 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002068/0.3118, allocations: 68.08 kB / 0.9886 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.3122, allocations: 12.31 kB / 0.9886 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005288/0.3127, allocations: 314.8 kB / 0.9889 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/0.313, allocations: 0.6887 MB / 0.9896 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.843e-05/0.3131, allocations: 12 kB / 0.9896 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.116e-05/0.3132, allocations: 15.42 kB / 0.9896 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of SimCode: time 2e-07/0.3132, allocations: 0 / 0.9896 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of Templates: time 0.00357/0.3167, allocations: 1.399 MB / 0.991 GB, free: 0.9766 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1)