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.577/1.577, allocations: 251.9 MB / 266.9 MB, free: 11.06 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.001182/0.001182, allocations: 181.6 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.038/2.038, allocations: 205.4 MB / 0.5775 GB, free: 20.32 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.00119/0.00119, allocations: 86.31 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000342/0.000342, allocations: 17 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.1993, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001417/0.2007, allocations: 1.177 MB / 0.9013 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000386/0.2012, allocations: 174.5 kB / 0.9015 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.523e-05/0.2013, allocations: 0 / 0.9015 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.433e-05/0.2013, allocations: 3.938 kB / 0.9015 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.829e-05/0.2014, allocations: 23.91 kB / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001684/0.2016, allocations: 31.89 kB / 0.9015 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.695e-05/0.2017, allocations: 43.89 kB / 0.9016 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.2018, allocations: 23.92 kB / 0.9016 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.766e-05/0.2019, allocations: 31.84 kB / 0.9016 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.142e-05/0.2019, allocations: 43.81 kB / 0.9017 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.202, allocations: 8 kB / 0.9017 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.495e-05/0.202, allocations: 4 kB / 0.9017 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.432e-05/0.202, allocations: 11.98 kB / 0.9017 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.379e-05/0.202, allocations: 37.64 kB / 0.9017 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.645e-05/0.2021, allocations: 55.84 kB / 0.9018 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.2021, allocations: 0 / 0.9018 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2021, allocations: 0 / 0.9018 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.2021, allocations: 0 / 0.9018 GB, free: 62.15 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.0005239/0.2027, allocations: 391.4 kB / 0.9022 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.2027, allocations: 8.031 kB / 0.9022 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.404e-05/0.2028, allocations: 38.55 kB / 0.9022 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.091e-05/0.2028, allocations: 15.86 kB / 0.9022 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.46e-05/0.2029, allocations: 171 kB / 0.9024 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.2029, allocations: 4 kB / 0.9024 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.2029, allocations: 8 kB / 0.9024 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000283/0.2032, allocations: 119.7 kB / 0.9025 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.2032, allocations: 0 / 0.9025 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.2033, allocations: 0 / 0.9025 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.2033, allocations: 0 / 0.9025 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000351/0.2036, allocations: 123.9 kB / 0.9026 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004677/0.2041, allocations: 348.5 kB / 0.903 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005718/0.2047, allocations: 134.6 kB / 0.9031 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.2047, allocations: 0 / 0.9031 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.245e-05/0.2047, allocations: 38.44 kB / 0.9031 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.2048, allocations: 0 / 0.9031 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0006617/0.2054, allocations: 217.4 kB / 0.9033 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/0.2055, allocations: 59.39 kB / 0.9034 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.927e-05/0.2055, allocations: 113.8 kB / 0.9035 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.2056, allocations: 33.7 kB / 0.9035 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.304e-05/0.2056, allocations: 92.03 kB / 0.9036 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.2056, allocations: 23.89 kB / 0.9036 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.792e-06/0.2056, allocations: 0 / 0.9036 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.457e-05/0.2057, allocations: 326.8 kB / 0.9039 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.2059, allocations: 51.95 kB / 0.904 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.206, allocations: 55.95 kB / 0.904 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.2062, allocations: 51.97 kB / 0.9041 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2062, allocations: 3.938 kB / 0.9041 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003742/0.2066, allocations: 157.5 kB / 0.9043 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.2066, allocations: 15.94 kB / 0.9043 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2066, allocations: 4.5 kB / 0.9043 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.2066, allocations: 0 / 0.9043 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.2068, allocations: 31.97 kB / 0.9043 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.2068, allocations: 0 / 0.9043 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.2069, allocations: 19.97 kB / 0.9043 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.207, allocations: 8 kB / 0.9043 GB, free: 59.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 (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 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 6.43e-05/0.207, allocations: 117.8 kB / 0.9044 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.856e-05/0.2071, allocations: 7.906 kB / 0.9044 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004295/0.2075, allocations: 181.8 kB / 0.9046 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.2075, allocations: 3.953 kB / 0.9046 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2075, allocations: 0 / 0.9046 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2075, allocations: 0 / 0.9046 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.2077, allocations: 193.6 kB / 0.9048 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2077, allocations: 11.92 kB / 0.9048 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.2078, allocations: 27.97 kB / 0.9048 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.2079, allocations: 0 / 0.9048 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.2079, allocations: 4 kB / 0.9049 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.2079, allocations: 0 / 0.9049 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2079, allocations: 3.953 kB / 0.9049 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004069/0.2083, allocations: 263.3 kB / 0.9051 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.685e-05/0.2083, allocations: 88.94 kB / 0.9052 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.2084, allocations: 0 / 0.9052 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.2085, allocations: 15.98 kB / 0.9052 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.611e-05/0.2086, allocations: 31.91 kB / 0.9052 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-06/0.2086, allocations: 7.984 kB / 0.9052 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.007e-05/0.2087, allocations: 95.64 kB / 0.9053 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2087, allocations: 0 / 0.9053 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002278/0.2089, allocations: 20 kB / 0.9054 GB, free: 58.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 (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.0006371/0.2095, allocations: 0.7865 MB / 0.9061 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003845/0.2099, allocations: 119.9 kB / 0.9062 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2099, allocations: 0 / 0.9062 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000189/0.2101, allocations: 83.88 kB / 0.9063 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.2104, allocations: 4.859 kB / 0.9063 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.2116, allocations: 0.6531 MB / 0.907 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.2117, allocations: 0.6967 MB / 0.9076 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.416e-05/0.2118, allocations: 19.92 kB / 0.9077 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.191e-05/0.2119, allocations: 31.36 kB / 0.9077 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.2119, allocations: 0 / 0.9077 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.012/0.2239, allocations: 2.233 MB / 0.9099 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001703/0.2241, allocations: 195.5 kB / 0.9101 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.534/1.758, allocations: 2.75 kB / 0.9101 GB, free: 53.33 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)