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.001012/0.001012, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001087/0.001088, allocations: 190.7 kB / 16.25 MB, free: 6.625 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.302/1.302, allocations: 205.1 MB / 222.1 MB, free: 4.664 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.616/1.616, allocations: 292.3 MB / 0.5486 GB, free: 13.62 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.001382/0.001382, allocations: 77.77 kB / 0.6711 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2056, allocations: 114.6 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001878/0.2076, allocations: 0.8322 MB / 0.7838 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008817/0.2085, allocations: 0.8642 MB / 0.7846 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.987e-05/0.2085, allocations: 0 / 0.7846 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.403e-05/0.2086, allocations: 3.938 kB / 0.7846 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.997e-05/0.2086, allocations: 11.92 kB / 0.7847 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001404/0.2088, allocations: 31.97 kB / 0.7847 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.2089, allocations: 83.83 kB / 0.7848 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.209, allocations: 31.97 kB / 0.7848 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.793e-05/0.2091, allocations: 35.84 kB / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.68e-05/0.2092, allocations: 51.81 kB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.2092, allocations: 8 kB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.493e-05/0.2092, allocations: 8 kB / 0.7849 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.298e-05/0.2092, allocations: 19.92 kB / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.988e-05/0.2093, allocations: 39.8 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.2094, allocations: 91.98 kB / 0.785 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2094, allocations: 0 / 0.785 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2094, allocations: 0 / 0.785 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.2094, allocations: 0 / 0.785 GB, free: 11.7 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.0005781/0.21, allocations: 391.1 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.2101, allocations: 8.031 kB / 0.7854 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.731e-05/0.2101, allocations: 38.75 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.948e-05/0.2101, allocations: 12.84 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.2103, allocations: 188.1 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.2103, allocations: 8.312 kB / 0.7857 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.2103, allocations: 4.375 kB / 0.7857 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002814/0.2106, allocations: 106.2 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.2106, allocations: 3.938 kB / 0.7858 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.2106, allocations: 4 kB / 0.7858 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.2106, allocations: 4 kB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003488/0.211, allocations: 99.89 kB / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004805/0.2115, allocations: 340.6 kB / 0.7862 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005972/0.2121, allocations: 126.5 kB / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.2123, allocations: 56.81 kB / 0.7864 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.2123, allocations: 3.938 kB / 0.7864 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.2123, allocations: 34.56 kB / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.2123, allocations: 0 / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0006045/0.213, allocations: 177.5 kB / 0.7866 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.213, allocations: 51.41 kB / 0.7866 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.263e-05/0.2131, allocations: 129.7 kB / 0.7868 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.2131, allocations: 33.7 kB / 0.7868 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.864e-05/0.2132, allocations: 88.08 kB / 0.7869 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.2132, allocations: 23.7 kB / 0.7869 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.636e-05/0.2133, allocations: 25.7 kB / 0.7869 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.2134, allocations: 318.8 kB / 0.7872 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.2135, allocations: 43.95 kB / 0.7873 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.2137, allocations: 55.88 kB / 0.7873 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003266/0.2141, allocations: 105.2 kB / 0.7874 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2141, allocations: 0 / 0.7874 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003869/0.2145, allocations: 129.5 kB / 0.7875 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.2145, allocations: 8 kB / 0.7875 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.2145, allocations: 3.984 kB / 0.7876 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.2145, allocations: 0 / 0.7876 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.2147, allocations: 27.97 kB / 0.7876 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.2147, allocations: 3.938 kB / 0.7876 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.2148, allocations: 15.92 kB / 0.7876 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.2148, allocations: 0 / 0.7876 GB, free: 8.848 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 9.239e-05/0.2149, allocations: 122.4 kB / 0.7877 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.215, allocations: 7.906 kB / 0.7877 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004324/0.2154, allocations: 149.9 kB / 0.7879 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.2154, allocations: 0 / 0.7879 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2154, allocations: 7.938 kB / 0.7879 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2154, allocations: 0 / 0.7879 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.2156, allocations: 205.5 kB / 0.7881 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2156, allocations: 0 / 0.7881 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/0.2158, allocations: 31.91 kB / 0.7881 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.2158, allocations: 3.938 kB / 0.7881 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.2158, allocations: 0 / 0.7881 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2159, allocations: 0 / 0.7881 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2159, allocations: 0 / 0.7881 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004349/0.2163, allocations: 235.3 kB / 0.7883 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.429e-05/0.2163, allocations: 85.11 kB / 0.7884 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.2164, allocations: 7.984 kB / 0.7884 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.2165, allocations: 11.98 kB / 0.7884 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.435e-05/0.2166, allocations: 19.98 kB / 0.7884 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-06/0.2166, allocations: 7.984 kB / 0.7885 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.588e-05/0.2167, allocations: 95.27 kB / 0.7885 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2167, allocations: 0 / 0.7885 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002241/0.2169, allocations: 23.84 kB / 0.7886 GB, free: 7.754 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.0006962/0.2176, allocations: 0.767 MB / 0.7893 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003804/0.218, allocations: 107.8 kB / 0.7894 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.218, allocations: 0 / 0.7894 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.2182, allocations: 63.95 kB / 0.7895 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.2185, allocations: 8 kB / 0.7895 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.2204, allocations: 1.566 MB / 0.791 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.2207, allocations: 0.6949 MB / 0.7917 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.131e-05/0.2208, allocations: 12 kB / 0.7917 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.859e-05/0.2209, allocations: 31.42 kB / 0.7917 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.2209, allocations: 0 / 0.7917 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01206/0.2329, allocations: 2.401 MB / 0.7941 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/0.2331, allocations: 215.4 kB / 0.7943 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.741/1.974, allocations: 3.938 kB / 0.7943 GB, free: 1.812 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)