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.001195/0.001195, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 188 kB / 16.62 MB, free: 6.582 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.565/1.565, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.718/1.718, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001609/0.001609, allocations: 71.95 kB / 0.6718 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2228, allocations: 114.6 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.00201/0.2248, allocations: 0.7731 MB / 0.7844 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009043/0.2257, allocations: 0.8631 MB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.514e-05/0.2258, allocations: 4 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.655e-05/0.2258, allocations: 11.88 kB / 0.7853 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.918e-05/0.2259, allocations: 3.938 kB / 0.7853 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001673/0.2261, allocations: 43.89 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000104/0.2262, allocations: 83.81 kB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.2264, allocations: 27.98 kB / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.126e-05/0.2264, allocations: 39.84 kB / 0.7855 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.77e-05/0.2265, allocations: 51.81 kB / 0.7855 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.42e-05/0.2266, allocations: 8 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.594e-05/0.2266, allocations: 8 kB / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.006e-05/0.2266, allocations: 19.91 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.307e-05/0.2267, allocations: 35.8 kB / 0.7856 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001326/0.2268, allocations: 88 kB / 0.7857 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2268, allocations: 0 / 0.7857 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.522e-06/0.2268, allocations: 0 / 0.7857 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.758e-06/0.2268, allocations: 0 / 0.7857 GB, free: 11.19 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.0005904/0.2274, allocations: 399.1 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.2275, allocations: 12.03 kB / 0.786 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.971e-05/0.2275, allocations: 30.75 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.152e-05/0.2276, allocations: 12.78 kB / 0.7861 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.2277, allocations: 184.2 kB / 0.7863 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.2277, allocations: 8.359 kB / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.2277, allocations: 8.375 kB / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002918/0.228, allocations: 114.1 kB / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.2281, allocations: 3.938 kB / 0.7864 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.2281, allocations: 0 / 0.7864 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.2281, allocations: 0 / 0.7864 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003615/0.2284, allocations: 103.8 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004946/0.229, allocations: 340.7 kB / 0.7868 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006068/0.2296, allocations: 122.5 kB / 0.7869 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.2298, allocations: 52.81 kB / 0.787 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.2298, allocations: 0 / 0.787 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.2298, allocations: 42.55 kB / 0.787 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.2298, allocations: 0 / 0.787 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0006629/0.2305, allocations: 181.5 kB / 0.7872 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.2305, allocations: 55.41 kB / 0.7872 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.271e-05/0.2306, allocations: 125.7 kB / 0.7874 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.2307, allocations: 25.7 kB / 0.7874 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.059e-05/0.2307, allocations: 96.02 kB / 0.7875 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.184e-05/0.2308, allocations: 19.7 kB / 0.7875 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.062e-05/0.2308, allocations: 25.7 kB / 0.7875 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.63e-05/0.2309, allocations: 318.8 kB / 0.7878 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.2311, allocations: 47.95 kB / 0.7879 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.2313, allocations: 47.95 kB / 0.7879 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003347/0.2316, allocations: 100.8 kB / 0.788 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2317, allocations: 3.938 kB / 0.788 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004003/0.2321, allocations: 141.5 kB / 0.7882 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.2321, allocations: 7.984 kB / 0.7882 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.2321, allocations: 0 / 0.7882 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.2321, allocations: 0 / 0.7882 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.2323, allocations: 27.91 kB / 0.7882 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.2323, allocations: 0 / 0.7882 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.2324, allocations: 19.92 kB / 0.7882 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.2325, allocations: 4 kB / 0.7882 GB, free: 8.328 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 8.452e-05/0.2325, allocations: 117.8 kB / 0.7883 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.2326, allocations: 7.891 kB / 0.7883 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004711/0.2331, allocations: 154 kB / 0.7885 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.2331, allocations: 0 / 0.7885 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.2331, allocations: 3.938 kB / 0.7885 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.2331, allocations: 0 / 0.7885 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.2333, allocations: 201.5 kB / 0.7887 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2333, allocations: 0 / 0.7887 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.2335, allocations: 23.97 kB / 0.7887 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.2335, allocations: 0 / 0.7887 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.2335, allocations: 0 / 0.7887 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.2335, allocations: 7.938 kB / 0.7887 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2335, allocations: 4 kB / 0.7887 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004543/0.234, allocations: 239.3 kB / 0.7889 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.162e-05/0.234, allocations: 81.09 kB / 0.789 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.2341, allocations: 0 / 0.789 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.2342, allocations: 15.98 kB / 0.789 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.828e-05/0.2343, allocations: 23.92 kB / 0.7891 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.2343, allocations: 3.984 kB / 0.7891 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.038e-05/0.2344, allocations: 99.27 kB / 0.7892 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2344, allocations: 0 / 0.7892 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002395/0.2346, allocations: 19.84 kB / 0.7892 GB, free: 7.246 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.0007886/0.2354, allocations: 0.76 MB / 0.7899 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004384/0.2359, allocations: 119.9 kB / 0.79 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2359, allocations: 7.938 kB / 0.79 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002/0.2361, allocations: 55.95 kB / 0.7901 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.2365, allocations: 8.781 kB / 0.7901 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.2387, allocations: 1.542 MB / 0.7916 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.239, allocations: 0.6924 MB / 0.7923 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.418e-05/0.2391, allocations: 19.97 kB / 0.7923 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.983e-05/0.2392, allocations: 27.42 kB / 0.7923 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of SimCode: time 9.32e-07/0.2392, allocations: 0 / 0.7923 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01829/0.2575, allocations: 2.679 MB / 0.7949 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.601/7.859, allocations: 6.078 kB / 0.7949 GB, free: 1.289 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)