Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.301/1.301, allocations: 251.5 MB / 266.7 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009346/0.0009346, allocations: 179.7 kB / 325.9 MB, free: 2.645 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205 MB / 0.576 GB, free: 20.94 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007356/0.0007355, allocations: 92.17 kB / 0.6797 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003184/0.0003185, allocations: 11.59 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1813, allocations: 105.4 MB / 0.8962 GB, free: 68 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001568/0.1829, allocations: 1.213 MB / 0.8974 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004002/0.1833, allocations: 185.1 kB / 0.8976 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.836e-05/0.1834, allocations: 4 kB / 0.8976 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.552e-05/0.1835, allocations: 3.984 kB / 0.8976 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.377e-05/0.1836, allocations: 3.938 kB / 0.8976 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001647/0.1838, allocations: 39.95 kB / 0.8976 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.329e-05/0.1839, allocations: 83.77 kB / 0.8977 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.184, allocations: 28.16 kB / 0.8977 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.431e-05/0.1841, allocations: 35.83 kB / 0.8978 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.185e-05/0.1842, allocations: 39.83 kB / 0.8978 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.1842, allocations: 4 kB / 0.8978 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.328e-05/0.1842, allocations: 4 kB / 0.8978 GB, free: 66.35 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.251e-05/0.1842, allocations: 23.84 kB / 0.8978 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.639e-05/0.1843, allocations: 23.86 kB / 0.8979 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.872e-05/0.1844, allocations: 79.66 kB / 0.8979 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1844, allocations: 0 / 0.8979 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.114e-06/0.1844, allocations: 0 / 0.8979 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.1844, allocations: 4 kB / 0.8979 GB, free: 66.22 MB / 0.6042 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.0005271/0.185, allocations: 387.3 kB / 0.8983 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.185, allocations: 8.031 kB / 0.8983 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.028e-05/0.1851, allocations: 38.75 kB / 0.8984 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.296e-05/0.1851, allocations: 8.844 kB / 0.8984 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.1852, allocations: 180.2 kB / 0.8985 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.1852, allocations: 4.375 kB / 0.8985 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.1853, allocations: 8.375 kB / 0.8985 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002751/0.1855, allocations: 115 kB / 0.8987 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.1856, allocations: 3.938 kB / 0.8987 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.1856, allocations: 4 kB / 0.8987 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1856, allocations: 4 kB / 0.8987 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003258/0.1859, allocations: 119.9 kB / 0.8988 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004386/0.1864, allocations: 348.5 kB / 0.8991 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005284/0.1869, allocations: 130.6 kB / 0.8992 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.1871, allocations: 68.81 kB / 0.8993 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.1871, allocations: 4 kB / 0.8993 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.359e-05/0.1871, allocations: 30.56 kB / 0.8993 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.1871, allocations: 0 / 0.8993 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0005891/0.1877, allocations: 221.5 kB / 0.8995 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.091e-05/0.1878, allocations: 55.34 kB / 0.8996 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.912e-05/0.1878, allocations: 125.7 kB / 0.8997 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.1879, allocations: 25.7 kB / 0.8997 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.42e-05/0.1879, allocations: 96.08 kB / 0.8998 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.743e-05/0.188, allocations: 23.64 kB / 0.8999 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.607e-05/0.188, allocations: 13.72 kB / 0.8999 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.693e-05/0.188, allocations: 330.8 kB / 0.9002 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/0.1882, allocations: 51.95 kB / 0.9002 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.1884, allocations: 59.95 kB / 0.9003 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000307/0.1887, allocations: 117.2 kB / 0.9004 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1887, allocations: 0 / 0.9004 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003583/0.1891, allocations: 173.4 kB / 0.9006 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1891, allocations: 4 kB / 0.9006 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1891, allocations: 0 / 0.9006 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.1891, allocations: 0 / 0.9006 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.1893, allocations: 31.97 kB / 0.9006 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1893, allocations: 4 kB / 0.9006 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.1894, allocations: 15.98 kB / 0.9006 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.1894, allocations: 3.984 kB / 0.9006 GB, free: 63.23 MB / 0.6042 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 6.346e-05/0.1895, allocations: 121.8 kB / 0.9007 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.1895, allocations: 11.89 kB / 0.9008 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004094/0.1899, allocations: 173.9 kB / 0.9009 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.19, allocations: 4 kB / 0.9009 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.19, allocations: 0 / 0.9009 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.19, allocations: 3.984 kB / 0.9009 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.1901, allocations: 201.5 kB / 0.9011 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1901, allocations: 0 / 0.9011 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/0.1903, allocations: 31.97 kB / 0.9012 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.1903, allocations: 0 / 0.9012 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.1903, allocations: 7.984 kB / 0.9012 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1903, allocations: 0 / 0.9012 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1903, allocations: 0 / 0.9012 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003809/0.1907, allocations: 259.2 kB / 0.9014 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.119e-05/0.1907, allocations: 81.11 kB / 0.9015 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.1908, allocations: 4 kB / 0.9015 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.1909, allocations: 15.98 kB / 0.9015 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.031e-05/0.191, allocations: 27.97 kB / 0.9015 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.191, allocations: 0 / 0.9015 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.518e-05/0.191, allocations: 99.2 kB / 0.9016 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.191, allocations: 0 / 0.9016 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002129/0.1912, allocations: 23.78 kB / 0.9016 GB, free: 62.09 MB / 0.6042 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.0005927/0.1918, allocations: 0.7956 MB / 0.9024 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003706/0.1922, allocations: 127.9 kB / 0.9025 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1922, allocations: 0 / 0.9025 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001829/0.1924, allocations: 79.88 kB / 0.9026 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.1927, allocations: 8 kB / 0.9026 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.1944, allocations: 1.59 MB / 0.9042 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.1945, allocations: 0.6965 MB / 0.9049 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.866e-05/0.1946, allocations: 15.67 kB / 0.9049 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.808e-05/0.1947, allocations: 35.42 kB / 0.9049 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of SimCode: time 4.51e-07/0.1947, allocations: 0 / 0.9049 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01199/0.2067, allocations: 2.275 MB / 0.9071 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001492/0.2068, allocations: 207.9 kB / 0.9073 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.718/1.925, allocations: 3.938 kB / 0.9073 GB, free: 56.22 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1)