Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_maint_8_0_x_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.709/1.709, allocations: 288.2 MB / 303.2 MB, free: 8.051 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.001198/0.001198, allocations: 178.2 kB / 371.8 MB, free: 10.28 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.751/1.751, allocations: 205.4 MB / 0.6305 GB, free: 10.05 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009015/0.0009015, allocations: 93.16 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004484/0.0004485, allocations: 17.22 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2037, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.0009573/0.2047, allocations: 477.8 kB / 0.9799 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001057/0.2057, allocations: 0.8565 MB / 0.9808 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.119e-05/0.2058, allocations: 4 kB / 0.9808 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.408e-05/0.2059, allocations: 7.938 kB / 0.9808 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.114e-05/0.206, allocations: 7.922 kB / 0.9808 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001575/0.2061, allocations: 31.91 kB / 0.9808 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.922e-05/0.2062, allocations: 43.94 kB / 0.9809 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.2063, allocations: 19.98 kB / 0.9809 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.89e-05/0.2064, allocations: 35.83 kB / 0.9809 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.857e-05/0.2065, allocations: 43.83 kB / 0.981 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.2065, allocations: 4 kB / 0.981 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.57e-05/0.2065, allocations: 4 kB / 0.981 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.544e-05/0.2066, allocations: 11.97 kB / 0.981 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.445e-05/0.2066, allocations: 37.64 kB / 0.981 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.239e-05/0.2067, allocations: 59.86 kB / 0.9811 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.083e-06/0.2067, allocations: 0 / 0.9811 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2067, allocations: 0 / 0.9811 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.2067, allocations: 3.938 kB / 0.9811 GB, free: 25.95 MB / 0.6198 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.0005512/0.2073, allocations: 395.3 kB / 0.9815 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.2073, allocations: 12.02 kB / 0.9815 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.898e-05/0.2074, allocations: 34.56 kB / 0.9815 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.262e-05/0.2074, allocations: 7.906 kB / 0.9815 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.2075, allocations: 182.8 kB / 0.9817 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.2076, allocations: 11.94 kB / 0.9817 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.2076, allocations: 8 kB / 0.9817 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/0.2079, allocations: 113.6 kB / 0.9818 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.2079, allocations: 0 / 0.9818 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.2079, allocations: 4 kB / 0.9818 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.2079, allocations: 4 kB / 0.9818 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003835/0.2083, allocations: 111.9 kB / 0.9819 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004936/0.2088, allocations: 352.6 kB / 0.9823 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005848/0.2094, allocations: 126.6 kB / 0.9824 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.2095, allocations: 4 kB / 0.9824 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.558e-05/0.2095, allocations: 30.56 kB / 0.9824 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.703e-06/0.2095, allocations: 3.938 kB / 0.9824 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0006498/0.2101, allocations: 217.5 kB / 0.9826 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.2102, allocations: 55.41 kB / 0.9827 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.803e-05/0.2103, allocations: 125.7 kB / 0.9828 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.2103, allocations: 25.7 kB / 0.9828 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.127e-05/0.2103, allocations: 92.08 kB / 0.9829 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.2104, allocations: 23.7 kB / 0.9829 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-06/0.2104, allocations: 4 kB / 0.9829 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.524e-05/0.2104, allocations: 314.8 kB / 0.9832 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.2106, allocations: 51.95 kB / 0.9833 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.2108, allocations: 64.41 kB / 0.9834 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.211, allocations: 56.09 kB / 0.9834 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.211, allocations: 4 kB / 0.9834 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003812/0.2114, allocations: 165.4 kB / 0.9836 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.2114, allocations: 5.875 kB / 0.9836 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.2114, allocations: 0 / 0.9836 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.2114, allocations: 3.953 kB / 0.9836 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.2116, allocations: 31.97 kB / 0.9836 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.2116, allocations: 3.938 kB / 0.9836 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.2117, allocations: 23.98 kB / 0.9836 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.729e-06/0.2117, allocations: 0 / 0.9836 GB, free: 23.11 MB / 0.6198 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 (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 initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.457e-05/0.2118, allocations: 121.8 kB / 0.9837 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.061e-05/0.2119, allocations: 7.906 kB / 0.9838 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004794/0.2123, allocations: 169.9 kB / 0.9839 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.2124, allocations: 4 kB / 0.9839 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.2124, allocations: 11.89 kB / 0.9839 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.2124, allocations: 4 kB / 0.9839 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.2126, allocations: 201.5 kB / 0.9841 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2126, allocations: 0 / 0.9841 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/0.2127, allocations: 31.97 kB / 0.9842 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.2127, allocations: 0 / 0.9842 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.2128, allocations: 4 kB / 0.9842 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.2128, allocations: 0 / 0.9842 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2128, allocations: 0 / 0.9842 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004172/0.2132, allocations: 263.2 kB / 0.9844 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.918e-05/0.2132, allocations: 89 kB / 0.9845 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.2133, allocations: 0 / 0.9845 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.2134, allocations: 19.98 kB / 0.9845 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.04e-05/0.2135, allocations: 19.97 kB / 0.9845 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/0.2135, allocations: 0 / 0.9845 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.548e-05/0.2136, allocations: 107.2 kB / 0.9846 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2136, allocations: 0 / 0.9846 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002306/0.2138, allocations: 12 kB / 0.9847 GB, free: 21.97 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006497/0.2145, allocations: 0.7904 MB / 0.9854 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004059/0.2149, allocations: 127.9 kB / 0.9855 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2149, allocations: 0 / 0.9855 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.2151, allocations: 71.89 kB / 0.9856 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.2153, allocations: 12.75 kB / 0.9856 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.2166, allocations: 0.6543 MB / 0.9863 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.2167, allocations: 0.7004 MB / 0.9869 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.339e-05/0.2168, allocations: 11.94 kB / 0.987 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.245e-05/0.2168, allocations: 27.42 kB / 0.987 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2168, allocations: 0 / 0.987 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01219/0.229, allocations: 2.234 MB / 0.9892 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001624/0.2292, allocations: 197.5 kB / 0.9894 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.509/1.738, allocations: 4 kB / 0.9894 GB, free: 17.13 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1)