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.Min.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.Min,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Min",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.267/1.267, allocations: 251.5 MB / 266.7 MB, free: 11.07 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.0008946/0.0008946, allocations: 175.5 kB / 325.8 MB, free: 2.703 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.443/1.443, allocations: 205 MB / 0.576 GB, free: 21 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.0006712/0.0006713, allocations: 86.36 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003491/0.0003493, allocations: 12.41 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1949, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001499/0.1965, allocations: 1.209 MB / 0.8974 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003337/0.1968, allocations: 189.1 kB / 0.8976 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.787e-05/0.1969, allocations: 4 kB / 0.8976 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.729e-05/0.1969, allocations: 0 / 0.8976 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.089e-05/0.197, allocations: 3.938 kB / 0.8976 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001332/0.1971, allocations: 39.95 kB / 0.8976 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.478e-05/0.1972, allocations: 79.77 kB / 0.8977 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.1973, allocations: 36.14 kB / 0.8977 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.713e-05/0.1974, allocations: 35.83 kB / 0.8978 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.105e-05/0.1975, allocations: 35.84 kB / 0.8978 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.1975, allocations: 4 kB / 0.8978 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.3e-05/0.1975, allocations: 4 kB / 0.8978 GB, free: 66.44 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.003e-05/0.1976, allocations: 19.84 kB / 0.8978 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.352e-05/0.1976, allocations: 31.86 kB / 0.8979 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.598e-05/0.1977, allocations: 83.64 kB / 0.8979 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1977, allocations: 0 / 0.8979 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1977, allocations: 0 / 0.8979 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.1977, allocations: 0 / 0.8979 GB, free: 66.31 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.000489/0.1982, allocations: 389.4 kB / 0.8983 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.1983, allocations: 8.031 kB / 0.8983 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.404e-05/0.1983, allocations: 42.73 kB / 0.8984 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.295e-05/0.1983, allocations: 8.844 kB / 0.8984 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.1984, allocations: 172.2 kB / 0.8985 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.1985, allocations: 4.375 kB / 0.8985 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.1985, allocations: 4.375 kB / 0.8985 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/0.1988, allocations: 127 kB / 0.8987 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1988, allocations: 7.875 kB / 0.8987 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.1988, allocations: 0 / 0.8987 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.1988, allocations: 0 / 0.8987 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003333/0.1991, allocations: 119.9 kB / 0.8988 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004242/0.1996, allocations: 356.5 kB / 0.8991 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005337/0.2001, allocations: 126.6 kB / 0.8992 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.2003, allocations: 68.81 kB / 0.8993 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.2003, allocations: 0 / 0.8993 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.172e-05/0.2004, allocations: 34.56 kB / 0.8993 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 8.32e-07/0.2004, allocations: 0 / 0.8993 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0006042/0.201, allocations: 221.5 kB / 0.8996 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.226e-05/0.201, allocations: 51.41 kB / 0.8996 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.64e-05/0.2011, allocations: 121.8 kB / 0.8997 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.2011, allocations: 25.7 kB / 0.8997 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.329e-05/0.2011, allocations: 104.1 kB / 0.8998 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.2012, allocations: 19.66 kB / 0.8999 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/0.2012, allocations: 17.7 kB / 0.8999 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.588e-05/0.2012, allocations: 322.8 kB / 0.9002 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.2014, allocations: 51.95 kB / 0.9002 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.2016, allocations: 59.95 kB / 0.9003 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003105/0.2019, allocations: 120.8 kB / 0.9004 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2019, allocations: 0 / 0.9004 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003561/0.2023, allocations: 165.4 kB / 0.9006 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.2023, allocations: 7.984 kB / 0.9006 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.2023, allocations: 0 / 0.9006 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.2023, allocations: 0 / 0.9006 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.2025, allocations: 31.97 kB / 0.9006 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.2025, allocations: 8 kB / 0.9006 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.2026, allocations: 19.97 kB / 0.9006 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.2026, allocations: 0 / 0.9006 GB, free: 63.32 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,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 6.481e-05/0.2027, allocations: 121.8 kB / 0.9007 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.2027, allocations: 7.906 kB / 0.9008 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004101/0.2031, allocations: 173.9 kB / 0.9009 GB, free: 63 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.2031, allocations: 0 / 0.9009 GB, free: 63 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2031, allocations: 0 / 0.9009 GB, free: 63 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.2032, allocations: 4 kB / 0.9009 GB, free: 63 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.2033, allocations: 205.5 kB / 0.9011 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2033, allocations: 0 / 0.9011 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.2035, allocations: 31.97 kB / 0.9011 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.2035, allocations: 4 kB / 0.9012 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.2035, allocations: 0 / 0.9012 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2035, allocations: 0 / 0.9012 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2035, allocations: 3.938 kB / 0.9012 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003842/0.2039, allocations: 259.9 kB / 0.9014 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.833e-05/0.2039, allocations: 81.11 kB / 0.9015 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.204, allocations: 7.984 kB / 0.9015 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.2041, allocations: 19.98 kB / 0.9015 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.447e-05/0.2042, allocations: 23.97 kB / 0.9015 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.2042, allocations: 0 / 0.9015 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.312e-05/0.2042, allocations: 99.64 kB / 0.9016 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2042, allocations: 0 / 0.9016 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002039/0.2044, allocations: 23.78 kB / 0.9016 GB, free: 62.17 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 (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.0005718/0.205, allocations: 0.7906 MB / 0.9024 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003732/0.2054, allocations: 131.9 kB / 0.9025 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2054, allocations: 0 / 0.9025 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.2056, allocations: 75.89 kB / 0.9026 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.2059, allocations: 9.406 kB / 0.9026 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.2076, allocations: 1.599 MB / 0.9042 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.2077, allocations: 0.6887 MB / 0.9049 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.615e-05/0.2078, allocations: 19.69 kB / 0.9049 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.906e-05/0.2078, allocations: 31.41 kB / 0.9049 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of SimCode: time 1.9e-07/0.2079, allocations: 0 / 0.9049 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01088/0.2187, allocations: 2.266 MB / 0.9071 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001385/0.2189, allocations: 218.1 kB / 0.9073 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.578/1.796, allocations: 0 / 0.9073 GB, free: 56.31 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Min.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1)