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.Min.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.Min,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.758/1.758, allocations: 288.2 MB / 303.2 MB, free: 8.133 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.00115/0.001149, allocations: 175.7 kB / 371.8 MB, free: 10.27 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.744/1.744, allocations: 205.4 MB / 0.6305 GB, free: 9.992 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.0008178/0.0008176, allocations: 90.8 kB / 0.7439 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000401/0.000401, allocations: 12.75 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2112, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.0008602/0.2121, allocations: 477.9 kB / 0.9799 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008323/0.213, allocations: 0.8526 MB / 0.9808 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.151e-05/0.213, allocations: 0 / 0.9808 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.859e-05/0.213, allocations: 19.86 kB / 0.9808 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.978e-05/0.2131, allocations: 7.922 kB / 0.9808 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001449/0.2133, allocations: 35.89 kB / 0.9808 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.547e-05/0.2134, allocations: 39.95 kB / 0.9809 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.953e-05/0.2135, allocations: 23.97 kB / 0.9809 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.734e-05/0.2136, allocations: 39.84 kB / 0.9809 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.117e-05/0.2136, allocations: 39.83 kB / 0.981 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.2137, allocations: 4 kB / 0.981 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.456e-05/0.2137, allocations: 0 / 0.981 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.499e-05/0.2137, allocations: 11.98 kB / 0.981 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.791e-05/0.2138, allocations: 37.64 kB / 0.981 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.688e-05/0.2138, allocations: 59.84 kB / 0.9811 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.2139, allocations: 0 / 0.9811 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2139, allocations: 0 / 0.9811 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.2139, allocations: 0 / 0.9811 GB, free: 25.92 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.0005563/0.2144, allocations: 387.3 kB / 0.9814 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.2145, allocations: 16.02 kB / 0.9815 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.412e-05/0.2145, allocations: 38.55 kB / 0.9815 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.005e-05/0.2146, allocations: 7.906 kB / 0.9815 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.2147, allocations: 178.8 kB / 0.9817 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.2147, allocations: 12 kB / 0.9817 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.2147, allocations: 4 kB / 0.9817 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002995/0.215, allocations: 122.7 kB / 0.9818 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.2151, allocations: 0 / 0.9818 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.2151, allocations: 4 kB / 0.9818 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.2151, allocations: 4 kB / 0.9818 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003519/0.2154, allocations: 115.9 kB / 0.9819 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004638/0.2159, allocations: 348.6 kB / 0.9823 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006101/0.2165, allocations: 126.6 kB / 0.9824 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.2166, allocations: 4 kB / 0.9824 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.493e-05/0.2166, allocations: 38.5 kB / 0.9824 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.2166, allocations: 0 / 0.9824 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0006267/0.2172, allocations: 217.5 kB / 0.9826 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.2173, allocations: 51.41 kB / 0.9827 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.41e-05/0.2173, allocations: 121.8 kB / 0.9828 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.2174, allocations: 25.7 kB / 0.9828 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.356e-05/0.2174, allocations: 100.2 kB / 0.9829 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.2174, allocations: 19.7 kB / 0.9829 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.645e-06/0.2174, allocations: 4 kB / 0.9829 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.323e-05/0.2175, allocations: 318.8 kB / 0.9832 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.2177, allocations: 51.95 kB / 0.9833 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.2178, allocations: 63.95 kB / 0.9834 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.218, allocations: 55.89 kB / 0.9834 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.218, allocations: 7.938 kB / 0.9834 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003874/0.2184, allocations: 158 kB / 0.9836 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.2185, allocations: 4 kB / 0.9836 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.2185, allocations: 0 / 0.9836 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.2185, allocations: 3.953 kB / 0.9836 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.2187, allocations: 31.97 kB / 0.9836 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.2187, allocations: 4.062 kB / 0.9836 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.2188, allocations: 19.98 kB / 0.9836 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.2188, allocations: 7.922 kB / 0.9836 GB, free: 23.08 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 (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 7.568e-05/0.2189, allocations: 113.8 kB / 0.9837 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.2189, allocations: 11.89 kB / 0.9838 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004457/0.2194, allocations: 181.9 kB / 0.9839 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.2194, allocations: 0 / 0.9839 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.2194, allocations: 7.953 kB / 0.9839 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.2194, allocations: 8 kB / 0.9839 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.2196, allocations: 197.5 kB / 0.9841 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2196, allocations: 0 / 0.9841 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.2197, allocations: 27.97 kB / 0.9842 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2197, allocations: 4 kB / 0.9842 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.2197, allocations: 0 / 0.9842 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.2198, allocations: 0 / 0.9842 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2198, allocations: 0 / 0.9842 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004041/0.2202, allocations: 267.2 kB / 0.9844 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.613e-05/0.2202, allocations: 89.02 kB / 0.9845 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.2202, allocations: 0 / 0.9845 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.2204, allocations: 19.97 kB / 0.9845 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.51e-05/0.2205, allocations: 19.97 kB / 0.9845 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.2205, allocations: 4 kB / 0.9845 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.71e-05/0.2205, allocations: 99.22 kB / 0.9846 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2205, allocations: 0 / 0.9846 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002182/0.2207, allocations: 12 kB / 0.9846 GB, free: 21.95 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 (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.0005745/0.2213, allocations: 0.7904 MB / 0.9854 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003828/0.2217, allocations: 127.9 kB / 0.9855 GB, free: 21 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2217, allocations: 0 / 0.9855 GB, free: 21 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001865/0.2219, allocations: 75.89 kB / 0.9856 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.2222, allocations: 4.688 kB / 0.9856 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.2233, allocations: 0.6645 MB / 0.9863 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.2234, allocations: 0.6887 MB / 0.9869 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.671e-05/0.2235, allocations: 19.92 kB / 0.987 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.038e-05/0.2236, allocations: 23.42 kB / 0.987 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of SimCode: time 3.91e-07/0.2236, allocations: 0 / 0.987 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01207/0.2357, allocations: 2.245 MB / 0.9892 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001331/0.2359, allocations: 193.5 kB / 0.9894 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.506/1.742, allocations: 0 / 0.9894 GB, free: 17.11 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Min.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1)