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.001439/0.001439, allocations: 105.4 kB / 15.7 MB, free: 24 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.001756/0.001756, allocations: 196.6 kB / 16.64 MB, free: 6.453 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.484/1.484, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.657/1.657, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001396/0.001396, allocations: 74.97 kB / 0.6718 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2308, allocations: 114.6 MB / 0.7837 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002177/0.2331, allocations: 0.7748 MB / 0.7844 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009231/0.234, allocations: 0.8671 MB / 0.7853 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.025e-05/0.2341, allocations: 0 / 0.7853 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.397e-05/0.2341, allocations: 7.875 kB / 0.7853 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.406e-05/0.2342, allocations: 3.938 kB / 0.7853 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001608/0.2343, allocations: 43.89 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.2345, allocations: 87.81 kB / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.2346, allocations: 23.98 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.749e-05/0.2347, allocations: 39.84 kB / 0.7855 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.028e-05/0.2348, allocations: 55.75 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.628e-05/0.2348, allocations: 8 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.623e-05/0.2348, allocations: 8 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.048e-05/0.2349, allocations: 15.98 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.12e-05/0.2349, allocations: 35.78 kB / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.2351, allocations: 91.94 kB / 0.7857 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.2351, allocations: 4 kB / 0.7857 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2351, allocations: 0 / 0.7857 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.2351, allocations: 4 kB / 0.7857 GB, free: 11.16 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.0006458/0.2358, allocations: 391.1 kB / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.2358, allocations: 8.031 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.326e-05/0.2359, allocations: 38.75 kB / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.535e-05/0.2359, allocations: 12.78 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.2361, allocations: 180.2 kB / 0.7863 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.2361, allocations: 4.375 kB / 0.7863 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.2362, allocations: 8.375 kB / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003164/0.2365, allocations: 106.2 kB / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.2365, allocations: 3.938 kB / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.2365, allocations: 4 kB / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.2365, allocations: 4 kB / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000375/0.2369, allocations: 107.8 kB / 0.7865 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005028/0.2374, allocations: 336.7 kB / 0.7868 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006273/0.2381, allocations: 118.5 kB / 0.7869 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/0.2383, allocations: 60.81 kB / 0.787 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.2383, allocations: 0 / 0.787 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.2383, allocations: 34.55 kB / 0.787 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.2383, allocations: 0 / 0.787 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0006675/0.239, allocations: 181.5 kB / 0.7872 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.239, allocations: 51.41 kB / 0.7873 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.749e-05/0.2391, allocations: 125.7 kB / 0.7874 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.2392, allocations: 29.7 kB / 0.7874 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.065e-05/0.2392, allocations: 96.02 kB / 0.7875 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.2393, allocations: 27.64 kB / 0.7875 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.338e-05/0.2393, allocations: 21.7 kB / 0.7875 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.2394, allocations: 326.8 kB / 0.7879 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.2396, allocations: 43.95 kB / 0.7879 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.2398, allocations: 43.95 kB / 0.7879 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000355/0.2402, allocations: 105.2 kB / 0.788 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2402, allocations: 0 / 0.788 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003999/0.2406, allocations: 133.5 kB / 0.7882 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.2406, allocations: 4 kB / 0.7882 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.2406, allocations: 4 kB / 0.7882 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.2406, allocations: 0 / 0.7882 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.2408, allocations: 31.91 kB / 0.7882 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.2408, allocations: 4 kB / 0.7882 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.241, allocations: 19.92 kB / 0.7882 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-06/0.241, allocations: 0 / 0.7882 GB, free: 8.309 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.882e-05/0.2411, allocations: 117.8 kB / 0.7883 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.307e-05/0.2411, allocations: 11.89 kB / 0.7883 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004686/0.2416, allocations: 149.9 kB / 0.7885 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.2416, allocations: 4 kB / 0.7885 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.2416, allocations: 0 / 0.7885 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2416, allocations: 3.938 kB / 0.7885 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000204/0.2418, allocations: 197.5 kB / 0.7887 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2418, allocations: 3.938 kB / 0.7887 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.242, allocations: 27.97 kB / 0.7887 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.242, allocations: 4 kB / 0.7887 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.242, allocations: 4 kB / 0.7887 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.242, allocations: 0 / 0.7887 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.242, allocations: 0 / 0.7887 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004648/0.2425, allocations: 235.3 kB / 0.7889 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.097e-05/0.2426, allocations: 85.09 kB / 0.789 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.37e-05/0.2426, allocations: 8 kB / 0.789 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.2427, allocations: 15.92 kB / 0.7891 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.693e-05/0.2428, allocations: 19.97 kB / 0.7891 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.2429, allocations: 7.938 kB / 0.7891 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.187e-05/0.2429, allocations: 95.64 kB / 0.7892 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2429, allocations: 4 kB / 0.7892 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002298/0.2432, allocations: 23.84 kB / 0.7892 GB, free: 7.211 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.00079/0.244, allocations: 0.7593 MB / 0.7899 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004118/0.2444, allocations: 107.8 kB / 0.79 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2444, allocations: 0 / 0.79 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002012/0.2446, allocations: 59.95 kB / 0.7901 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.2449, allocations: 11.98 kB / 0.7901 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/0.2469, allocations: 1.551 MB / 0.7916 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.2472, allocations: 0.6885 MB / 0.7923 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.494e-05/0.2472, allocations: 15.98 kB / 0.7923 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.268e-05/0.2473, allocations: 31.42 kB / 0.7923 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2473, allocations: 0 / 0.7923 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01785/0.2652, allocations: 2.668 MB / 0.7949 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.605/7.871, allocations: 18.5 kB / 0.795 GB, free: 1.262 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-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)