Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.688/2.688, allocations: 287.3 MB / 302.3 MB, free: 8.219 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.001578/0.001577, allocations: 182.9 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.385/2.385, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001119/0.001119, allocations: 96.16 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004929/0.000493, allocations: 11.94 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2088, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.0009752/0.2099, allocations: 477.7 kB / 0.9788 GB, free: 27.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.2109, allocations: 0.8565 MB / 0.9796 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.879e-05/0.211, allocations: 3.938 kB / 0.9796 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.953e-05/0.211, allocations: 3.984 kB / 0.9796 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.334e-05/0.2111, allocations: 7.938 kB / 0.9796 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001734/0.2113, allocations: 35.89 kB / 0.9796 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.2115, allocations: 47.94 kB / 0.9797 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.2116, allocations: 15.98 kB / 0.9797 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.645e-05/0.2117, allocations: 35.84 kB / 0.9797 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.396e-05/0.2118, allocations: 39.83 kB / 0.9798 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.2118, allocations: 7.938 kB / 0.9798 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.988e-05/0.2119, allocations: 8 kB / 0.9798 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.239e-05/0.2119, allocations: 11.98 kB / 0.9798 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.699e-05/0.2119, allocations: 33.64 kB / 0.9798 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.904e-05/0.212, allocations: 63.84 kB / 0.9799 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.212, allocations: 0 / 0.9799 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.963e-06/0.2121, allocations: 0 / 0.9799 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.2121, allocations: 0 / 0.9799 GB, free: 26.64 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.0007077/0.2128, allocations: 387.3 kB / 0.9803 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.2128, allocations: 12.02 kB / 0.9803 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.334e-05/0.2129, allocations: 42.55 kB / 0.9803 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.884e-05/0.2129, allocations: 11.86 kB / 0.9803 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.2131, allocations: 178.9 kB / 0.9805 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.2131, allocations: 8 kB / 0.9805 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.2131, allocations: 4 kB / 0.9805 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004594/0.2136, allocations: 121.6 kB / 0.9806 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.2136, allocations: 0 / 0.9806 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.2137, allocations: 7.938 kB / 0.9806 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.2137, allocations: 0 / 0.9806 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006454/0.2143, allocations: 116.9 kB / 0.9807 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006517/0.215, allocations: 352.6 kB / 0.9811 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.2161, allocations: 126.6 kB / 0.9812 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.174e-05/0.2161, allocations: 0 / 0.9812 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.2162, allocations: 38.5 kB / 0.9812 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.734e-06/0.2162, allocations: 0 / 0.9812 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.001112/0.2173, allocations: 221.6 kB / 0.9814 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.2174, allocations: 55.41 kB / 0.9815 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.446e-05/0.2175, allocations: 117.8 kB / 0.9816 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.2175, allocations: 29.7 kB / 0.9816 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.507e-05/0.2175, allocations: 96.06 kB / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.2176, allocations: 15.72 kB / 0.9817 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-05/0.2176, allocations: 0 / 0.9817 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.942e-05/0.2177, allocations: 322.8 kB / 0.9821 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003236/0.218, allocations: 55.95 kB / 0.9821 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003189/0.2183, allocations: 56.27 kB / 0.9822 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003255/0.2187, allocations: 68.03 kB / 0.9822 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2187, allocations: 0 / 0.9822 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007535/0.2195, allocations: 157.5 kB / 0.9824 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.2195, allocations: 9.719 kB / 0.9824 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.2195, allocations: 7.953 kB / 0.9824 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.2195, allocations: 0 / 0.9824 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003148/0.2199, allocations: 27.97 kB / 0.9824 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.2199, allocations: 3.938 kB / 0.9824 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/0.2201, allocations: 19.97 kB / 0.9824 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.2201, allocations: 8 kB / 0.9825 GB, free: 23.8 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 0.0001046/0.2203, allocations: 116.1 kB / 0.9826 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.159e-05/0.2203, allocations: 15.78 kB / 0.9826 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007851/0.2211, allocations: 169.9 kB / 0.9827 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.2211, allocations: 3.953 kB / 0.9827 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.2211, allocations: 0 / 0.9827 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2211, allocations: 0 / 0.9827 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002335/0.2214, allocations: 201.5 kB / 0.9829 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2214, allocations: 0 / 0.9829 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002898/0.2217, allocations: 35.97 kB / 0.983 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.2217, allocations: 0 / 0.983 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.2218, allocations: 4 kB / 0.983 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.2218, allocations: 0 / 0.983 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.2218, allocations: 3.953 kB / 0.983 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007464/0.2225, allocations: 263.3 kB / 0.9832 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.264e-05/0.2226, allocations: 85.02 kB / 0.9833 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.2226, allocations: 4 kB / 0.9833 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002594/0.2229, allocations: 23.97 kB / 0.9833 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.223, allocations: 23.92 kB / 0.9834 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.223, allocations: 8 kB / 0.9834 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.634e-05/0.2231, allocations: 91.27 kB / 0.9835 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2231, allocations: 0 / 0.9835 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003405/0.2235, allocations: 12 kB / 0.9835 GB, free: 22.66 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.000983/0.2245, allocations: 0.7904 MB / 0.9842 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000738/0.2252, allocations: 131.9 kB / 0.9844 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2252, allocations: 0 / 0.9844 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003692/0.2256, allocations: 75.89 kB / 0.9844 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.2259, allocations: 4.766 kB / 0.9844 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001998/0.2279, allocations: 0.6557 MB / 0.9851 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001544/0.2281, allocations: 0.6977 MB / 0.9858 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001303/0.2283, allocations: 12.17 kB / 0.9858 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.2284, allocations: 27.61 kB / 0.9858 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of SimCode: time 1.343e-06/0.2284, allocations: 0 / 0.9858 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02008/0.2485, allocations: 2.222 MB / 0.988 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001703/0.2487, allocations: 186.5 kB / 0.9881 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.557/2.806, allocations: 0 / 0.9881 GB, free: 17.83 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Min.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1)