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/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.Min,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, 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.001055/0.001055, allocations: 199.3 kB / 16.14 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.277/1.277, 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.684/1.684, 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.001376/0.001376, allocations: 65.73 kB / 0.6709 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2053, allocations: 114.6 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001757/0.2071, allocations: 0.8361 MB / 0.7836 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008011/0.2079, allocations: 0.8642 MB / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.752e-05/0.208, allocations: 8 kB / 0.7845 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.396e-05/0.208, allocations: 7.922 kB / 0.7845 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.13e-05/0.2081, allocations: 3.938 kB / 0.7845 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001378/0.2082, allocations: 39.95 kB / 0.7845 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.926e-05/0.2083, allocations: 75.83 kB / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.985e-05/0.2084, allocations: 27.98 kB / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.465e-05/0.2085, allocations: 35.84 kB / 0.7847 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.095e-05/0.2086, allocations: 39.83 kB / 0.7847 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.2086, allocations: 8 kB / 0.7847 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.645e-05/0.2086, allocations: 4 kB / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.654e-05/0.2086, allocations: 19.91 kB / 0.7847 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.768e-05/0.2087, allocations: 35.78 kB / 0.7848 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.777e-05/0.2088, allocations: 80.02 kB / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2088, allocations: 0 / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.11e-07/0.2088, allocations: 0 / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.216e-06/0.2088, allocations: 0 / 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.0005485/0.2094, allocations: 399.1 kB / 0.7852 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.2094, allocations: 8.031 kB / 0.7852 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.434e-05/0.2095, allocations: 42.73 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.967e-05/0.2095, allocations: 8.844 kB / 0.7853 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.2096, allocations: 180.2 kB / 0.7855 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.2096, allocations: 8.375 kB / 0.7855 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.2096, allocations: 4.375 kB / 0.7855 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/0.2099, allocations: 106.2 kB / 0.7856 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.21, allocations: 3.938 kB / 0.7856 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.21, allocations: 4 kB / 0.7856 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.21, allocations: 0 / 0.7856 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003565/0.2103, allocations: 95.91 kB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000465/0.2108, allocations: 352.5 kB / 0.786 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006175/0.2114, allocations: 118.6 kB / 0.7861 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001803/0.2116, allocations: 56.81 kB / 0.7862 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.2117, allocations: 0 / 0.7862 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.2117, allocations: 38.5 kB / 0.7862 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.2117, allocations: 0 / 0.7862 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0006351/0.2123, allocations: 181.5 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.2124, allocations: 55.41 kB / 0.7864 GB, free: 10 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.55e-05/0.2125, allocations: 121.8 kB / 0.7865 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.2125, allocations: 25.7 kB / 0.7866 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.849e-05/0.2125, allocations: 100.1 kB / 0.7867 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.2126, allocations: 11.72 kB / 0.7867 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.882e-05/0.2126, allocations: 37.64 kB / 0.7867 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.019e-05/0.2127, allocations: 318.8 kB / 0.787 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.2129, allocations: 43.95 kB / 0.7871 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.2131, allocations: 51.89 kB / 0.7871 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003179/0.2134, allocations: 97.25 kB / 0.7872 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2134, allocations: 0 / 0.7872 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003856/0.2138, allocations: 145.5 kB / 0.7873 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.2138, allocations: 4 kB / 0.7873 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.2138, allocations: 0 / 0.7873 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.2138, allocations: 0 / 0.7873 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.214, allocations: 27.97 kB / 0.7874 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.214, allocations: 0 / 0.7874 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.2141, allocations: 23.91 kB / 0.7874 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.2142, allocations: 7.938 kB / 0.7874 GB, free: 8.961 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,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 7.437e-05/0.2142, allocations: 117.8 kB / 0.7875 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.2143, allocations: 3.906 kB / 0.7875 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004352/0.2147, allocations: 157.9 kB / 0.7877 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.2147, allocations: 3.938 kB / 0.7877 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2147, allocations: 0 / 0.7877 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.2147, allocations: 0 / 0.7877 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.2149, allocations: 201.5 kB / 0.7879 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.2149, allocations: 4 kB / 0.7879 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.2151, allocations: 27.91 kB / 0.7879 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.2151, allocations: 7.984 kB / 0.7879 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.2151, allocations: 0 / 0.7879 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.2151, allocations: 4 kB / 0.7879 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2151, allocations: 0 / 0.7879 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004171/0.2156, allocations: 235.3 kB / 0.7881 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.026e-05/0.2156, allocations: 81.11 kB / 0.7882 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.2156, allocations: 0 / 0.7882 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.2158, allocations: 15.98 kB / 0.7882 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.67e-05/0.2159, allocations: 19.97 kB / 0.7882 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.2159, allocations: 3.984 kB / 0.7882 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.722e-05/0.2159, allocations: 99.64 kB / 0.7883 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2159, allocations: 0 / 0.7883 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002316/0.2162, allocations: 23.84 kB / 0.7884 GB, free: 7.875 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 (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.0006506/0.2168, allocations: 0.767 MB / 0.7891 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003743/0.2172, allocations: 103.9 kB / 0.7892 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.2172, allocations: 0 / 0.7892 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.2174, allocations: 67.88 kB / 0.7893 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.2177, allocations: 11.94 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.001838/0.2196, allocations: 1.556 MB / 0.7908 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002003/0.2198, allocations: 0.6913 MB / 0.7915 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.382e-05/0.2199, allocations: 15.94 kB / 0.7915 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.314e-05/0.2199, allocations: 23.42 kB / 0.7915 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2199, allocations: 7.938 kB / 0.7915 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9932/1.213, allocations: 2.32 MB / 0.7938 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002376/1.213, allocations: 202.8 kB / 0.794 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.931/3.144, allocations: 7.5 kB / 0.794 GB, free: 2.02 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Min.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1)