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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001331/0.001331, allocations: 192.8 kB / 16.13 MB, free: 6.664 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.318/1.318, allocations: 205.1 MB / 222 MB, free: 4.742 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.727/1.727, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001392/0.001392, allocations: 73.56 kB / 0.6709 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2095, allocations: 114.5 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001811/0.2114, allocations: 0.8417 MB / 0.7836 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008122/0.2122, allocations: 0.8604 MB / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.284e-05/0.2122, allocations: 7.938 kB / 0.7845 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.57e-05/0.2123, allocations: 3.984 kB / 0.7845 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.428e-05/0.2124, allocations: 3.938 kB / 0.7845 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001461/0.2125, allocations: 39.95 kB / 0.7845 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.911e-05/0.2126, allocations: 79.77 kB / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.2127, allocations: 27.98 kB / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.321e-05/0.2128, allocations: 31.91 kB / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.43e-05/0.2129, allocations: 39.83 kB / 0.7847 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.2129, allocations: 8 kB / 0.7847 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.622e-05/0.2129, allocations: 4 kB / 0.7847 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.91e-05/0.213, allocations: 27.84 kB / 0.7847 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.032e-05/0.213, allocations: 31.78 kB / 0.7848 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.738e-05/0.2131, allocations: 80.02 kB / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2131, allocations: 0 / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.42e-07/0.2131, allocations: 0 / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.446e-06/0.2132, allocations: 4 kB / 0.7848 GB, free: 11.82 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.0005699/0.2137, allocations: 395.1 kB / 0.7852 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2138, allocations: 8.031 kB / 0.7852 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.589e-05/0.2138, allocations: 42.73 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.416e-05/0.2139, allocations: 8.844 kB / 0.7853 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.214, allocations: 172.2 kB / 0.7854 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.214, allocations: 4.375 kB / 0.7854 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.214, allocations: 12.38 kB / 0.7855 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002903/0.2143, allocations: 110.1 kB / 0.7856 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.2143, allocations: 7.875 kB / 0.7856 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.2143, allocations: 0 / 0.7856 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.2144, allocations: 4 kB / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003526/0.2147, allocations: 99.84 kB / 0.7857 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005238/0.2152, allocations: 352.6 kB / 0.786 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006193/0.2159, allocations: 122.6 kB / 0.7861 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.2161, allocations: 52.81 kB / 0.7862 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.2161, allocations: 0 / 0.7862 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.2161, allocations: 34.56 kB / 0.7862 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.2161, allocations: 0 / 0.7862 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0006206/0.2167, allocations: 193.5 kB / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.2168, allocations: 51.41 kB / 0.7864 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.149e-05/0.2169, allocations: 121.8 kB / 0.7866 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.2169, allocations: 25.7 kB / 0.7866 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.392e-05/0.2169, allocations: 100.1 kB / 0.7867 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.217, allocations: 11.72 kB / 0.7867 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-05/0.217, allocations: 33.7 kB / 0.7867 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.611e-05/0.2171, allocations: 318.8 kB / 0.787 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.2173, allocations: 43.95 kB / 0.7871 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.2175, allocations: 51.95 kB / 0.7871 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003207/0.2178, allocations: 92.78 kB / 0.7872 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2178, allocations: 0 / 0.7872 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003779/0.2182, allocations: 141.4 kB / 0.7873 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.2182, allocations: 4 kB / 0.7873 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.2182, allocations: 0 / 0.7873 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.2182, allocations: 4 kB / 0.7873 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.2184, allocations: 23.97 kB / 0.7874 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.2184, allocations: 0 / 0.7874 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.2186, allocations: 23.91 kB / 0.7874 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.2186, allocations: 4 kB / 0.7874 GB, free: 8.965 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 8.442e-05/0.2187, allocations: 117.8 kB / 0.7875 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.099e-05/0.2187, allocations: 3.906 kB / 0.7875 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004478/0.2192, allocations: 165.8 kB / 0.7877 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.2192, allocations: 0 / 0.7877 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2192, allocations: 0 / 0.7877 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.2192, allocations: 0 / 0.7877 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.2194, allocations: 197.6 kB / 0.7879 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2194, allocations: 0 / 0.7879 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.2196, allocations: 27.97 kB / 0.7879 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.2196, allocations: 3.984 kB / 0.7879 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.2196, allocations: 0 / 0.7879 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2196, allocations: 4 kB / 0.7879 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2196, allocations: 3.938 kB / 0.7879 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004379/0.22, allocations: 247.8 kB / 0.7881 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.95e-05/0.2201, allocations: 77.11 kB / 0.7882 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.2201, allocations: 8 kB / 0.7882 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.2203, allocations: 11.98 kB / 0.7882 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.763e-05/0.2204, allocations: 19.97 kB / 0.7882 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.2204, allocations: 7.984 kB / 0.7883 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.925e-05/0.2204, allocations: 91.27 kB / 0.7883 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2204, allocations: 0 / 0.7883 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002297/0.2207, allocations: 27.84 kB / 0.7884 GB, free: 7.871 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.0007403/0.2214, allocations: 0.7632 MB / 0.7891 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003887/0.2218, allocations: 107.9 kB / 0.7892 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2218, allocations: 0 / 0.7892 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001961/0.222, allocations: 67.88 kB / 0.7893 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.2223, allocations: 8 kB / 0.7893 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/0.2242, allocations: 1.552 MB / 0.7908 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.2245, allocations: 0.6953 MB / 0.7915 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.128e-05/0.2245, allocations: 11.94 kB / 0.7915 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.568e-05/0.2246, allocations: 27.42 kB / 0.7915 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.2246, allocations: 0 / 0.7915 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.014/1.238, allocations: 2.325 MB / 0.7938 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002215/1.239, allocations: 214.1 kB / 0.794 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.907/3.145, allocations: 0 / 0.794 GB, free: 2.02 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1)